Remote VNC login to Ubuntu 12.04
2012.04.23
Installed x11vnc:
apt-get install x11vnc
Create /etc/init/x11vnc.conf file:
start on login-session-start
script
x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth /var/run/lightdm/root/:0 -forever -bg -o /var/log/x11vnc.log
end script
After restart, x11vnc shoud listen on vnc startard port – 5900.
Script is based on upstart event mechanism when Lightdm emits login-session-start event, x11vnc is started.
Reference: http://mlepicki.com/2011/10/remote-vnc-login-to-ubuntu-11-10/
Awesome article, I’ve tried everyone elses solutions to this issue and none worked, but this one worked perfectly as expected. Thanks!
Thanks, this worked straight away unlike other solutions to this I attempted.
Worked!!
Worked exactly as you wrote, brilliant.
Thanks
awesome, It worked.
Many thanks