Skip to content

Commit 0743492

Browse files
committed
Update connect X2Go for freshness
1 parent bd5afbf commit 0743492

File tree

1 file changed

+26
-16
lines changed

1 file changed

+26
-16
lines changed
Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,66 @@
11
---
2-
title: Connect to a Linux VM using X2Go in Azure Lab Services | Microsoft Docs
2+
title: Connect to a Linux VM using X2Go
3+
titleSuffix: Azure Lab Services
34
description: Learn how to use X2Go for Linux virtual machines in a lab in Azure Lab Services.
5+
services: lab-services
6+
ms.service: lab-services
7+
author: ntrogh
8+
ms.author: nicktrog
49
ms.topic: how-to
5-
ms.date: 02/01/2022
10+
ms.date: 04/24/2023
611
---
712

8-
# Connect to a VM using X2Go
13+
# Connect to a lab VM using X2Go in Azure Lab Services
914

10-
Students can use X2Go to connect to their Linux VMs after their educator sets up their lab with X2Go and the GUI packages for a Linux graphical desktop environment
15+
In this article, you learn how to connect to a Linux-based lab VM in Azure Lab Services by using X2Go. Before you can connect with X2Go, the lab needs to have the X2Go and the GUI packages for a Linux graphical desktop environment.
1116

12-
Students need to find out from their educator which Linux graphical desktop environment their educator has installed. This information is needed in the next steps to connect using the X2Go client.
17+
When you connect to the lab VM by using X2Go, you need to provide the Linux graphical desktop environment version. For example, select `XFCE` if you're using either XFCE or Xubuntu graphical desktop environments. You can get this information from the person that created the lab.
1318

1419
## Install X2Go client
1520

16-
Install the [X2Go client](https://wiki.x2go.org/doku.php/doc:installation:x2goclient) on your local computer. Follow the instructions that match the client OS you are using.
21+
Install the [X2Go client](https://wiki.x2go.org/doku.php/doc:installation:x2goclient) on your local computer. Follow the instructions that match your client OS.
1722

1823
## Connect to the VM using X2Go client
1924

20-
1. Copy SSH connection information for VM. For instructions to get the SSH command, see [Connect to a Linux lab VM Using SSH](connect-virtual-machine.md#connect-to-a-linux-lab-vm-using-ssh). You need this information to connect using the X2Go client.
25+
1. Copy SSH connection information for the lab VM.
26+
27+
Learn how to [Connect to a Linux lab VM Using SSH](connect-virtual-machine.md#connect-to-a-linux-lab-vm-using-ssh). You need this information to connect using the X2Go client.
2128

2229
1. Once you have the SSH connection information, open the X2Go client and select **Session** > **New Session**.
2330

2431
:::image type="content" source="./media/how-to-use-classroom-lab/x2go-new-session.png" alt-text="Screenshot of X 2 Go client Session menu.":::
2532

26-
1. Enter the values in the **Session Preferences** pane based on your SSH connection information. For example, your connection information will look similar to following command.
33+
1. Enter the values in the **Session Preferences** pane based on your SSH connection information.
34+
35+
For example, your connection information might look similar to following command.
2736

2837
```bash
2938
ssh -p 12345 student@ml-lab-00000000-0000-0000-0000-000000000000.eastus2.cloudapp.azure.com
3039
```
3140

32-
Using this example, the following values are entered:
41+
Based on this sample, enter the following values:
3342

3443
- **Session name** - Specify a name, such as the name of your VM.
3544
- **Host** - The ID of your VM; for example, **`ml-lab-00000000-0000-0000-0000-000000000000.eastus2.cloudapp.azure.com`**.
3645
- **Login** - The username for your VM; for example, **student**.
3746
- **SSH port** - The unique port assigned to your VM; for example, **12345**.
38-
- **Session type** - Select the Linux graphical desktop environment that your educator configured your VM. You need to get this information from your educator. For example, select `XFCE` if you're using either XFCE or Xubuntu graphical desktop environments.
47+
- **Session type** - Select the Linux graphical desktop environment that was used when setting up the lab. For example, select `XFCE` if you're using either XFCE or Xubuntu graphical desktop environments.
3948
40-
Finally, select **OK** to create the session.
49+
1. Select **OK** to create the remote session.
4150
4251
:::image type="content" source="./media/how-to-use-classroom-lab/x2go-session-preferences.png" alt-text="Screenshot of new session window in X 2 Go client. The session name, server information and session type settings are highlighted.":::
4352
44-
1. Select on your session in the right-hand pane.
53+
1. Select your session in the right-hand pane.
4554
4655
:::image type="content" source="./media/how-to-use-classroom-lab/x2go-start-session.png" alt-text="Screenshot of X 2 Go with saved session.":::
4756
4857
> [!NOTE]
49-
> If you are prompted with a message about authenticity, select **yes** to continue to entering your password. Message will be similar to "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)?"
58+
> If you're prompted with a message about authenticity, select **yes** to continue, and enter your password. The message is similar to "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)?"
59+
60+
1. When prompted, enter your password and select **OK**.
5061

51-
1. When prompted, enter your password and select **OK**. You'll now be remotely connected to your VM's GUI desktop environment.
62+
You're now remotely connected to your lab VM's GUI desktop environment.
5263

5364
## Next steps
5465

55-
- [As an educator, configure X2Go on a template VM](how-to-enable-remote-desktop-linux.md#setting-up-x2go)
56-
- [As a student, stop the VM](how-to-use-lab.md#start-or-stop-the-vm)
66+
- [Configure X2Go on a template VM](how-to-enable-remote-desktop-linux.md#setting-up-x2go)

0 commit comments

Comments
 (0)