Difference between revisions of "How to connect to a d2n VNC Session"

From Hall A Wiki
Jump to: navigation, search
Line 1: Line 1:
1) Build a tunnel from your machine through to jlabl3 (where the vncserver is running)
+
1) Build a tunnel from your machine through to jlabl2 (where the vncserver is running)
 
   Open a terminal window on your local computer and run:
 
   Open a terminal window on your local computer and run:
 
   % ssh <your-jlab-username>@login.jlab.org -L 2222:jlabl2.jlab.org:22
 
   % ssh <your-jlab-username>@login.jlab.org -L 2222:jlabl2.jlab.org:22
Line 11: Line 11:
 
   % vncviewer -Shared :7
 
   % vncviewer -Shared :7
 
   -!-> Make sure you include the '-Shared' option or you kick everyone else off.
 
   -!-> Make sure you include the '-Shared' option or you kick everyone else off.
   ---> The session password is something you shoulf know
+
   ---> Get from the person running the meeting.
  
  

Revision as of 11:02, 13 July 2011

1) Build a tunnel from your machine through to jlabl2 (where the vncserver is running)

 Open a terminal window on your local computer and run:
 % ssh <your-jlab-username>@login.jlab.org -L 2222:jlabl2.jlab.org:22

2) Now tunnel the vnc port through the tunnel from (1):

 Open another terminal window on your local computer and run:
 % ssh <your-jlab-username>@localhost -p 2222 -L 5907:localhost:5907

3) Now run your vncviewer and connect to the vnc session

 Open another terminal window on your local computer and run:
 % vncviewer -Shared :7
 -!-> Make sure you include the '-Shared' option or you kick everyone else off.
 ---> Get from the person running the meeting.


Mac OS X VNC client:

 'Chicken of the VNC' works well. It can be found here:
   http://sourceforge.net/projects/cotvnc/
 ---> First set up the tunnel chain as above in some terminal windows.
 In the VNC login window:
   Host           = localhost
   Display/Port   = 7
   -!-> Be sure to check the 'Shared Display' box


Windows:

 This can be done by using a couple of instances of PuTTY to handle the ssh
 tunnels and then using UltraVNC to connect to the VNC session.
 - I can write a walkthrough for this if there is demand but I'd prefer everyone
   just switch to using a fully functional OS like linux.  (I kid, I kid... ;-)