1

I would like to perform a VNC remote desktop session with Remmina between two computers running Ubuntu 14.04 LTS. I am able to do this remote session when a user is already logged into Unity on the remote computer. However, if the computer has just booted and the Unity log in screen is visible (i.e. that a user hasn't logged in yet), I am unable to start the remote desktop session. This forces me to physically go to the remote computer and log in so I can start the remote desktop session.

A solution would be to configure users on the remote computer to automatically log in into Ubuntu, but I would like to avoid this since it is not a secure configuration.

Any ideas on how Remmina could start a VNC remote session even if no users are logged in on the remote machine ?

3
  • You can not with Remmina, you have to use an alternate VNC server.
    – Panther
    Jul 11, 2015 at 2:03
  • bodhi.zazen: is there any VNC you would recommend ? Jul 11, 2015 at 3:19
  • I do not use VNC much as IMO it is insecure and slow. I think vncserver will work the way you wish, tre askubuntu.com/questions/621313/…
    – Panther
    Jul 11, 2015 at 3:27

1 Answer 1

1

Remmina is the viewer; Vino is probably the server that you're using, Among other drawbacks, it is unable to run outside of a user session.

X11VNC is what you want. I find that the performance is also much better than Vino; for years, every time I try Vino, I always end up installing X11VNC.

There is a bit of config to be done to make it work right, but here are some skeleton notes on what I did with my last X11VNC installation:

Vino performance still stinks; installed X11VNC
    $ x11vnc -storepasswd
    /etc/init/x11vnc.conf:
        start on login-session-start
        script
        x11vnc -display :0 -auth /var/run/lightdm/root/:0 -loop -forever -safer -shared -ultrafilexfer -bg -o /var/log/x11vnc.log -rfbauth /home/charles/.vnc/passwd -rfbport 5900 -http -users charles -nowireframe
        end script
    Reboot and it's good to go.  Indestructible! Even survives desktop reconfig due to monitor unplugs, etc.
    (added -nowireframe later because the lack of visible icon when dragging files was annoying. Take off if it bogs id down on slow connections.)
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.