So you're stuck somewhere and badly need to help your dad with something on the computer at home. I've been in this situation quite a bit and well, I've usually ended up trying to troubleshoot over the phone with minimal success. Enter x11vnc. Here's a quick guide on getting it working on Gentoo.
remote denotes the box I'm using to reach my desktop on the machine home.
emerge x11vnc tightvnc. Substituting
vncwill do as well, but I like some security, which is made slightly easier using
vncpasswdin your home directory. This creates a
/home/shyam/.vnc/passwdand you will have to enter a password not longer than 8 characters in length, which I found a little surprising. Oh well.
- On home, run
x11vnc -rfbauth /home/shyam/.vnc/passwd -display :0. Adjust display as required (0 or 1..)
- From remote run
vncviewer homeand enter the password you setup when prompted. Voila, you're in and seeing the desktop now.
A couple of points:
- For VNC to work correctly, home has to have the X Display active. From what I've seen, when I vnc into home with X running but I'm on the console, the vnc display is all distorted.
- By default, VNC traffic is not secure. It is advisable to tunnel it over ssh if you're using it from an insecure network/across the internet. With
tightvncit becomes very simple. All you need to do is
vncviewer -via remote homeand
tightvncsets up the ssh tunnel automatically.
Missed Barcamp, but had a relaxing weekend for the most part. Schumi showed Alonso who the boss is and I'm extremely happy for him :)