Remote desktop for lab computers
It is sometimes convenient to be able to remote into lab computers, such as as when a microscope computer is running a timelapse.
At the same time, it is not recommended to use software such as TeamViewer to enable remote access. In addition to being a company with a bad security record, TeamViewer and similar software open you up to the entire internet.
The better solution is to use the Remote Desktop Protocol (RDP) built into Windows, and use the MIT VPN if you are off-campus to keep access to the computers secure.
Enabling remote desktop
Important
Only keep the remote desktop setting active while you are expecting to use it. When you are done, turn it off.
Hit the Windows key or click the start menu search. Search for “Remote desktop settings”.
Enable remote desktop by clicking on the switch. It will pop up a modal to confirm this action.
Verify that the default setting “Keep my PC awake for connections when it is plugged in” is set.
Setup your timelapse, etc. At this point, the computer is accessible if you are either on the MIT network or using the VPN (if off-campus), but from nowhere else on the internet.
Check the note card on the physical computer for server name / username / password information.
When done, go back to “Remote desktop settings” and disable the switch.
Remoting in to lab computers
Instructions vary from operating system to operating system.
Windows
If you are not plugged in over Ethernet at MIT / using MIT Secure, connect to the MIT VPN.
Hit the Windows key or click the start menu search. Search for “Remote desktop connection”.
Enter the full computer domain name (from the notecard on the computer) into the box.
When prompted for credentials, use the username and password from the notecard.
If there is a certificate warning, you can accept it because we are connected through MIT’s network.
MacOS
Go to the App Store and download “Microsoft Remote Desktop” app.
If you are not plugged in over Ethernet at MIT / using MIT Secure, connect to the MIT VPN.
Hit the plus sign and “Add a PC”, and enter the full host name / domain name from the notecard:
Double click the connection tile to connect. When prompted for credentials, use the username and password from the notecard.
If there is a certificate warning, you can accept it because we are connected through MIT’s network.
Hit
command-q
to exit the remote desktop connection when done.
Linux
FreeRDP works great; look up from your distro instructions how to install the client this (apt install xfreerdp
)
The command you want to run is
$ xfreerdp /u:"USERNAME" /v:HOSTNAME.mit.edu