This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| generic:rdp_linux [2025/10/07 09:17] – jansen | generic:rdp_linux [2025/10/07 11:48] (current) – [Tunnel] jansen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Microsoft Remote Desktop on Linux ====== | ====== Microsoft Remote Desktop on Linux ====== | ||
| - | This page describes how to connect to a Windows system at the institute, from your own Linux machine, either on the laptop or wireless network, or from outside the institute. | + | This page describes how to connect to a Windows system at the institute, from your own Linux machine, either on the laptop or wireless network, or from outside the institute. The same method also works when connecting to Linux servers that have the '' |
| ===== VPN ===== | ===== VPN ===== | ||
| If you are connected through our institute [[:VPN]], you should be able to connect directly (so you can skip the tunnel setup). The same is true for our wired (not wireless!) laptop net. | If you are connected through our institute [[:VPN]], you should be able to connect directly (so you can skip the tunnel setup). The same is true for our wired (not wireless!) laptop net. | ||
| ===== Tunnel ===== | ===== Tunnel ===== | ||
| - | Otherwise, a secure tunnel has to be set up using ssh. The tunnel connects a local '' | + | Otherwise, a secure tunnel has to be set up using ssh. The tunnel connects a local '' |
| - | ssh -L 3389:<your desktop name>:3389 username@ssh3.physics.leidenuniv.nl | + | |
| - | Alternatively you can user '' | + | The port we want here is 3389, which is the port of the remote desktop protocol. This example logs in to '' |
| - | ssh -L 3389:< | + | ssh -L 3389:SERVER:3389 username@ssh3.physics.leidenuniv.nl |
| - | Now, you probaly | + | Now, you probably |
| - | alias <your desktop name>='ssh -L 3389:<your desktop name>:3389 username@ssh3.physics.leidenuniv.nl' | + | alias SERVER='ssh -L 3389:SERVER:3389 username@ssh3.physics.leidenuniv.nl' |
| - | or alternatively: | + | |
| - | alias <your desktop name> | + | |
| Some additional notes: | Some additional notes: | ||
| - | * Users should use the appropriate ssh server for their own institute | + | * Users should use the appropriate ssh server for their own institute |
| - | * The machine to log in to can just as well be your own desktop, if you have one (and if it has been set up to run RDP) | + | * LION: ssh3.physics.leidenuniv.nl |
| + | * STRW: ssh.strw.leidenuniv.nl | ||
| + | * Lorentz: ssh.lorentz.leidenuniv.nl | ||
| + | * The machine to log in to | ||
| + | * The '' | ||
| * The '' | * The '' | ||
| - | Note that where ever is written '' | + | ====== Remote Desktop client |
| - | + | ||
| - | ===== Remote Desktop client ===== | + | |
| A good rdp client for Linux is '' | A good rdp client for Linux is '' | ||
| Alternatively you can user '' | Alternatively you can user '' | ||
| + | Here we describe the setup in '' | ||
| {{: | {{: | ||