[SOLVED] Remmina Remote Desktop Client

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
User avatar
JerryF
Level 10
Level 10
Posts: 3451
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

[SOLVED] Remmina Remote Desktop Client

Post by JerryF » Sun Nov 18, 2018 6:15 pm

Hello all,

To preface, I set up my partner's desktop with Mint 19 Xfce. He had (and still does have on a separate disk) 18.3 Cinnamon.

I installed Remmina a few weeks ago and was able to connect easily to the desktop (18.3 Cinnamon) from my laptop (19 Xfce). I used the VNC option by typing in the desktop's IP address.

Now that the desktop is running 19 Xfce, I can no longer connect to it. From the laptop's Remmina, when I click on "Browse the network to find a VNC server", the desktop does not show, only the laptop. From the desktop's Remmina, it is the same result---the desktop does not show, only the laptop.

Even if I type in the desktop's IP address (which was what I had been using when it worked), Remmina won't connect.

The desktop can connect to the laptop using Remmina.

I can ping both computers each way. Turning off the firewall doesn't help either.

Can anyone help?

Thanks.
Last edited by JerryF on Wed Nov 21, 2018 7:10 pm, edited 2 times in total.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

Neil Edmond
Level 5
Level 5
Posts: 904
Joined: Thu Dec 26, 2013 10:19 am
Location: N.E. AR USA

Re: Remmina Remote Desktop Client

Post by Neil Edmond » Sun Nov 18, 2018 6:27 pm

Not sure about this, but I seem to recall reading that Mint 19 no longer includes a VNC server by default. If that is true, the simple fix would be to install one.

User avatar
JerryF
Level 10
Level 10
Posts: 3451
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Remmina Remote Desktop Client

Post by JerryF » Sun Nov 18, 2018 6:31 pm

Neil Edmond wrote:
Sun Nov 18, 2018 6:27 pm
Not sure about this, but I seem to recall reading that Mint 19 no longer includes a VNC server by default. If that is true, the simple fix would be to install one.
Thanks for the reply. Forgot to mention that the desktop can connect to the laptop. So, this begs the question: why can the desktop connect to the laptop but not the other way around?
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

Neil Edmond
Level 5
Level 5
Posts: 904
Joined: Thu Dec 26, 2013 10:19 am
Location: N.E. AR USA

Re: Remmina Remote Desktop Client

Post by Neil Edmond » Sun Nov 18, 2018 8:27 pm

Oh...well...dunno. I guess that blows my theory. I don't really know much about the subject, though I have used VNC for remote desktop and it's performance was/is stellar, I just don't like the way it handles multiple monitors. So I have switched, almost exclusively, to AnyDesk... much more flexible.

User avatar
smurphos
Level 8
Level 8
Posts: 2233
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: Remmina Remote Desktop Client

Post by smurphos » Mon Nov 19, 2018 12:00 am

Neil Edmond wrote:
Sun Nov 18, 2018 8:27 pm
Oh...well...dunno. I guess that blows my theory.
No Neil you are absolutely right. The host machine needs a VNC server and the client needs a VNC client. Remmina is the client. On Mint 18.3 Vino is pre-installed as the server (Desktop Sharing in the menu).

On Mint 19 there is no pre-installed VNC server so that machine will need one set up and installed.

viewtopic.php?f=157&t=272337

Why no VNC server in 19? - Gnome made Vino much harder to use outside of the Gnome3 desktop.

User avatar
JerryF
Level 10
Level 10
Posts: 3451
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Remmina Remote Desktop Client

Post by JerryF » Mon Nov 19, 2018 10:38 am

Hi smurphos,

Thanks for the link. There were a couple of solutions so I'm not sure which.

Should I set up vino or x11vnc?
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
JerryF
Level 10
Level 10
Posts: 3451
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Remmina Remote Desktop Client

Post by JerryF » Wed Nov 21, 2018 6:54 pm

I was making some headway. I installed x11vnc using this guide:

https://help.ubuntu.com/community/VNC/Servers

I followed this section and performed these commands to see if I could connect:

Code: Select all

x11vnc -storepasswd
It will respond with:

Code: Select all

Enter VNC password:
Verify password:
Write password to /home/USERNAME/.vnc/passwd?  [y]/n y
Password written to: /home/USERNAME/.vnc/passwd
I then ran:

Code: Select all

x11vnc
When I did this, the laptop was able to connect to the desktop. So I continued setting up the service to run automatically when booting:

Have x11vnc start automatically via systemd in any environment (Vivid+)

Code: Select all

sudo nano /lib/systemd/system/x11vnc.service
Entered this into nano and wrote out, then exited nano
[Unit]
Description=Start x11vnc at startup.
After=multi-user.target

[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared

[Install]
WantedBy=multi-user.target

Then ran:

Code: Select all

sudo systemctl daemon-reload
sudo systemctl enable x11vnc.service
The service runs on both computers. Then when I try to connect to either the desktop or laptop, Remmina prompts me with a password.

I enter the password I set up with

Code: Select all

x11vnc -storepasswd
but it gets rejected "Authentication failed. Trying to reconnect..."

Argggh!
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
JerryF
Level 10
Level 10
Posts: 3451
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Remmina Remote Desktop Client

Post by JerryF » Wed Nov 21, 2018 7:09 pm

I found my mistake!

For the service to start, I forgot to change /home/USERNAME/.vnc/passwd to the actual user's name.

Code: Select all

ExecStart=/usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared
Now Remmina works!
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
smurphos
Level 8
Level 8
Posts: 2233
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: [SOLVED] Remmina Remote Desktop Client

Post by smurphos » Wed Nov 21, 2018 11:48 pm

Sorry for the delayed reply - glad you got it up and running..

User avatar
JerryF
Level 10
Level 10
Posts: 3451
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: [SOLVED] Remmina Remote Desktop Client

Post by JerryF » Thu Nov 22, 2018 9:54 am

Thanks to your advice about x11vnc I got it going.

It's unfortunate that something like this has to be difficult.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

Post Reply

Return to “Other networking topics”