Tuesday, November 1, 2011

Ubuntu Unity 11.04 & 11.10 VNC server with X11vnc


  • Uninstall default VNC server:

sudo apt-get remove vino


  • Install x11vnc
sudo apt-get install x11vnc


  • Create /etc/init/x11vnc.conf for lightdm


sudo vi /etc/init/x11vnc.conf

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 -rfbauth /etc/x11vnc.pass -rfbport 5900

end script

  • Create a password with storepasswd option
x11vnc -storepasswd "password_enter_here" /etc/x11vnc.pass

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.