Wednesday, May 2, 2007

VNC over SSH

VNC over SSH is one of the secure ways to remotely access computer desktop.

At the server side (the remote computer which you want to log to):
vncserver :64 -geometry 1024x768 -depth 16 -name user

At the viewer side (the local computer you are using now):
vncviewer -via 192.168.1.2 localhost:64

192.168.1.2 is the server' IP.

After you finish, kill the process at server:
vncserver -kill :64

No comments: