This is an old revision of the document!
The easiest way to open a session on one of the bachelor servers is to use the RDP client
x2go (download the relevant version here). To open a session, please follow the steps described in the tutorial for Linux machines. There is a bug when using
x2goclient from MacOS. A quick workaround is to first
ssh into the bachelor server (information here), open the file
.login in your home directory and comment out the line
rs (by putting a
# infront of it). Now
x2goclient should work.
An alternative way to open a graphics-based RDP session from MacOS is to use
Microsoft Remote Desktop (download here).
For security reasons you first have to open an
ssh connection to the bachelor server of choice. Open a terminal or xterm and start an
ssh session with the option
-L to allow the xrdp protocol communication to pass through SSH, for example:
ssh -L 12345:localhost:3389 -l <username> bach1.strw.leidenuniv.nl
Accept the key (only asked when connecting to a new server) and enter your password. What happens is that the internet protocol (IP) port on which RDP communication takes place (3389) is connected from the bachelor server through
ssh to IP port 12345 of your own computer (can effectively be any number >= 10000). Note that we don't need to include the -X option with ssh, as we do not require any X-windows communication.
Microsoft Remote Desktop.