Rdesktop & Tunneling from Linux
Connecting to Windows Systems from outside the University
You may want to use rdesktop to connnect to your Chemistry windows system from a linux system at home or elsewhere.
This can be done by setting up an ssh tunnel via tunnel.chm.bris.ac.uk. Replace <chm-sys> with the name of your windows system. Replace <username> with your UOB username. 3389 is the usual port used by rdesktop.
Login to tunnel.chm with the command:
- ssh -L 3388:<chm-sys>:3389   <username>@tunnel.chm.bris.ac.uk
This sets up the tunnel from your local linux system to your Chemistry windows system. Then open a new ssh window on your LOCAL linux system and type the command:
- rdesktop  localhost:3388
An rdesktop window connected to your Chemistry windows system should then open.
Connecting to Linux Systems from outside the University
You can connect to Linux systems and open X terminal windows on your own system by connecting first to tunnel.chm, then from there to the target system. Ensure that you use the -X parameter both times.
- ssh -X <chem username>@tunnel.chm.bris.ac.uk
- ssh -X <target system>
If you want to connect using vnc, you can tunnel the connection as above. VNC uses a default port number of 5900+<display no.>, the display number is usually 1 for linux systems. We will use a virtual display of localhost:9, tunneled to target-system:1
- ssh -L 5909:<target system>:5901   <username>@tunnel.chm.bris.ac.uk
- Then, in a new ssh window: vncviewer localhost:9
Connecting from Windows systems outside the University
Connecting to Windows systems: Please see sshrdp to remote control your desktop pc
Connecting to Linux systems: Please see Secure Shell (SSH) Logins, connect via tunnel.chm.bris.ac.uk as described above. To use vnc, you can adapt these instructions with relevant port numbers.