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

  1. Run PuTTY
  2. In the tree on the left side, select Connection -> SSH -> Tunnels

  3. Put "5901" in the Source Port field

  4. Put "localhost:5901" in the Destination field

  5. Click the Local radio button

  6. Click the Add button to add the port forwarding.

  7. In the tree on the left side, select Session

  8. Enter the hostname of the machine you are accessing in the Host Name (or IP address) field.

  9. Click the SSH radio button if it is not selected.

  10. Enter the hostname of the machine you are accessing in the Saved Sessions field.

  11. Click the Save button to save these changes.

  12. Click the Open button to activate the session.

  13. The SSH session will come up. Log into the box.
  14. 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.

  15. On your Windows computer, start the VNC viewer program.
  16. Enter "localhost:1" in the Server field and click the OK button.

  17. 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:

  1. Run PuTTY
  2. 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.

  3. Click the Load button to load the settings.

  4. Click the Open button to activate the session.

  5. Continue as above after logging into the desktop box via SSH.

Using_VNC_on_Windows_to access_Linux_desktops (last edited 2009-01-27 21:32:11 by LanceBrown)