Graphical Remote Login with xrdp

From IT Service Wiki
Revision as of 10:19, 20 March 2020 by Bremer (talk | contribs)
Jump to: navigation, search

Attention!! This article is still in progress!


If you are using a Linux desktop system or Windows 10, then you remotely login into a Linux session on our main login server zeta. For macOS this should work similar to Linux, but is not tested.

To use this service you first need to connect to our VPN. For openvpn this is described here [1] and for the use with Networkmanager here [2].

If you disconnect from a xrdp session (on purpose or by a network error), you can reconnect to the same session in the next 24 hours. To completely end a session you need to log out inside of your xrdp session instead of interrupting the connection. All session, which are not connected for over 24 hours, are automatically terminated.

Connect using remmina (Linux, macOS)

If it is not already installed on your system, install the xrdp client remmina (sudo apt-get install remmina). Other clients like vinagre should work to.

Before you can connect with remmina, you need to establish a vpn-connection to itp.

Open remmina.

In remmina do not directly connect, as the connection does not work with the standard settings. Instead click on the plus sign in the upper left corner to set a new connection.

Remmina1.png

In the new window choose a 'Name' for your connection and in the line 'Server' you need to enter 'zeta'. Choose a custom resolution.

Remmina2.png

In the section 'Colour depth' you need to choose another entry. The options 'GFX AVC444' and 'GFX AVC420' do not work. Choose one of the other options.

Remmina3.png

After saving your setting, should have a new entry in your remmina main screen. Double click on this new entry to connect to establish the xrdp connection.

Remmina4.png

After a few seconds you should get the following login screen.

Remmina5.png

Now you can log into a graphical session running on the login server zeta. This normally start a gnome session. If you want another window manager please read the corresponding section on this page further down.

Set the window manager

The window cannot be set by a menu. Instead it is set bin the content of the file '.xsession' in your home directory of your itp-account. Most likely this file does not exist in your account. If you connect to xrdp without this file in your home directory, then (before starting the window manager) this file is created such that gnome is started as window manager.

You can manually override your '.xsession' to choose another window manager. Here a list of supported window managers and which needs to be the content of the '.xsession':

gnome: gnome-session

kde: startkde

xfce: xfce4-session

lxsession: lxsession -s LXDE -e LXDE