Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / BioFrontiers Workshops / Previous BioFrontiers Workshops / Short-read 2015 / Visualization information / Connection to a VNC session from PC

Connection to a VNC session from PC

Open putty on your PC.

Enter the settings seen below into the window. REMEMBER to use your assigned hostname. We will be initially creating a normal SSH session to your assigned machine where you will launch a VNC session.

assigned-hostname-putty

Once in your assigned host start your vnc server with the command:

vncserver :<last digit of assigned port> -localhost

Ex: vncserver :8 -localhost            -- Note space between vncserver and :

You will be asked to create a password for your VNC session. You can set it to anything you like but it must be at least 8 characters. The entire process is documented below.

vncserver-command-pc

At this point you will exit your putty session and reopen putty with the new tunneling settings as seen below. Click ssh in the left menu to expand options and select tunnels. Note its a good idea to save your settings to avoid reentering.

tunnel-1

Select the tunneling settings. Note your assigned port will be different here.

tunnel-2

Your window should be similar to this after clicking add.

tunnel-3

You can save these settings for easier use in the future.

tunnel-4

Once you have this completed, create the session (i.e. log on) and leave it running. You will need to leave this running as we are actually connecting to view your created VNC session over your SSH connection.

At that point open the Tightvnc program and use the settings below. NOTE: only use the last number of your assigned port.

start-tvnc

You will be prompted for the password you configured earlier in the creation of the VNC session. The number listed in your VNC Host entry will likely be different.

tvnc-pwd

 

At this point you have a desktop session open on your assigned machine and can use it as though it were your computer. If you see a window asking you to authenticate to download packages as root such as below, just click cancel.

package-cancel

 

This is Pacific Theme