Azure Linux Vm Remote Desktop



-->

In this video I walk you through an install of Ubuntu Linux 15.10 as a Generation 2 VM in azure. Then I install the LXDE Xwindows desktop. I then install XRDP. Next I add the.xsession file to use LXD. Aug 08, 2018 Now, that you have a desktop environment installed, configure a remote desktop service to listen for incoming connections. Xrdp is an open source Remote Desktop Protocol (RDP) server that is available on most Linux distributions and works well with Xfce. Install xrdp on your Ubuntu VM as follows: sudo apt-get install xrdp. 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. Virtual Machine Scale Sets Manage and scale up to thousands of Linux and Windows virtual machines Azure Kubernetes Service (AKS) Simplify the deployment, management, and operations of Kubernetes Azure Spring Cloud A fully managed Spring Cloud service, jointly built and operated with VMware. Feb 28, 2018 Normally, when you setup a Linux VM (perhaps Ubuntu Server) in Microsoft Azure, you can only connect to and remote into it via SSH. The reason this differs from a Windows VM in Azure; as Linux VMs do not support Remote Desktop (RDP) natively.

This article shows how students can connect to a Linux virtual machine (VM) in a lab using:

Azure Linux Vm Remote Desktop
  • SSH (secure shell protocol) terminal
  • GUI (graphical user interface) remote desktop

Important

SSH is configured automatically so that both students and the instructor can SSH into Linux VMs without any additional setup. However, if students need to connect to using a GUI remote desktop, the instructor may need to do additional setup. For details, see Enable remote desktop for Linux virtual machines.

Connect to the student VM using SSH

  1. When a student signs in to the Labs portal directly (https://labs.azure.com) or by using a registration link (https://labs.azure.com/register/<registrationCode>), a tile for each lab the student has access to is displayed.

  2. On the tile, toggle the button to start the VM if it's in stopped state.

  3. Select Connect. You see two options to connect to the VM: SSH and RDP. Intronix driver download for windows.

  4. Select the SSH option and you will see the Connect to your virtual machine dialog box:

  5. Click the Copy button next to the text box to copy the SSH connection information to the clipboard.

  6. Save the SSH connection information, such as in Text pad, so that you can use this connection information in the next step.

  7. From an SSH terminal (like Putty), connect to your VM.

Connect to the student VM using GUI remote desktop

Linux

The instructor may choose to configure VMs so that students can also connect using a GUI remote desktop. In this case, students need to find out from their instructor whether to connect to their VMs using the Microsoft Remote Desktop (RDP) or X2Go client application. Both of these applications allow a student to connect remotely to their VM and display the Linux graphical desktop on their local computer.

Connect to the student VM using Microsoft Remote Desktop (RDP)

Free Linux Vm Azure

Students can use Microsoft Remote Desktop (RDP) to connect to their Linux VMs after their instructor sets up their lab with RDP and GUI packages for a Linux graphical desktop environment (such as MATE, XFCE, and so on). Here are the steps to connect:

  1. On the tile for your VM, ensure the VM is running and click Connect. You see two options to connect to the VM: SSH and RDP.

  2. Select the RDP option. When the RDP file is downloaded onto your machine, save it to your VM.

  3. If you are connecting from a Windows computer, typically, the Microsoft Remote Desktop (RDP) client is already installed and configured. As a result, all you need to do is click on the RDP file to open it and start the remote session.

    Instead, if you are connecting from either a Mac or Chromebook, refer to the following steps:

    • Connect to a VM using RDP on a Mac.
    • Connect to a VM using RDP on a Chromebook.

Connect to the student VM using X2Go

Azure Linux Vm Remote Desktop Server

Students can use X2Go to connect to their Linux VMs after their instructor sets up their lab with X2Go and the GUI packages for a Linux graphical desktop environment (such as MATE, XFCE, and so on).

Students need to find out from their instructor which Linux graphical desktop environment their instructor has installed. This information is needed in the next steps to connect using the X2Go client.

Remote
  1. Install the X2Go client on your local computer.

  2. Follow the instructions in the first section to copy the SSH connection information for your VM. You need this information to connect using the X2Go client.

  3. Once you have the SSH connection information, open the X2Go client and select Session > New Session.

  4. Enter the values in the Session Preferences pane based on your SSH connection information. For example, your connection information will look similar to this:

    Using this example, the following values are entered: Fsp driver download for windows.

    • Session name - Specify a name, such as the name of your VM.
    • Host - The ID of your VM; for example, ml-lab-00000000-0000-0000-0000-000000000000.eastus2.cloudapp.azure.com.
    • Login - The username for your VM; for example, student.
    • SSH port - The unique port assigned to your VM; for example, 12345.
    • Session type - Select the Linux graphical desktop environment that your instructor configured your VM. You need to get this information from your instructor.

    Finally, click OK to create the session.

  5. Click on your session in the right-hand pane.

    Note

    If you are prompted with a similar message to this, select yes to continue to entering your password: The authenticity of host '[00000000-0000-0000-0000-000000000000.eastus2.cloudapp.eastus.cloudapp.azure.com]:12345' can't be established. ECDSA key fingerprint is SHA256:00000000000000000000000000000000000000000000.Are you sure you want to continue connecting (yes/no)?

  6. When prompted, enter your password and click OK. You will now be remotely connected to your VM's GUI desktop environment.

Next steps

To learn how to enable the remote desktop connection feature for Linux VMs in a classroom lab, see Enable remote desktop for Linux virtual machines.