You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/lab-services/connect-virtual-machine-mac-remote-desktop.md
+32-9Lines changed: 32 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,37 +1,60 @@
1
1
---
2
2
title: Connect to Azure Lab Services VMs from Mac
3
-
description: Learn how to connect from a Mac to a virtual machine in Azure Lab Services.
3
+
titleSuffix: Azure Lab Services
4
+
description: Learn how to connect using remote desktop (RDP) from a Mac to a virtual machine in Azure Lab Services.
5
+
services: lab-services
6
+
ms.service: lab-services
7
+
author: ntrogh
8
+
ms.author: nicktrog
4
9
ms.topic: how-to
5
-
ms.date: 02/04/2022
10
+
ms.date: 02/16/2023
6
11
---
7
12
8
13
# Connect to a VM using Remote Desktop Protocol on a Mac
9
14
10
-
This section shows how a student can connect to a lab VM from a Mac by using RDP.
15
+
In this article, you learn how to connect to a lab VM in Azure Lab Services from a Mac by using Remote Desktop Protocol (RDP).
11
16
12
17
## Install Microsoft Remote Desktop on a Mac
13
18
19
+
To connect to the lab VM via RDP, you can use the Microsoft Remote Desktop app.
20
+
21
+
To install the Microsoft Remote Desktop app:
22
+
14
23
1. Open the App Store on your Mac, and search for **Microsoft Remote Desktop**.
24
+
15
25
:::image type="content" source="./media/connect-virtual-machine-mac-remote-desktop\install-remote-desktop.png" alt-text="Screenshot of Microsoft Remote Desktop app in the App Store.":::
16
-
1. Install the latest version of Microsoft Remote Desktop.
26
+
27
+
1. Select **Install** to install the latest version of Microsoft Remote Desktop.
17
28
18
29
## Access the VM from your Mac using RDP
19
30
31
+
Next, you connect to the lab VM by using the remote desktop application. You can retrieve the connection information for the lab VM from the Azure Lab Services website.
32
+
33
+
1. Navigate to the Azure Lab Services website (https://labs.azure.com), and sign in with your credentials.
34
+
20
35
1. On the tile for your VM, ensure the [VM is running](how-to-use-lab.md#start-or-stop-the-vm) and select the **Connect** icon.
21
36
22
37
:::image type="content" source="./media/connect-virtual-machine-mac-remote-desktop/connect-vm.png" alt-text="Screenshot of My virtual machines page for Azure Lab Services. The connect icon button on the VM tile is highlighted.":::
23
-
1. If you’re connecting *to a Linux VM*, you'll see two options to connect to the VM: SSH and RDP. Select the **Connect via RDP** option. If you're connecting *to a Windows VM*, you don't need to choose an connection option. The RDP file will automatically start downloading.
38
+
39
+
1. If you’re connecting to a Linux VM, you'll see two options to connect to the VM: SSH and RDP. Select the **Connect via RDP** option. If you're connecting to a Windows VM, you don't need to choose a connection option. The RDP file will automatically start downloading.
24
40
25
41
:::image type="content" source="./media/connect-virtual-machine-mac-remote-desktop/student-vm-connect-options.png" alt-text="Screenshot that shows V M tile for student. The R D P and S S H connection options are highlighted.":::
26
-
1. Open the **RDP** file that's downloaded on your computer with **Microsoft Remote Desktop** app previously installed. It should start connecting to the VM.
42
+
43
+
1. Open the **RDP** file that's downloaded on your computer with **Microsoft Remote Desktop** installed. It should start connecting to the VM.
27
44
28
45
:::image type="content" source="./media/how-to-use-classroom-lab/connect-linux-vm.png" alt-text="Screenshot of Microsoft Remote Desktop app connecting to a remote VM.":::
29
-
1. Select **Continue** if you receive the following warning.
46
+
47
+
1. When prompted, enter your username and password.
48
+
49
+
1. If you receive a certificate warning, you can select **Continue**.
30
50
31
51
:::image type="content" source="./media/how-to-use-classroom-lab/certificate-error.png" alt-text="Screenshot of certificate error for Microsoft Remote Desktop app.":::
32
-
1. You should see the VM desktop. The following example is for a CentOS Linux VM.
33
52
34
-
:::image type="content" source="./media/how-to-use-classroom-lab/vm-ui.png" alt-text="Screenshot of desktop for CentOs Linux VM.":::
53
+
1. After the connection is established, you see the desktop of your lab VM.
54
+
55
+
The following example is for a CentOS Linux VM:
56
+
57
+
:::image type="content" source="./media/how-to-use-classroom-lab/vm-ui.png" alt-text="Screenshot of the desktop for a CentOS Linux VM.":::
Copy file name to clipboardExpand all lines: articles/lab-services/connect-virtual-machine-windows-rdp.md
+35-18Lines changed: 35 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,41 +1,58 @@
1
1
---
2
-
title: Connect to a VM using Remote Desktop Protocol on Windows in Azure Lab Services | Microsoft Docs
3
-
description: Learn how to connect from Windows to a Linux VM using Remote Desktop Protocol
2
+
title: Connect to Azure Lab Services VMs from Windows
3
+
titleSuffix: Azure Lab Services
4
+
description: Learn how to connect using remote desktop (RDP) from Windows to a virtual machine in Azure Lab Services.
5
+
services: lab-services
6
+
ms.service: lab-services
7
+
author: ntrogh
8
+
ms.author: nicktrog
4
9
ms.topic: how-to
5
-
ms.date: 02/01/2022
10
+
ms.date: 02/17/2023
6
11
---
7
12
8
13
# Connect to a VM using Remote Desktop Protocol on Windows
9
14
10
-
This article shows how a student can connect from Windows to a lab VM using Remote Desktop Protocol (RDP).
15
+
In this article, you learn how to connect to a lab VM in Azure Lab Services from Windows by using Remote Desktop Protocol (RDP).
11
16
12
17
## Connect to VM from Windows using RDP
13
18
14
-
Students can use RDP to connect to their lab VMs. If the lab VM is a Windows VM, no extra configuration is required by the educator. If the lab VM is a Linux VM, the educator must [enable RDP](how-to-enable-remote-desktop-linux.md) and install GUI packages for a Linux graphical desktop.
19
+
You can use RDP to connect to your lab VMs in Azure Lab Services. If the lab VM is a Linux VM, the lab creator must [enable RDP for the lab](how-to-enable-remote-desktop-linux.md) and install GUI packages for a Linux graphical desktop. For Windows-based lab VMs, no additional configuration is needed.
15
20
16
-
Typically, the [Remote Desktop client](/windows-server/remote/remote-desktop-services/clients/remote-desktop-clients) is already installed and configured on Windows. As a result, all you need to do is select on the RDP file to open it and start the remote session.
21
+
Typically, the [Remote Desktop client software](/windows-server/remote/remote-desktop-services/clients/remote-desktop-clients) is already present on Windows. To connect to the lab VM, you open the RDP connection file to start the remote session.
17
22
18
-
1. On the tile for your VM, ensure the [VM is running](how-to-use-lab.md#start-or-stop-the-vm) and select the **Connect** icon.
23
+
To connect to a lab VM in Azure Lab Services:
19
24
20
-
:::image type="content" source="./media/connect-virtual-machine-windows-rdp/connect-vm.png" alt-text="Screenshot of My virtual machines page for Azure Lab Services. The connect icon button on the VM tile is highlighted.":::
21
-
1. If you’re connecting *to a Linux VM*, you'll see two options to connect to the VM: SSH and RDP. Select the **Connect via RDP** option. If you're connecting *to a Windows VM*, you don't need to choose a connection option. The RDP file will automatically start downloading.
25
+
1. Navigate to the Azure Lab Services website (https://labs.azure.com), and sign in with your credentials.
22
26
23
-
:::image type="content" source="./media/connect-virtual-machine-windows-rdp/student-vm-connect-options.png" alt-text="Screenshot that shows V M tile for student. The R D P and S S H connection options are highlighted.":::
24
-
1. When the RDP file is downloaded onto your machine, open it to launch the RDP client.
25
-
1. After adjusting RDP connection settings as needed, select **Connect** to start the remote session.
27
+
1. On the tile for your VM, select the **Connect** icon.
28
+
29
+
To connect to a lab VM, the vm must be running. Learn how you can [start a VM](how-to-use-lab.md#start-or-stop-the-vm).
30
+
31
+
:::image type="content" source="./media/connect-virtual-machine-windows-rdp/connect-vm.png" alt-text="Screenshot of My virtual machines page for Azure Lab Services, highlighting the connect button on the VM tile.":::
32
+
33
+
1. If you’re connecting to a Linux VM, select the **Connect via RDP** option.
34
+
35
+
:::image type="content" source="./media/connect-virtual-machine-windows-rdp/student-vm-connect-options.png" alt-text="Screenshot that shows VM tile for student, highlighting the connect button and showing the SSH and RDP connection options.":::
36
+
37
+
1. After the RDP connection file download finishes, open the RDP file to launch the RDP client.
38
+
39
+
1. Optionally, adjust the RDP connection settings, and then select **Connect** to start the remote session.
26
40
27
41
## Optimize RDP client settings
28
42
29
-
The RDP client includes various settings that can be adjusted to optimize the user's connection experience. Typically, these settings don't need to be changed. By default, the settings are already configured to choose the right experience based on your network connection. For more information on these settings, see [RDP client's **Experience** settings](/windows-server/administration/performance-tuning/role/remote-desktop/session-hosts#client-experience-settings).
43
+
The RDP client software has various settings for optimizing your connection experience. The default settings optimize your experience based on your network connection. Typically, you don't need to change the default settings.
44
+
45
+
Learn more about the [RDP client's **Experience** settings](/windows-server/administration/performance-tuning/role/remote-desktop/session-hosts#client-experience-settings).
46
+
47
+
If the lab creator configured the GNOME graphical desktop on a Linux lab VM with the RDP client, we recommend the following settings to optimize performance:
30
48
31
-
If your educator has configured the GNOME graphical desktop on a Linux VM with the RDP client, we recommend the following settings to optimize performance:
49
+
- On the **Display** tab, set the color depth to **High Color (15 bit)**.
32
50
33
-
- Under the **Display** tab, set the color depth to **High Color (15 bit)**.
51
+
:::image type="content" source="./media/connect-virtual-machine-windows-rdp/rdp-display-settings.png" alt-text="Screenshot of display tab of the Windows R D P client, highlighting the color depth setting.":::
34
52
35
-
:::image type="content" source="./media/connect-virtual-machine-windows-rdp/rdp-display-settings.png" alt-text="Screenshot of display tab of the Windows R D P client. The color depth setting is highlighted.":::
36
-
- Under the **Experience** tab, set the connection speed to **Modem (56 kbps)**.
53
+
- On the **Experience** tab, set the connection speed to **Modem (56 kbps)**.
37
54
38
-
:::image type="content" source="./media/connect-virtual-machine-windows-rdp/rdp-experience-settings.png" alt-text="Screenshot of experience tab of the Windows R D P client. The connection speed setting is highlighted.":::
55
+
:::image type="content" source="./media/connect-virtual-machine-windows-rdp/rdp-experience-settings.png" alt-text="Screenshot of experience tab of the Windows R D P client, highlighting the connection speed setting.":::
Copy file name to clipboardExpand all lines: articles/lab-services/connect-virtual-machine.md
+32-16Lines changed: 32 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,24 @@
1
1
---
2
-
title: How to connect to an Azure Lab Services VM | Microsoft Docs
3
-
description: Learn how to connect to a VM in Azure Lab Services
2
+
title: How to connect to a lab VM
3
+
titleSuffix: Azure Lab Services
4
+
description: Learn how to connect to a lab VM in Azure Lab Services.
4
5
services: lab-services
6
+
ms.service: lab-services
7
+
author: ntrogh
8
+
ms.author: nicktrog
5
9
ms.topic: how-to
6
-
ms.date: 02/1/2022
10
+
ms.date: 02/17/2023
7
11
---
8
12
9
13
# Connect to a lab VM
10
14
11
-
As a student, you'll need to [start](how-to-use-lab.md#start-or-stop-the-vm) and then connect to your lab VM to complete your lab work. How you connect to your VM will depend on the operating system (OS) of the machine your using and the OS of the VM your connecting to.
15
+
In this article, you learn how to connect to a lab virtual machine (VM) in Azure Lab Services. Depending on the operating system (OS) and your local machine, you can use different mechanisms, such as secure shell (SSH) or remote desktop (RDP), to connect to your VM.
16
+
17
+
To connect to a lab VM, the VM must be running. Learn more about [how to start and stop a lab VM](how-to-use-lab.md#start-or-stop-the-vm).
12
18
13
19
## Connect to a Windows lab VM
14
20
15
-
If connecting *to a Windows VM*, follow the instructions based on the type of OS you're using.
21
+
Follow these instructions to connect to a Windows-based lab VM. Choose the instructions that match your local machine's operating system.
16
22
17
23
| Client OS | Instructions |
18
24
| --------- | ------------ |
@@ -22,18 +28,18 @@ If connecting *to a Windows VM*, follow the instructions based on the type of OS
22
28
23
29
## Connect to a Linux lab VM
24
30
25
-
This section shows students how to connect to a Linux VM in a lab using secure shell protocol (SSH), remote desktop protocol (RDP), or X2Go.
31
+
To connect to a Linux-based lab VM, you can use the secure shell protocol (SSH), remote desktop protocol (RDP), or X2Go.
26
32
27
-
SSH is configured automatically for Linux VMs. Both students and educators can SSH into Linux VMs without any extra setup. However, if students need to connect to using a GUI, the educators may need to do extra setup on the template VM.
33
+
Azure Lab Services automatically configures SSH for Linux VMs. Both lab users and lab creators can SSH into Linux VMs without additional setup. If you want to connect to a VM with a Linux GUI, the lab creator might need to do extra setup on the template VM.
28
34
29
35
> [!WARNING]
30
-
> If you need to use [GNOME](https://www.gnome.org/) or [MATE](https://mate-desktop.org/) you should coordinate with your educator to ensure your lab VM is properly configured. For details, see [Using GNOME or MATE graphical desktops](how-to-enable-remote-desktop-linux.md#using-gnome-or-mate-graphical-desktops).
36
+
> If you need to use [GNOME](https://www.gnome.org/) or [MATE](https://mate-desktop.org/) you should coordinate with the lab creator to ensure that your lab VM has the correct configuration. For details, see [Using GNOME or MATE graphical desktops](how-to-enable-remote-desktop-linux.md#using-gnome-or-mate-graphical-desktops).
31
37
32
-
### Connect to a Linux lab VM Using RDP
38
+
### Connect to a Linux lab VM using RDP
33
39
34
-
An educator must first [enable remote desktop connection for Linux VMs](how-to-enable-remote-desktop-linux.md#rdp-setup).
40
+
Before you can connect to a Linux VM using RDP, the lab creator first needs to[enable remote desktop connection for Linux VMs](how-to-enable-remote-desktop-linux.md#rdp-setup).
35
41
36
-
To connect *to a Linux VM using RDP*, follow the instructions based on the type of OS you're using.
42
+
To connect to a Linux VM using RDP, follow the instructions based on the type of OS you're using.
37
43
38
44
| Client OS | Instructions |
39
45
| --------- | ------------ |
@@ -45,22 +51,32 @@ To connect *to a Linux VM using RDP*, follow the instructions based on the type
45
51
46
52
Linux VMs can have X2Go enabled and a graphical desktop installed. For more information, see [X2Go Setup](how-to-enable-remote-desktop-linux.md#setting-up-x2go) and [Using GNOME or MATE graphical desktops](how-to-enable-remote-desktop-linux.md#using-gnome-or-mate-graphical-desktops).
47
53
48
-
For instructions to connect *to a Linux VM using X2Go*, see [Connect to a VM using X2Go](connect-virtual-machine-linux-x2go.md).
54
+
For instructions to connect to a Linux VM using X2Go, see [Connect to a VM using X2Go](connect-virtual-machine-linux-x2go.md).
49
55
50
56
### Connect to a Linux lab VM using SSH
51
57
52
-
By default Linux VMs have SSH installed. To connect *to a Linux VM using SSH*, do the following actions:
58
+
By default Linux VMs have SSH installed. To connect to a Linux VM using SSH:
59
+
60
+
1. If you're using a Windows machine to connect to the lab VM, ensure you have SSH client software on your machine.
61
+
62
+
The latest version of Windows 10 and Windows 11 include a built-in SSH client. Learn how you can use the [access the built-in SSH client](/windows/terminal/tutorials/ssh).
63
+
64
+
Alternately, you can download an SSH client, such as [PuTTY](https://www.putty.org/) or enable [OpenSSH in Windows](/windows-server/administration/openssh/openssh_install_firstuse).
53
65
54
-
1. If using a Windows machine to connect to a Linux VM, first install an ssh client like [PuTTY](https://www.putty.org/) or enable [OpenSSH in Windows](/windows-server/administration/openssh/openssh_install_firstuse).
55
-
1.[Start the VM](how-to-use-lab.md#start-or-stop-the-vm), if not done already.
56
-
1. Once the VM is running, select **Connect**, which will show a dialog box that provides the SSH command string. The connection command will look like the following sample:
66
+
1. If the lab VM is not running, go to the [Azure Lab Services website](https://labs.azure.com), and then [start the lab VM](how-to-use-lab.md#start-or-stop-the-vm).
67
+
68
+
1. Once the VM is running, select the **Connect** icon > **Connect via SSH**, to get the SSH command string
69
+
70
+
The connection command looks like the following sample:
0 commit comments