Well, the link I provided went away so I will try to reproduce the details.
Basically, you need to do the following:
- apt-get x11vnc
- 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 - Reboot or issue the command:
restart lightdm
Page not found.
ReplyDeletedoesnt work:
ReplyDelete6/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.
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.
ReplyDeleteThis thread may help... http://ubuntuforums.org/showthread.php?t=1860295
ReplyDeleteIt does work, everything between script and end script are all on one line.
ReplyDelete