A Quick HowTo on x11vnc

  • Apr. 23rd, 2006 at 10:20 PM
Schumi, schumi
A quick follow-up to the last post...

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.

  1. emerge x11vnc tightvnc. Substituting tightvnc with vnc will do as well, but I like some security, which is made slightly easier using tightvnc.

  2. Run vncpasswd in your home directory. This creates a /home/shyam/.vnc/passwd and you will have to enter a password not longer than 8 characters in length, which I found a little surprising. Oh well.
  3. On home, run x11vnc -rfbauth /home/shyam/.vnc/passwd -display :0. Adjust display as required (0 or 1..)

  4. From remote run vncviewer home and 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 tightvnc it becomes very simple. All you need to do is vncviewer -via remote home and tightvnc sets 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 :)

Continuing with some useful stuff

  • Apr. 20th, 2006 at 3:17 PM
Naomi Watts
rsync is a lifesaver. x11vnc is nice to have around.

Latest Month

July 2009
S M T W T F S
   1234
567891011
12131415161718
19202122232425
262728293031 

Tags

Syndicate

RSS Atom
Powered by LiveJournal.com
Designed by Lilia Ahner