User Tools

Site Tools


manuals:bachelorservers:linux

This is an old revision of the document!


Connecting to a bach(elor) server from Linux

UNDER CONSTRUCTION

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.

Next, open x2goclient (download here if necessary). To log in for the first time, press New session. Give the session a name, enter localhost:12345 in Host and your username in Login. For the session type select MATE or XFCE. Under the tab Input/Output, you can set the size of the display. Press Ok when done.

Now double-click the session or enter the session name at Session:. Log in with your credentials and accept the key. Do not worry about the error appearing.

Alternatively, one can use remmina (Remmina Remote Desktop Client). 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.1581930567.txt.gz · Last modified: 2020/02/17 09:09 by intema