en:praktikum:zugang

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:praktikum:zugang [2024/02/21 09:40] rhainichen:praktikum:zugang [2024/04/08 13:39] (current) – [Logging in via Remote Desktop Protocol] rhainich
Line 4: Line 4:
 The analysis of the data obtained within the scope of the laboratory courses can either be done from your computer at home or directly at our laboratory computer after previous date arrangement. The analysis of the data obtained within the scope of the laboratory courses can either be done from your computer at home or directly at our laboratory computer after previous date arrangement.
  
-===== External Login by SSH =====+ 
 +===== External Login =====
 The remote analysis of the data can be done in the computer pool at the physic institute or at your home computer with internet access.  The remote analysis of the data can be done in the computer pool at the physic institute or at your home computer with internet access. 
  
Line 14: Line 15:
  
 ==== Linux / Unix ==== ==== Linux / Unix ====
-Since the computers in the astrophysics are all operated with Linux, it's easy to log in from another computer with the same operating system. So you can do the complete evaluation from distance by logging in with a normal SSH connection on our laboratory computer. This also works for graphical output (i.e. view ''FITS'' files or text editors), but the performance crucially depends on the connection speed. In the computer pool at the university this is no problem but with a connection at home the speed may be low. +Since the computers in the astrophysics are all operated with Linux, it's easy to log in from another computer with the same operating system. So you can do the complete evaluation from distance by logging in with a normal [[https://en.wikipedia.org/wiki/Secure_Shell | SSH]] connection on our laboratory computer. This also works for graphical output (i.e. view ''FITS'' files or text editors), but the performance crucially depends on the connection speed. In the computer pool at the university this is no problem but with a connection at home the speed may be low. 
  
 Login in the console with this command: Login in the console with this command:
Line 21: Line 22:
  
 **alpha** is given here as an example and must be replaced by the corresponding group name. You will be asked for the password. The parameter **-X** (capital X) ensures that graphical output will be transferred so it can be displayed. **alpha** is given here as an example and must be replaced by the corresponding group name. You will be asked for the password. The parameter **-X** (capital X) ensures that graphical output will be transferred so it can be displayed.
 +
  
 === Alternative: Xpra === === Alternative: Xpra ===
Line 89: Line 91:
  
 After clicking on ''OK'' you can start the connection to **a12** by double clicking on the corresponding session entry in the main window of //X2Go//. Only the password for the respective account will be requested before the connection is established. The window that opens shows the MATE desktop, on which you can work as if you were sitting directly at the computer. After clicking on ''OK'' you can start the connection to **a12** by double clicking on the corresponding session entry in the main window of //X2Go//. Only the password for the respective account will be requested before the connection is established. The window that opens shows the MATE desktop, on which you can work as if you were sitting directly at the computer.
-===== Internal Login ===== 
-The computer for the laboratory courses shall be used for data reduction. It is in room 2.009 in the Institute in Golm and can be booked, i.e. request a timeslot by email.  
  
-These timeslots are already booked: {{page>deng:praktikum:a12:reservation}}+<fc #ff0000>Attention Wayland users:</fc> Under Wayland, it is possible that the current client does not work properly and simply crashes when logging in, in this case it may help to start the client from the command line with 
 + 
 +    env QT_QPA_PLATFORM=xcb x2goclient 
 + 
 +=== Logging in via Remote Desktop Protocol === 
 + 
 +<WRAP center round important 60%> 
 +This method is in beta stage 
 +</WRAP> 
 + 
 +In addition to the methods described above, you can also log in to a12 using the RDP protocol. The protocol developed by Microsoft is very performant and offers the possibility of displaying the entire desktop without any major loss of speed.  There is a free implementation for Linux, so we can also use this with a12. However, since RDP is not considered the most secure method, you must first establish an SSH tunnel to a12 before you can connect to the RDP server.  
 + 
 +Under Linux, [[https://remmina.org/ | Remmina]] can be used for this, which can be installed in the vast majority of distributions via the package sources if it is not already supplied with the distribution.    
 + 
 +<WRAP group> 
 +<WRAP half column> 
 + 
 +== Configuration instructions Linux== 
 + 
 +  * After Remmina has been started, click on the plus symbol in the top left corner. 
 +  * This opens the configuration dialog 
 +  * Enter the following or activate the corresponding option: 
 +    - Name for the configuration 
 +    - Server address: 127.0.0.1:3389 
 +    - User name 
 +    - Password 
 +    - ''Use client resolution'' 
 +  * Then click on ''SSH Tunnel'' and add the following configuration or enable the corresponding option: 
 +    - ''Enable SSH tunnel''
 +    - ''Custom'' 
 +    - Server address: a12.astro.physik.uni-potsdam.de 
 +    - Username 
 +    - Password 
 +  * Then finish the configuration by clicking on ''Save and Connect''
 +  * Remmina will then connect to a12 
 +  * If you are satisfied with the connection speed, you can increase the quality of the connection in the ''Advanced'' tab. 
 +  * After saving the configuration, you will find it under the name you entered in the list that Remmina displays when the program starts. Doubleclick on the entry to easily connect to the a12. 
 + 
 +</WRAP> 
 +<WRAP half column>
 +[{{ost:software:remmina_rdp_initial.jpg|}}] 
 +</WRAP> 
 +</WRAP> 
 + 
 +<WRAP group> 
 +<WRAP half column> 
 +[{{ost:software:remmina_rdp_basic_setup.jpg| Basic setup}}] 
 +</WRAP> 
 +<WRAP half column> 
 +[{{ost:software:remmina_rdp_ssh_tunnel.jpg| SSH tunnel}}] 
 +</WRAP> 
 +</WRAP> 
 + 
 +<WRAP group> 
 +<WRAP half column> 
 +[{{ost:software:remmina_rdp_advanced_setup.jpg| Additional options}}] 
 +</WRAP> 
 +<WRAP half column> 
 +[{{ost:software:remmina_rdp_final.jpg| }}] 
 +</WRAP> 
 +</WRAP> 
 + 
 +<WRAP group> 
 +<WRAP half column> 
 +**Configuration Instructions for Windows 11:**  
 +  * On Windows, you must first set up the SSH tunnel before you can use the Windows RDP client because it does not provide this functionality itself. 
 +  * To do this, you must first open a PowerShell window. 
 +  * In this window, type the command ''ssh -L 3399:127.0.0.1:3389 alpha@a12.astro.physik.uni-potsdam.de''. Replace ''alpha'' with the appropriate group name.  
 +  
 +[{{ost:software:power_shell_ssh-tunnel.jpg| PowerShell with SSH tunnel command }}
 + 
 +  * You can then start the RDP client and enter the following configuration or enable the appropriate option: 
 +    - Computer: ''localhost:3399'' 
 +    - User name 
 +    - ''Allow me to save credentials'' (optional) 
 +  * It may be necessary to click on ''Show Options'' first. 
 +  * Click on ''Connect'' to establish the connection. The password prompt will follow. 
 +</WRAP> 
 +<WRAP half column> 
 +[{{ost:software:windows_rdp_client_setup.jpg| RDP Windows Client}}] 
 +</WRAP> 
 +</WRAP>
  
 ===== External Login from the computer pool in the Physics Institute ===== ===== External Login from the computer pool in the Physics Institute =====
 Also the Linux computers in the computer pool of the Physics Institute (room 2.28.1.101) can be used to login on the lab computer. See the description here: [[en:praktikum:zugang#linux_unix|Linux]]. The computers share the fast internet access of the University and so the transfer rate, i.e. for graphical output it is sufficient to work. To get an account for the computer pool, ask Mr H. Todt (room 2.28.2.004). Also the Linux computers in the computer pool of the Physics Institute (room 2.28.1.101) can be used to login on the lab computer. See the description here: [[en:praktikum:zugang#linux_unix|Linux]]. The computers share the fast internet access of the University and so the transfer rate, i.e. for graphical output it is sufficient to work. To get an account for the computer pool, ask Mr H. Todt (room 2.28.2.004).
 +
 +
 +===== Working directly on the data reduction computer =====
 +The computer for the laboratory courses shall be used for data reduction. It is in room 2.009 in the Institute in Golm and can be booked, i.e. request a timeslot by email. 
 +
 +These timeslots are already booked: {{page>deng:praktikum:a12:reservation}}
 +
  
 ===== Linux Sheet Paper ===== ===== Linux Sheet Paper =====
 This [[http://www.cheat-sheets.org/saved-copy/fwunixref.pdf|pdf file]] list the absolutely basic commands for a Linux console. The [[http://cli.learncodethehardway.org/bash_cheat_sheet.pdf|Bash Cheat Sheet]] contains some further commands. This [[http://www.cheat-sheets.org/saved-copy/fwunixref.pdf|pdf file]] list the absolutely basic commands for a Linux console. The [[http://cli.learncodethehardway.org/bash_cheat_sheet.pdf|Bash Cheat Sheet]] contains some further commands.
 +
  
 ===== Access to files by SFTP ===== ===== Access to files by SFTP =====
  • en/praktikum/zugang.1708508458.txt.gz
  • Last modified: 2024/02/21 09:40
  • by rhainich