User Tools

Site Tools


generic:rdp_mac

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
generic:rdp_mac [2023/09/08 12:42] venemansgeneric:rdp_mac [2025/09/18 11:16] (current) jansen
Line 1: Line 1:
-====== Microsoft Remote Desktop on macOS ======+====== Microsoft Remote Desktop on MacOS ======
 This page describes how to connect to a Windows system at the institute, from your own Mac, 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 Mac, either on the laptop or wireless network, or from outside the institute.
  
 +Alternatively, for PHYSICS, you can make use of the RDP gateway to access your Windows desktop. Please visit [[general:macos_desktop_gateway|this]] page for instructions.
 ===== Tunnel (from commandline) ===== ===== Tunnel (from commandline) =====
-First, a secure tunnel has to be set up using ssh. The tunnel connects a local ''port'' to a remote port on a specific machine. The port we want here is 3389, which is the port of the remote desktop protocol. This example logs in to ''ssh.strw.leidenuniv.nl'' and sets up the tunnel to host ''remote'' (the terminal server of the Sterrewacht). Instead of ''remote'' you can fill the name of your windows desktop computer:+First, a secure tunnel has to be set up using ssh. The tunnel connects a local ''port'' to a remote port on a specific machine. The port we want here is 3389, which is the port of the remote desktop protocol.  
 + 
 +==== Sterrewacht example ==== 
 +This example logs in to ''ssh.strw.leidenuniv.nl'' and sets up the tunnel to host ''remote'' (the terminal server of the Sterrewacht). Instead of ''remote'' you can fill the name of your windows desktop computer:
   ssh -L 3389:remote:3389 username@ssh.strw.leidenuniv.nl   ssh -L 3389:remote:3389 username@ssh.strw.leidenuniv.nl
 +
 +==== LION example ====
 If you want to connect to a LION desktop, for example ''QO52'', you have to connect to the LION SSH server ''ssh3.physics.leidenuniv.nl'': If you want to connect to a LION desktop, for example ''QO52'', you have to connect to the LION SSH server ''ssh3.physics.leidenuniv.nl'':
   ssh -L 3389:QO52:3389 username@ssh3.physics.leidenuniv.nl   ssh -L 3389:QO52:3389 username@ssh3.physics.leidenuniv.nl
 +
 +==== Notes ====
 Now, you probably don't want to remember this and type it all the time, so an easy solution is to add an alias in your ''.profile'' (which contains the settings that are executed every time you open a new shell in a terminal): Now, you probably don't want to remember this and type it all the time, so an easy solution is to add an alias in your ''.profile'' (which contains the settings that are executed every time you open a new shell in a terminal):
   alias remote='ssh -L 3389:remote:3389 username@ssh.strw.leidenuniv.nl'   alias remote='ssh -L 3389:remote:3389 username@ssh.strw.leidenuniv.nl'
Line 20: Line 28:
   * [[https://www.tynsoe.org/v2/stm|SSH tunnel manager]]   * [[https://www.tynsoe.org/v2/stm|SSH tunnel manager]]
   * [[https://coretunnel.app|Core Tunnel]]   * [[https://coretunnel.app|Core Tunnel]]
-===== Microsoft Remote Desktop client ===== +===== Microsoft Windows app (previously known as Microsoft Remote Desktop client)  ===== 
-Microsoft has a rdp client for Mac, available for free through the [[https://apps.apple.com/us/app/microsoft-remote-desktop/id1295203466?mt=12|App store]]. Download and install it, and then start it up. It will look like this (after you click the PC + ):+Microsoft has a rdp client for Mac, available for free through the [[https://apps.apple.com/us/app/windows-app/id1295203466?mt=12|App store]]. Download and install it, and then start it up. It will look like this (after you click the PC + ):
 {{ :generic:macrdp2.png?direct&400 |}} {{ :generic:macrdp2.png?direct&400 |}}
 After you clicked the "+" you can add a new connection. This screen will pop up: After you clicked the "+" you can add a new connection. This screen will pop up:
 {{ :generic:macrdp1.png?direct&200 |}} {{ :generic:macrdp1.png?direct&200 |}}
-Give the connection a name that makes sense to you to remember. As pc name, fill in ''localhost''. This will make the app connect to the local rdp port, which is forwarded through the tunnel to the remote machine.+Give the connection a name that makes sense to you to remember. As pc name, fill in ''localhost'' if you are using the 'tunnel' setup. This will make the app connect to the local rdp port, which is forwarded through the tunnel to the remote machine.
 You can also fill in the username if you want (or do that on the login screen). Make sure however, to add the domain, so in this case: ''STERREWACHT\username'' or ''PHYSICS\username''. You can also fill in the username if you want (or do that on the login screen). Make sure however, to add the domain, so in this case: ''STERREWACHT\username'' or ''PHYSICS\username''.
 Close this window when done (use the Add button).  Close this window when done (use the Add button). 
generic/rdp_mac.1694176975.txt.gz · Last modified: by venemans