Tuesday, September 18, 2007

Tight VNC tunneled over ssh

As written in my previous post, tightvnc was using far less bandwidth - only 100 kbps instead of 500 kbps for X over ssh. To sum up the setup, run on remote machine
vncserver :63 -geometry 1024x768 -localhost -depth 8
For linux client machine, add to ~/.bash_profile
VNC_VIA_CMD='/usr/bin/ssh -2 -c aes128-cbc -x -f -L %L:%H:%R %G sleep 20'
export VNC_VIA_CMD
Run client as
vncviewer -encodings Tight -depth 8 -quality 1 -via ip.address.of.remote localhost:63
where you should change ip.address.of.remote to the appropriate address, of course. And for Windows clients, Putty should have the tunneling set up as
L5963 localhost:5963

No comments:

Post a Comment