Both sides previous revision Previous revision Next revision | Previous revision |
en:praktikum:zugang [2024/04/08 13:39] – [Logging in via Remote Desktop Protocol] rhainich | en:praktikum:zugang [2024/12/06 09:40] (current) – [Access to the laboratory computer] rhainich |
---|
====== Access to the laboratory computer ====== | ====== Access to the laboratory computer ====== |
| |
| <WRAP center round info 60%> |
| From December 2024, to access the data reduction computer via SSH, you must first log in via VPN. The [[https://www.uni-potsdam.de/en/zim/angebote-loesungen/vpn | ZIM]] explains how to set up the VPN. Unfortunately the instructions are only available in German. If you have any questions about the VPN, please contact ZIM directly. |
| </WRAP> |
| |
{{section>deng:praktikum:a12:status#Laboratory computer&noheader}} | {{section>deng:praktikum:a12:status#Laboratory computer&noheader}} |
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. | There are two ways to analyse the data collected during the placement: 1. you can carry out the analysis directly on the computer called //columba// at our university by prior arrangement or 2. you can log on to this computer from your home computer and then carry out the data analysis from home. |
| |
===== External Login ===== | ===== 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 data can also be analysed remotely, both from the physics institute's computer pool and from a home computer with an internet connection. There are several ways of accessing the data, each with its own advantages and disadvantages. Credentials can be obtained from the supervisors or will be announced by email after the introduction: |
| |
User: alpha | User: alpha |
Password: is given in the seminar | Password: is given in the seminar |
| |
**alpha** is given here as an example and must be replaced by the corresponding group name. The password can also be obtained from the supervisors. | **alpha** is given here as an example and must be replaced by the corresponding group name. |
| |
==== Linux / Unix ==== | ==== Linux / Unix ==== |
Login in the console with this command: | Login in the console with this command: |
| |
<code>ssh -X alpha@a12.astro.physik.uni-potsdam.de</code> | <code>ssh -X alpha@columba.astro.physik.uni-potsdam.de</code> |
| |
**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. |
Alternatively you can log in with [[https://www.xpra.org/|Xpra]], which also communicates via //SSH//, but allows you to work with graphical output even with a poor internet connection. //Xpra// usually has to be installed from the package sources first. Once this is done, the following command establishes a connection to the laboratory computer | Alternatively you can log in with [[https://www.xpra.org/|Xpra]], which also communicates via //SSH//, but allows you to work with graphical output even with a poor internet connection. //Xpra// usually has to be installed from the package sources first. Once this is done, the following command establishes a connection to the laboratory computer |
| |
xpra start ssh:alpha@a12.astro.physik.uni-potsdam.de --ssh=ssh | xpra start ssh:alpha@columba.astro.physik.uni-potsdam.de --ssh=ssh |
| |
The command is not very different from the one above, except that here the beginning and the end are slightly different. **alpha** has to be replaced by the group name here as well. If the connection has been established successfully, a //Xpra// icon or menu usually appears on the desktop (under Ubuntu it can be found in the upper right corner next to the network/volume/battery indicator). This menu can be used to configure //Xpra// as well as, via the menu item ''Start'', to start programs directly on the laboratory computer. //Xpra// has the nice advantage that the windows integrate seamlessly into the local system. | The command is not very different from the one above, except that here the beginning and the end are slightly different. **alpha** has to be replaced by the group name here as well. If the connection has been established successfully, a //Xpra// icon or menu usually appears on the desktop (under Ubuntu it can be found in the upper right corner next to the network/volume/battery indicator). This menu can be used to configure //Xpra// as well as, via the menu item ''Start'', to start programs directly on the laboratory computer. //Xpra// has the nice advantage that the windows integrate seamlessly into the local system. |
Furthermore it offers the possibility to disconnect from the //Xpra// session without ending it by using the menu button ''Disconnect''. This allows you to interrupt the session at any point and continue it later. All that is needed is the following console command: | Furthermore it offers the possibility to disconnect from the //Xpra// session without ending it by using the menu button ''Disconnect''. This allows you to interrupt the session at any point and continue it later. All that is needed is the following console command: |
| |
xpra attach ssh:alpha@a12.astro.physik.uni-potsdam.de --ssh=ssh | xpra attach ssh:alpha@columba.astro.physik.uni-potsdam.de --ssh=ssh |
| |
The //Xpra// session is terminated with: | The //Xpra// session is terminated with: |
First install the server Xming, which optimally should be incorporated in the Windows autostart list. PuTTY is an executable that just requires a quick configuration: | First install the server Xming, which optimally should be incorporated in the Windows autostart list. PuTTY is an executable that just requires a quick configuration: |
| |
* click on the menu item //Session// and enter ''a12.astro.physik.uni-potsdam.de'' in the field //Hostname// | * click on the menu item //Session// and enter ''columba.astro.physik.uni-potsdam.de'' in the field //Hostname// |
* in //Connection// -> //SSH// -> //X11// check ''Enable X11 Forwarding'' to allow graphical output | * in //Connection// -> //SSH// -> //X11// check ''Enable X11 Forwarding'' to allow graphical output |
* in case of problems with the graphical output, enter ''localhost:0'' in the field //X display location// in //Connection// -> //SSH// -> //X11// | * in case of problems with the graphical output, enter ''localhost:0'' in the field //X display location// in //Connection// -> //SSH// -> //X11// |
=== X2G0 === | === X2G0 === |
| |
In addition to the above mentioned possibilities, a //X2Go// server is also installed on the laboratory computer **a12**, which allows to work remotely and efficiently with graphical programs. The //X2Go// client is available for all major operating systems (Windows, Linux and MacOS). | In addition to the above mentioned possibilities, a //X2Go// server is also installed on the laboratory computer **columba**, which allows to work remotely and efficiently with graphical programs. The //X2Go// client is available for all major operating systems (Windows, Linux and MacOS). |
| |
{{ :ost:software:x2go_1.png?direct&400 |}} | {{ :ost:software:x2go_main_window.png?direct&400 |}} |
| |
After installing the client you can create a new session by clicking **Session** and then **New session ...**. In the window that opens you have to define the session parameters. | After installing the client you can create a new session by clicking **Session** and then **New session ...**. In the window that opens you have to define the session parameters. |
<WRAP group> | <WRAP group> |
<WRAP half column> | <WRAP half column> |
{{ :ost:software:x2go_2.png |}} | {{ :ost:software:x2go_new_session.png |}} |
</WRAP> | </WRAP> |
<WRAP half column> | <WRAP half column> |
{{ :ost:software:x2go_3.png |}} | {{ :ost:software:x2go_main_settings.png |}} |
</WRAP> | </WRAP> |
</WRAP> | </WRAP> |
| |
{{ :ost:software:x2go_4.png|}} | <WRAP group> |
| <WRAP half column> |
| These include **session name**, **host**, **login**, and the **session type**. The **Session name** can be freely chosen and is only used to distinguish between different sessions. As **host** ''columba.astro.physik.uni-potsdam.de'' must be specified. As **Login** the respective user name like e.g. alpha has to be entered. |
| |
These include **session name**, **host**, **login**, and the **session type**. The **Session name** can be freely chosen and is only used to distinguish between different sessions. As **host** ''a12.astro.physik.uni-potsdam.de'' must be specified. As **Login** the respective user name like e.g. alpha has to be entered. For **Session type** you have to select ''Custom desktop'' from the dropdown menu and enter ''MATE'' as **Command**. | The next step is to go to the ''Input/Output'' tab. Here you can enable **Fullscreen** and disable **Set Display DPI** to connect in full screen without pixelation. However, this may affect the speed of the connection. |
| |
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 **columba** 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. |
| |
| {{ :ost:software:x2go_4.png |}} |
| |
| </WRAP> |
| <WRAP half column> |
| {{ :ost:software:x2go_input-output_settings.png |}} |
| </WRAP> |
| </WRAP> |
| |
<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 | <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 |
</WRAP> | </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. | <WRAP center round alert 60%> |
| Unfortunately, this method is not working at the moment. |
| </WRAP> |
| |
| In addition to the methods described above, you can also log in to columba 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 columba. However, since RDP is not considered the most secure method, you must first establish an SSH tunnel to columba 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. | 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. |
- ''Enable SSH tunnel''. | - ''Enable SSH tunnel''. |
- ''Custom'' | - ''Custom'' |
- Server address: a12.astro.physik.uni-potsdam.de | - Server address: columba.astro.physik.uni-potsdam.de |
- Username | - Username |
- Password | - Password |
* Then finish the configuration by clicking on ''Save and Connect''. | * Then finish the configuration by clicking on ''Save and Connect''. |
* Remmina will then connect to a12 | * Remmina will then connect to columba |
* If you are satisfied with the connection speed, you can increase the quality of the connection in the ''Advanced'' tab. | * 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. | * 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 columba. |
| |
</WRAP> | </WRAP> |
* 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. | * 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. | * 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. | * In this window, type the command ''ssh -L 3399:127.0.0.1:3389 alpha@columba.astro.physik.uni-potsdam.de''. Replace ''alpha'' with the appropriate group name. |
| |
[{{ost:software:power_shell_ssh-tunnel.jpg| PowerShell with SSH tunnel command }}] | [{{ost:software:power_shell_ssh-tunnel.jpg| PowerShell with SSH tunnel command }}] |
The login information are in principle the same as for the SSH client: | The login information are in principle the same as for the SSH client: |
| |
Server: a12.astro.physik.uni-potsdam.de | Server: columba.astro.physik.uni-potsdam.de |
Protocol: SFTP | Protocol: SFTP |
User: alpha | User: alpha |