This page describes how to use VNC over SSH to access a DSS Linux desktop computer remotely from a Windows computer.
Assumptions
* User is using the PuTTY ssh client on Windows XP.
Howto
- Run PuTTY
In the tree on the left side, select Connection -> SSH -> Tunnels
Put "5901" in the Source Port field
Put "localhost:5901" in the Destination field
Click the Local radio button
Click the Add button to add the port forwarding.
In the tree on the left side, select Session
Enter the hostname of the machine you are accessing in the Host Name (or IP address) field.
Click the SSH radio button if it is not selected.
Enter the hostname of the machine you are accessing in the Saved Sessions field.
Click the Save button to save these changes.
Click the Open button to activate the session.
- The SSH session will come up. Log into the box.
Run the vncserver program to start the VNC server on the desktop. Answer the questions if this is the first time you've run it.
- On your Windows computer, start the VNC viewer program.
Enter "localhost:1" in the Server field and click the OK button.
Enter the password for your VNC server in the Password field and click the OK button.
You should now be connected to the VNC session.
To use this same setup again at a later date:
- Run PuTTY
Click the hostname of the desktop you want to acess from the list of saved sessions in the Load, save, or delete a stored session area of the PuTTY Configuration window.
Click the Load button to load the settings.
Click the Open button to activate the session.
- Continue as above after logging into the desktop box via SSH.