Wiki source code of Remote Desktop Zugang

Last modified by Thomas Walter Erbesdobler on 2023/06/29 16:08

Show last authors
1 {{toc/}}
2
3 You can access the BlackBox Workplace via xrdp and the Remote Desktop Protocols (RDP).
4
5 You just need a RDP client. Those are available for all usuall operating systems. You can find a list down below.
6
7 The client needs to be late enough to support certificate based authentification and modern cypher suites. (##ciphers AES+aRSA:AES+aECDH:AES+aECDSA##)
8
9 Because of this a ssh tunel is not further needed.
10 = Access Server =
11
12 You can access the informatic workplace, as it is accessible in the RechnerHallen, via
13
14 {{code}}
15 lxhalle.in.tum.de</blockquote>
16 {{/code}}
17
18 To access the mathematics workplace, as it is available on the BlackBox systems, is accessible via
19
20 {{code}}
21 ssh.ma.tum.de
22 {{/code}}
23
24 == Fingerprints ==
25
26 Depending on your client a visible certificate check is possible.
27
28 |=Zugangsserver|=Fingerprint
29 |lxhalle.in.tum.de|{{code language="none"}}4c:ee:c1:05:58:96:8f:8c:66:e6:42:5e:1a:b7:95:d2:c1:88:63:98{{/code}}
30 |ssh.ma.tum.de|{{code language="none"}}80:79:07:56:2f:c6:0b:67:a0:62:a6:f5:93:a8:5f:ac:09:3e:2a:93{{/code}}
31
32 = Session =
33
34 After verification of the server you have to provide your username and password to establish a session with you account.
35
36 This can either happen after connecting or your client ask for before that.
37 == Session restore ==
38
39 A session can be hold alive even if you aren't connected.
40
41 To achieve this use the xrdp-dis command or just close the window, please do not try to log out through menu {{html wiki="true"}}
42 <span > Apllication -> logout</span>
43 {{/html}} (Sometimes it's just closing it).
44
45 When you reconnect to your session it will be revived. This can happen from a completly different computer and also the resolution of the connection window will be adjusted.
46
47 = Executing applications multiple times =
48
49 You can execute software multiple times, like in different rdp session or if you are logged into your account directly and have a rdp session open. Be aware that not all applications support this. If you receive a notification that your application is already open you need to close it in the other user session so you can reopen it in the wanted session.
50
51 == Know problematic software ==
52
53 * Firefox
54 * Thunderbird
55 * Chromium
56 * Vivaldi
57 * LibreOffice
58
59 Those - and other - applications warn you if you want to open them multiple times as the same user. This warnings can be correct(if you have multiple sessions open) but can also be the result of a incomplete shutdown of the program. Some software also offers to clean up the program folders so the program can be started again.
60
61 Care: This can result to severe loss of data if the application is actually running!!
62
63 For Firefox and Thunderbird you can execute the scripts {{code}}repair_firefox.sh{{/code}} and {{code}}repair_thunderbrid.sh{{/code}}. Those clean up the locks that prohibit these to run multiple times.
64
65 = Troubleshooting =
66
67 == thinclinet_drives ==
68
69 Occasionally the Filemanager can show an error message when you try to find the home directory: {{code language="none"}}Failed to open directory ... thinclient_drives: Transport endpoint is not connected{{/code}}
70
71 This could happen when you have connected and disconnted the xrdp Server too often and does not release the directory thinclient_drives correctly. This Error could be fixed by giving the following command in the terminal:
72
73 {{code}}
74 $ fusermount -u ~/thinclient_drives
75 {{/code}}
76
77 The directory thinclient_drives will be used as File- and clipboardshare with the local computer (which is supported by the rdp client).
78
79 The directory thinclient_drives also need to be acceseable for everyone, which means execution right has to be given in order to unmount this. Please note this, when the home directory is protected. This could be the reason that the error message first occurred.
80
81 == immediately Log out from the application ==
82
83 If your application terminate immediately in spite of the correct password, you can log in to the remote desktop Server via ssh and the Sesion with killall Xorg manual terminate.
84
85 {{code}}
86 $ ssh <Remote Desktop Server>
87
88 ---
89
90 <remote Desktop Server>$ killall Xorg
91 {{/code}}
92
93 = Safety measures =
94
95 The RDP server authentificates itself by certificate to the client.
96
97 {{html wiki="true"}}
98 <span class='WYSIWYG_COLOR ' style='color:Red'>Care:</span>
99 {{/html}}
100
101 Notifications about an errand certificate should never be ignored. Check the fingerprint (look above)!
102
103 For access only TLSv1.1 and TLSv1.2 with following ciphers are allowed:
104
105 {{code language="none"}}openssl ciphers AES+aRSA:AES+aECDH:AES+aECDSA{{/code}}
106
107 Be sure the version of your RDP client support those.
108
109 = RDP Clients =
110
111 == macOS ==
112
113 [[Microsoft Remote Desktop>>https://apps.apple.com/de/app/microsoft-remote-desktop/id1295203466?l=en&mt=12]]
114 ** Version 10 doesn't show fonts in the login window. Not further problematic since it does need your account data in the config. The login window just gets shown if your data is wrong. You can also use the login without fonts. No other problems known.
115
116 == Linux ==
117
118 [[KRDC>>http://www.kde.org/applications/internet/krdc/]]
119 * [[Vinagre>>https://wiki.gnome.org/Apps/Vinagre/]]
120 * [[Remmina>>https://www.remmina.org/]] (Installed on the BlackBox)
121 ** For best performance configure ##RemoteFX (32 bpp)## as Color depth.
122
123 == Windows ==
124
125 The RDP client is preinstalled on Windows. Just search for **Remotedesktop connection** or **Remotedesktopverbindung**