Differences
This shows you the differences between two versions of the page.
| 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 [2026/03/24 11:19] (current) – rhainich | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Access to the laboratory computer | + | ====== Access to the Laboratory Computer |
| {{section> | {{section> | ||
| - | The analysis of the data obtained within | + | |
| + | There are two ways to analyse | ||
| + | 1. Perform | ||
| + | 2. Log in to this computer remotely from another system (e.g. from home) and perform the analysis there. | ||
| ===== 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. | ||
| - | | + | Data analysis can also be carried out remotely, either from the computer pool of the Physics Institute or from a private computer with an internet connection. Several access methods are available, each with its own advantages and disadvantages. |
| - | | + | |
| - | **alpha** is given here as an example and must be replaced by the corresponding group name. The password | + | |
| + | ==== Requirements ==== | ||
| + | |||
| + | Credentials are provided by the supervisors or communicated during the introduction: | ||
| + | |||
| + | | ||
| + | | ||
| + | |||
| + | **alpha** is used here as an example and must be replaced by the corresponding group name. | ||
| + | |||
| + | <WRAP center round important 100%> | ||
| + | To access the analysis computer from outside the university network, you must first connect to the university network via VPN. Instructions | ||
| + | </ | ||
| ==== 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 [[https:// | ||
| - | Login in the console with this command: | + | Since all astrophysics computers run Linux, logging |
| - | < | + | Graphical output (e.g. FITS viewers or editors) is also supported, although performance depends on the connection speed. Within the university network this is usually not an issue, but from home the performance may be limited. |
| - | **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. | + | Login via terminal: |
| + | ssh -Y alpha@columba.astro.physik.uni-potsdam.de | ||
| - | === Alternative: | + | You will be prompted for your password. The parameter **-Y** (capital Y) enables forwarding of graphical output. |
| - | Alternatively you can log in with [[https:// | ||
| - | xpra start ssh: | + | === Xpra === |
| - | 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, | + | Alternatively, you can use [[https://www.xpra.org/|Xpra]], which also uses //SSH// but allows more stable work with graphical applications, |
| - | Furthermore it offers the possibility to disconnect from the //Xpra// session without ending it by using the menu button '' | + | After installation, |
| - | | + | |
| - | The //Xpra// session | + | The command |
| - | xpra exit | + | After a successful connection, an //Xpra// icon or menu usually appears on the desktop (under Ubuntu in the upper-right corner near network/ |
| + | You can detach from a running session without terminating it: | ||
| - | ==== Windows ==== | + | xpra detach |
| - | === PuTTY and Xming === | + | Reconnect |
| - | Linux uses the X-Window-System to display graphical output while Windows has it's own system. That's the reason why graphical output from a Linux computer can not simply be displayed by Windows. To solve this you need to install an X-Window-Server designed to work with Windows. There are many options and programs that offer this functionality and we suggest these, slim freeware solutions: | + | |
| + | xpra attach ssh: | ||
| - | **Required programs** | + | Terminate |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | 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: | + | xpra exit |
| - | * click on the menu item //Session// and enter '' | + | |
| - | * in // | + | ==== Windows ==== |
| - | * in case of problems with the graphical output, | + | |
| + | Since Windows does not use the X-Window system, | ||
| + | |||
| + | Recommended tools are: | ||
| === MobaXterm === | === MobaXterm === | ||
| - | MobaXterm is a SSH client | + | |
| + | MobaXterm is an SSH client | ||
| * [[http:// | * [[http:// | ||
| - | To increase the stability of the connection, it has proven useful | + | To improve |
| + | |||
| + | |||
| + | === PuTTY and Xming === | ||
| + | |||
| + | **Required software** | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | Xming should be installed and ideally started automatically with the system. PuTTY requires only minimal configuration: | ||
| + | |||
| + | * Enter '' | ||
| + | * Enable '' | ||
| + | * In case of problems with the graphical output, set '' | ||
| - | /* | + | ==== Operating System Independent ==== |
| - | **Configuration file for MobaXterm: | + | |
| - | */ | + | |
| - | ==== Operating system independent ==== | + | === X2Go === |
| - | === X2G0 === | + | |
| - | In addition to the above mentioned possibilities, | + | An //X2Go// server is installed on the laboratory computer **columba**, allowing efficient remote |
| - | {{ : | + | {{ : |
| - | After installing the client | + | After installing the client, create a new session |
| <WRAP group> | <WRAP group> | ||
| <WRAP half column> | <WRAP half column> | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| <WRAP half column> | <WRAP half column> | ||
| - | {{ : | + | {{ : |
| </ | </ | ||
| </ | </ | ||
| - | {{ :ost: | + | Configure the following parameters: |
| - | These include | + | |
| + | * **Host**: '' | ||
| + | * **Login**: e.g. '' | ||
| - | After clicking on '' | + | In the '' |
| - | <fc # | + | * Enable **Fullscreen** |
| + | * Disable **Set display DPI** | ||
| + | |||
| + | After clicking '' | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | <fc # | ||
| + | If the client crashes, | ||
| env QT_QPA_PLATFORM=xcb x2goclient | env QT_QPA_PLATFORM=xcb x2goclient | ||
| - | === Logging in via Remote Desktop Protocol === | + | |
| + | === Remote Desktop Protocol === | ||
| <WRAP center round important 60%> | <WRAP center round important 60%> | ||
| - | This method is in beta stage | + | This method is currently |
| </ | </ | ||
| - | 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. | + | <WRAP center round alert 60%> |
| + | This method | ||
| + | </ | ||
| - | Under Linux, [[https:// | + | In addition to the above methods, you can log in to columba using the Remote Desktop Protocol (RDP). This protocol, developed by Microsoft, is highly efficient and enables |
| <WRAP group> | <WRAP group> | ||
| <WRAP half column> | <WRAP half column> | ||
| + | ** Linux ** | ||
| + | |||
| + | On Linux, [[https:// | ||
| + | |||
| + | * Start the program and create a new connection | ||
| + | * Enter a name for the configuration | ||
| + | * Server: '' | ||
| + | * Enter username and password | ||
| + | * Enable '' | ||
| + | |||
| + | Under '' | ||
| + | |||
| + | * Enable '' | ||
| + | * Server: '' | ||
| + | * Enter username and password | ||
| - | == Configuration instructions Linux: == | + | Start the connection via '' |
| - | * After Remmina has been started, click on the plus symbol in the top left corner. | + | If you are satisfied with the connection speed, the '' |
| - | * This opens the configuration dialog | + | |
| - | * Enter the following or activate the corresponding option: | + | |
| - | - Name for the configuration | + | |
| - | - Server address: 127.0.0.1: | + | |
| - | - User name | + | |
| - | - Password | + | |
| - | - '' | + | |
| - | * Then click on '' | + | |
| - | - '' | + | |
| - | - '' | + | |
| - | - Server address: a12.astro.physik.uni-potsdam.de | + | |
| - | - Username | + | |
| - | - Password | + | |
| - | * Then finish the configuration by clicking on '' | + | |
| - | * Remmina will then connect to a12 | + | |
| - | * If you are satisfied with the connection speed, | + | |
| - | * After saving the configuration, | + | |
| </ | </ | ||
| Line 156: | Line 195: | ||
| <WRAP group> | <WRAP group> | ||
| <WRAP half column> | <WRAP half column> | ||
| - | **Configuration Instructions for Windows 11:** | + | ** Windows 11 ** |
| - | * On Windows, you must first set up the SSH tunnel | + | |
| - | * To do this, you must first open a PowerShell window. | + | Firstly, an SSH tunnel |
| - | * In this window, type the command '' | + | |
| - | + | | |
| - | [{{ost: | + | |
| + | You can then connect using an RDP client. The following settings must be configured: | ||
| + | |||
| + | * Computer: | ||
| + | * User name: e.g. '' | ||
| + | * '' | ||
| + | |||
| + | Click '' | ||
| - | * You can then start the RDP client and enter the following configuration or enable the appropriate option: | ||
| - | - Computer: '' | ||
| - | - User name | ||
| - | - '' | ||
| - | * It may be necessary to click on '' | ||
| - | * Click on '' | ||
| </ | </ | ||
| <WRAP half column> | <WRAP half column> | ||
| Line 175: | Line 215: | ||
| </ | </ | ||
| - | ===== 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: | ||
| + | ===== External Login from the Physics Computer Pool ===== | ||
| - | ===== Working directly on the data reduction | + | The computers in the Physics |
| - | 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> | + | Accounts can be requested from Mr H. Todt (room 2.28.2.004). |
| - | ===== Linux Sheet Paper ===== | + | ===== Working Directly on the Data Reduction Computer |
| - | This [[http:// | + | |
| + | The laboratory computer (columba) is available for on-site data analysis (room 2.28.2.009) and can be booked via email. | ||
| - | ===== Access to files by SFTP ===== | ||
| - | Pure file transfer is possible, independent of the computer system, by logging in with SFTP (Secure | + | ===== File Transfer |
| - | The login information are in principle | + | Regardless of the operating system, it is possible to log in via SFTP (SSH File Transfer Protocol) solely |
| - | Server: | + | The login details for the SFTP client are identical to those for SSH access: |
| + | |||
| + | Server: | ||
| | | ||
| | | ||
| - | | + | |
| + | |||
| + | Similarly, **alpha** is used here merely as an example and must be replaced with the relevant group name. | ||
| + | |||
| + | **Note:** SFTP is intended for file transfer only. It does not allow execution of programs. | ||
| - | **alpha** is given here as an example and must be replaced by the corresponding group name. | + | ===== Linux Cheat Sheets ===== |
| - | **Attention:** In contrast to the login methods described in the previous sections, SFTP is just for file transfer. It will not let you work on data reduction or alike. | + | * [[http:// |
| - | /* | + | [[en:praktikum:index|Laboratory Courses – Overview]] |
| - | ====== Virtual laboratory computer ====== | + | |
| - | We offer a virtual laboratory computer, see [[en:software:howto_virtualbox_ubuntu|here]]. | + | |
| - | */ | + | |
| - | [[en: | ||