User Tools

Site Tools


manuals:bachelorservers:linux

This is an old revision of the document!


Connecting to a bach(elor) server from Linux

The easiest way to connect to a bachelor server from Linux is to use x2goclient (which can be downloaded here), which automatically uses an ssh tunnel to communicate the RDP protocol. First, open x2goclient.

Click on the New session icon to set up a new connection (see left image; click to enlarge).

Give the session a name and enter the host name in Host: (in this example, bach1.strw.leidenuniv.nl)

Provide your username in Login: and for the Session type at the bottom select either MATE or XFCE.

Under the Input/Output tab, you should set the size of the display. Press Ok when done.

Start the session by clicking on the session or enter the session name in Session:.

Log in with your credentials and accept any keys if necessary.

Alternatively, one can use remmina (Remmina Remote Desktop Client).

First, in a shell / terminal we open an ssh connection to the bach server of choice, and add an option (-L) to allow the xrdp protocol communication to pass through ssh, e.g.:

ssh -L 12345:localhost:3389 jklaassen@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 bach 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.

Open the application and press Create a new connection profile. Give the profile a name and select RDP as protocol. Enter the server name and set a suitable custom resolution. Initialise the session by pressing Save and Connect and accept the certificate.

manuals/bachelorservers/linux.1582103939.txt.gz · Last modified: 2020/02/19 09:18 by venemans