Setting up a VNC connection: Difference between revisions
(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...") |
No edit summary |
||
Line 30: | Line 30: | ||
Note after server-crashes you have to kill previous sessions and set up new ones. | Note after server-crashes you have to kill previous sessions and set up new ones. | ||
===Back To Main Page=== | |||
[[Main Page]] |
Latest revision as of 17:41, 25 January 2012
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.