VNC Mini HOW-TO

VNC is installed in /import/pkg/vnc (Solaris) and /usr/bin (Linux).

The whole documentation is at http://www.realvnc.com/. Actually it's very simple:

1. Setup your vnc passwd

just run "vncpasswd".

2. Run vncserver on the remote host

Run "vncserver :n" where n is the display number. choose one that's not yet used by others. You can also omit ":n" and you will be assigned a free number.

Sometimes you can't run vncserver for some stupid X permission reason (/tmp/.X11-unix is already owned by others), then try "vncserver :n -nolisten local". If you use "-nolisten local", you'll not be able to use "vncserver -kill :n" to kill it; instead, you'll have to "kill pid" explicitly.

3. Run vncviewer on your local host to connect to the server

Just specify the hostname and display number on your vncviewer.


Hua Zhong
Revised: January 10, 2006 by Darrell Bethea.