Setting up a VNC connection

From Brain Mapping Unit
Revision as of 15:00, 17 January 2012 by lr344 (talk | contribs) (Created page with "To set up a session, first ssh into iron: ssh xx11@bcni.psychol.cam.ac.uk Once in to iron you can ssh into any of the bcni machines, i.e. bcni2 ssh bcni2 Once in to your bcni...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

To set up a session, first ssh into iron:

ssh xx11@bcni.psychol.cam.ac.uk

Once in to iron you can ssh into any of the bcni machines, i.e. bcni2

ssh bcni2

Once in to your bcni machine you can see which VNC sessions you have. Type

cd .vnc

which will list you sessions active. To start a new session type

vncserver -depth 24 -geometry 1920x1080

(Note the "geometry" indicates the display settings of your computer; change appropriately).

If you want to kill an old session type

vcnserver -kill :3

(This kills no. 3 session).

Once you have set up your session, log out from bcnix and then from iron. To launch a VNC viewer (i.e. ChickenOfTheVNC), type;

ssh xx11@bcni.psychol.cam.ac.uk -L 5901:bcni2:590x

where "x" is the number of the vac session you established.

Note after server-crashes you have to kill previous sessions and set up new ones.