User Tools

Site Tools


manuals:bachelorservers:linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manuals:bachelorservers:linux [2020/02/17 09:09] intemamanuals:bachelorservers:linux [2020/03/17 09:42] (current) intema
Line 1: Line 1:
 ==== Connecting to a bach(elor) server from Linux ==== ==== Connecting to a bach(elor) server from Linux ====
  
-**UNDER CONSTRUCTION**+The easiest way to connect to a bachelor server from Linux is to use ''x2goclient'' ([[https://wiki.x2go.org/doku.php/download:start|which can be downloaded here]]), which automatically uses an ssh tunnel to communicate the RDP protocol. Note that this application is installed on most Sterrewacht Linux computers. First, open ''x2goclient''.
  
-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.: +{{:manuals:bachelorservers:linux_x2go_newsession.png?50|}} Click on the ''New session'' icon to set up a new connection (see left image; click to enlarge).
-<code> +
-ssh -L 12345:localhost:3389 jklaassen@bach1.strw.leidenuniv.nl +
-</code> +
-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'' ([[https://wiki.x2go.org/doku.php/download:start|download here if necessary]]). To log in for the first time, press ''New session''Give the session a nameenter //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.+{{:manuals:bachelorservers:linux_x2go_host.png?50|}} Give the session a name and enter the host name in ''Host:'' (in this example, bach1.strw.leidenuniv.nl)
  
-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+{{:manuals:bachelorservers:linux_x2go_loginsession.png?50|}} Provide your username in ''Login:'' and for the ''Session type'' at the bottom select either ''MATE'' or ''XFCE''.
  
-Alternatively, one can use ''remmina'' ([[https://remmina.org/how-to-install-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 resolutionInitialise the session by pressing ''Save and Connect'' and accept the certificate+{{:manuals:bachelorservers:linux_x2go_loginsession.png?50|}} Under the ''Input/Output'' tab, you should set the size of the displayPress ''Ok'' when done.
  
 +{{:manuals:bachelorservers:linux_x2go_loginsession.png?50|}} Start the session by clicking on the session or enter the session name in ''Session:''.
 +
 +{{:manuals:bachelorservers:linux_x2go_credentials.png?50|}} Log in with your credentials and accept any keys if necessary. 
 +
 +Alternatively, one can use ''remmina'' ([[https://remmina.org/how-to-install-remmina/|Remmina Remote Desktop Client]]). 
 +
 +{{:manuals:bachelorservers:linux_remmina_newprofile.png?50|}} Open the application and press ''New connection profile'' in the upper left corner (see left image; click to enlarge). 
 +
 +{{:manuals:bachelorservers:linux_remmina_protocol.png?50|}} Give the profile a name and select ''RDP'' as protocol. 
 +
 +{{:manuals:bachelorservers:linux_remmina_server.png?50|}} Enter the server name and your username
 +
 +{{:manuals:bachelorservers:linux_remmina_resolution.png?50|}} Set a suitable custom resolution at ''Resolution''
 +
 +{{:manuals:bachelorservers:linux_remmina_ssh.png?50|}} To allow the communication to go through an ssh tunnel, go to the ''SSH Tunnel'' tab. Press ''Enable SSH tunnel'' and enter your username.
 +
 +{{:manuals:bachelorservers:linux_remmina_save.png?50|}} Initialise the session by pressing ''Save and Connect'' and enter your password. 
 +
 +-----
 +
 +[[:manuals:bachelorservers|Back]]
manuals/bachelorservers/linux.1581930567.txt.gz · Last modified: 2020/02/17 09:09 by intema