Ubuntu 11.04 with x11vnc for remote control PDF Print E-mail
User Rating: / 1
PoorBest 
Written by Bart Dorlandt   
Monday, 27 June 2011 13:44

To enable remote control i've set up VNC over SSH. We want it to be secure of course...

I have it setup so it will automatically start when GDM starts.

  1. sudo vi /etc/gdm/Init/Default
    1. add "x11vnc -localhost -rfbport 5900 -rfbauth "/root/.vnc/passwd" -o /var/log/x11vnc.log -forever -bg" just before "exit 0"
  2. sudo x11vnc -storepasswd /root/.vnc/passwd
    1. Enter the password you want
  3. sudo service gdm restart
Now you can setup a SSH tunnel and connect your vncviewer to your localhost on the port you've forward.

 


Related items: