Tuesday, November 15, 2011

Remote VNC login to Ubuntu 11.10

I've been trying to get x11vnc to work like a server on Ubuntu 11.10 and finally found the following blog....

Well, the link I provided went away so I will try to reproduce the details.
Basically, you need to do the following:

  1. apt-get x11vnc
  2. create the file /etc/init/x11vnc.conf and add the following:
    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
  3. Reboot or issue the command:
    restart lightdm

Remote VNC login to Ubuntu 11.10

5 comments:

  1. Page not found.

    ReplyDelete
  2. doesnt work:


    6/11/2011 20:46:05 ***************************************
    26/11/2011 20:46:05 *** XOpenDisplay failed (:0)

    *** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.
    *** There may be "Xlib:" error messages above with details about the failure.

    ReplyDelete
  3. Well, it worked for me. Maybe if you provide more details like when or how you get this messages. I didn't have to do anything special to get it to work.

    ReplyDelete
  4. This thread may help... http://ubuntuforums.org/showthread.php?t=1860295

    ReplyDelete
  5. It does work, everything between script and end script are all on one line.

    ReplyDelete