The Windows Remote Desktop implements more authentication and encryption algorithms specific to Windows. This happened to us often, in fact we're forced to use Windows Remote Desktop by our network administrators as we're using authentication methods OSX doesn't implement.
- Nothing changes in terms of how the files are transferred even when you tunnel your RDP connection through SSH using SOCKS. This post is about a setup that I use to access Windows Servers using Remote Desktop, especially when the remote target is IP whitelisted and my Windows client is a Virtualbox virtual machine on a host linux system.
- Remote Terminal is an SSH-2 and Telnet Terminal Emulator which lets you connect to your UNIX and Linux servers, NAS, VM hosts, virtual appliances, routers and every other system supporting SSH-2 or Telnet connections. This is the full version of the app, there are no feature restrictions and no ads.
This article shows you how to do the following tasks:
- Enable graphical remote desktop sessions for a Linux VM
- How to connect to a Linux VM using RDP (Remote Desktop Protocol) or X2Go remote desktop clients
Set up graphical remote desktop solution
When a lab is created from a Linux image, SSH (Secure Shell) access is automatically configured so that the instructor can connect to the template VM from the command line using SSH. Likewise, when the template VM is published, students can also connect to their VMs using SSH.
To connect to a Linux VM using a GUI (graphical user interface), we recommend using either RDP or X2Go. Both of these options require the instructor to do some additional setup on the template VM:
RDP Setup
To use RDP, the instructor must:
- Enable remote desktop connection; this is specifically needed to open the VM's port for RDP.
- Install the RDP remote desktop server.
- Install a Linux graphical desktop environment (such as MATE, XFCE, and so on).
X2Go Setup
To use X2Go, the instructor must: 3d studio max serial number.
- Install the X2Go remote desktop server.
- Install a Linux graphical desktop environment (such as MATE, XFCE, and so on).
X2Go uses the same port that is already enabled for SSH. As a result, no extra configuration required to open a port on the VM for X2Go.
Note
In some cases, such as with Ubuntu LTS 18.04, X2Go provides better performance. If you use RDP and notice latency when interacting with the graphical desktop environment, consider trying X2Go since it may improve performance.
Important
Some marketplace images already have a graphical desktop environment and remote desktop server installed. For example, the Data Science Virtual Machine for Linux (Ubuntu) already has XFCE and X2Go Server installed and configured to accept client connections.
Enable remote desktop connection for RDP
Microsoft Remote Desktop Ssh Client
This step is only needed to connect using RDP. If instead you plan to use X2Go, you can skip to the next section since X2Go uses the SSH port.
During lab creation, the instructor has the option to Enable Remote Desktop Connection. The instructor must enable this option to open the port on the Linux VM that is needed for an RDP remote desktop session. Otherwise, if this option is left disabled, only the port for SSH is opened.
On the Enabling Remote Desktop Connection message box, select Continue with Remote Desktop.
Install RDP or X2Go
After the lab is created, the instructor needs to ensure that a graphical desktop environment and remote desktop server are installed on the template VM. Instructors must first connect to the template VM using SSH to install the packages for:
- Either the RDP or X2Go remote desktop server.
- A graphical desktop environment, such as MATE, XFCE, etc.
After this is set up, the instructor can connect to the template VM using either the Microsoft Remote Desktop (RDP) client or X2Go client.
Follow the below steps to set up the template VM:
If you see Customize template on the toolbar, select it. Then, select Continue on the Customize template dialog box. This action starts the template VM.
After the template VM is started, you can select Connect template and then Connect via SSH on the toolbar.
You see the following Connect to your virtual machine dialog box. Select the Copy button next to the text box to copy it to the clipboard. Save the SSH connection information. Use this connection information from an SSH terminal (like Putty) to connect to the virtual machine.
Install either RDP or X2Go along with the graphical desktop environment of your choice. Refer to the following instructions:
Connect to the template VM via the GUI
After the template VM is set up, the instructor can connect via the GUI using either the Microsoft Remote Desktop (RDP) client or X2Go client. The client that you use depends on if RDP or X2Go is configured as the remote desktop server on the template VM.
Microsoft Remote Desktop (RDP) client
The Microsoft Remote Desktop (RDP) client is used to connect to a template VM that has RDP configured. The Remote Desktop client can be used on Windows, Chromebooks, Macs and more. Refer to the article on Remote Desktop clients for further details.
Follow the below steps based on the type of computer used to connect to the template VM:
Windows
- Click Connect to template on your lab's toolbar and select Connect via RDP to connect to the template VM.
- Save the RDP file and use it to connect to the template VM using the Remote Desktop client.
- Typically, the Remote Desktop client is already installed and configured on Windows. As a result, all you need to do is click on the RDP file to open it and start the remote session.
Mac
- Click Connect to template on your lab's toolbar and then select Connect via RDP to save the RDP file.
- Then, refer to the how-to article Connect to a VM using RDP on a Mac.
Chromebook
- Click Connect to template on your lab's toolbar and then select Connect via RDP to save the RDP file.
- Then, refer to the how-to article Connect to a VM using RDP on a Chromebook.
X2Go client
The X2Go client is used to connect to a template VM that has X2Go configured. Using the template VM's SSH connection information, follow the steps in the how-to article Connect to a VM using X2Go.
Next steps
After an instructor sets up either RDP or X2Go on their template VM and publishes, students can connect to their VMs via the GUI remote desktop or SSH.
Microsoft Remote Desktop Sharing
For more information, see: