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