VNC
Using VNC on Windows
Setup
Setting up the programs to connect to a VNC server is not too difficult. You will, however, need to download two programs: a SSH client and a VNC client. The SSH client will make a secure connection between your computer and the VNC server and the VNC client will use this connection to draw a display on your screen.
Download and install a SSH client
In order to use VNC with your SSH client, your SSH client must provide port forwarding. Both Putty and Teraterm Pro will work. (Note: Putty only added this functionality recently, so if you have an old version you will want to upgrade.)
We have installation instructions for a SSH client available at http://www.cs.vassar.edu/SysNews/ssh/windows.html.
Download and install a VNC client
We recommend using TightVNC as your VNC client because it comes with several features over the official VNC client. TightVNC uses a "tight" encoding by default which efficiently compresses the information which updates your display.
- Download the TightVNC Viewer binary for Windows from the TightVNC download page: http://www.tightvnc.com/download.html.
- Open the downloaded TightVNC Viewer archive. It will create a new folder with the vncviewer program inside.
Connecting
Every time you want to make a VNC connection, you must forward a port with your SSH client and then open a session with your VNC client.
Port Forwarding - Putty
- Run PuTTY.
- In "Basic options for your Putty Session", enter the host name,
vnc.cs.vassar.edu, and choose the "SSH" protocol. Do not "Open" this connection just yet. - On the left, find and select the category "Connection - SSH - Tunnels".
- In the section "Add new forwarded port:", set the "Source Port" to
5901and set the "Destination" tovnc.cs.vassar.edu:5995. Choose "Local" for this connection if it is not already the default, and click "Add". - Open the connection and log in. Leaving PuTTY open, start a VNC session.
Port Forwarding - Teraterm
- Open Teraterm Pro by running
ttssh. Teraterm will ask you to make a new connection. Hit "Cancel". - Select "SSH Forwarding..." from the "Setup" menu.
- Click "Add" and fill in "Forward local port '5901' to remote machine 'vnc.cs.vassar.edu' port '5995'".
- Choose 'Ok' to get back to the main, blank, Teraterm window.
- Choose "New Connection" from the "File" menu. Connect to host 'vnc.cs.vassar.edu' using the 'SSH' service.
- Leave Teraterm open and start a VNC session according to the next session. (It's fine to minimize Teraterm, of course.)
VNC Session
- Run the VNC client, vncviewer.
- Enter
localhost:1for the vnc server to connect with. - A graphical login screen should appear. Log in and start work.
- When you are finished, just log out of your Unix session as you normally would, close the VNC client program, and exit from your SSH session.

0 Comments:
Post a Comment
<< Home