I need to access a remote xenial machine with x11vnc sudo apt-get install lightdm x11vnc installed the necessary parts. Then, I created a password with
sudo x11vnc -storepasswd yourVNCpasswordHERE /etc/x11vnc.pass
and than I ran
sudo /usr/bin/x11vnc -xkb -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -rfbauth /etc/x11vnc.pass -forever -bg -rfbport 5901 -o /var/log/x11vnc/x11vnc.log
Now, when I connect to the remote machine (from a Mac, with Connect to server via
vnc://remote.server:5901
I get a login in screen with the user names on this machine, but I always get the error
Failed to start session
How can I make this work
x11vnc -create -many -auth guess -rfbauth ~/.vnc/passwd
I can connect from my client machine, I even can start lightdm wihsudo lightdm
, but I cannot see or access the lightdm desktop yet. – Erich Neuwirth May 8 '16 at 7:35