2007-03-16, 12:08 PM
I couldnt get this method working on Debian Etch but this is how I eventually got it working with help from P38.
HOST MACHINE
first uninstall any vnc server you might have running
apt-get install x11vnc <-- this is the vnc server
CLIENT MACHINE
ssh -L 5900:localhost:5900 user@remotehost.com <-- this setups up the ssh tunnel from the client machine to the host machine
once you are connected to the host machine start up the vncserver with
x11vnc
HOST MACHINE
open up a new terminal and type
vncviewer localhost::5900
you should now have open a VNC session what is being tunneled through ssh!