Skip to content

Commit 2a655cb

Browse files
committed
Learn Editor: Update use-remote-desktop.md
1 parent 3abfb45 commit 2a655cb

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

articles/virtual-machines/linux/use-remote-desktop.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@ When new to Linux, or for quick troubleshooting scenarios, the use of remote des
1919

2020
The article was written and tested using an Ubuntu 18.04 VM.
2121

22+
> [!NOTE]
23+
> Using Remote Desktop over the internet will introduce noticeable "lag" (input latency) when compared to local desktop use. This can be influenced by multiple factors including local internet speed and distance from the datacenter where the virtual machine is hosted. This lag does not usually reflect the performance of the VM itself.
24+
2225
## Prerequisites
2326

2427
This article requires an existing Ubuntu 18.04 LTS or Ubuntu 20.04 LTS VM in Azure. If you need to create a VM, use one of the following methods:
2528

26-
- The [Azure CLI](quick-create-cli.md)
27-
- - The [Azure portal](quick-create-portal.md)
28-
29-
29+
- - The [Azure CLI](quick-create-cli.md)
30+
- The [Azure portal](quick-create-portal.md)
31+
3032
## Install a desktop environment on your Linux VM
3133

3234
Most Linux VMs in Azure don't have a desktop environment installed by default. Linux VMs are commonly managed using SSH connections rather than a desktop environment, however there are several desktop environments that you can choose to install. Depending on your choice of desktop environment, it consumes up to 2 GB of disk space and take up to ten minutes to both install and configure all the required packages.
@@ -35,7 +37,6 @@ The following example installs the lightweight [xfce4](https://www.xfce.org/) de
3537

3638
First, SSH to your VM. The following example connects to the VM named *myvm.westus.cloudapp.azure.com* with the username of *azureuser*. Use your own values:
3739

38-
3940
```bash
4041
4142
```
@@ -44,7 +45,6 @@ If you're using Windows and need more information on using SSH, see [How to use
4445

4546
Next, install xfce using `apt` :
4647

47-
4848
```bash
4949
sudo apt-get update
5050
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install xfce4
@@ -89,6 +89,8 @@ sudo passwd azureuser
8989
9090

9191

92+
93+
9294
## Create a Network Security Group rule for Remote Desktop traffic
9395
To allow Remote Desktop traffic to reach your Linux VM, a network security group rule needs to be created that allows TCP on port 3389 to reach your VM. For more information about network security group rules, see [What is a network security group?](../../virtual-network/network-security-groups-overview.md) You can also [use the Azure portal to create a network security group rule](../windows/nsg-quickstart-portal.md).
9496

@@ -144,10 +146,13 @@ After authenticating, the xfce desktop environment will load and look similar to
144146
![xfce desktop environment through xrdp](./media/use-remote-desktop/xfce-desktop-environment.png)
145147

146148

149+
147150
If your local RDP client uses network level authentication (NLA), you may need to disable that connection setting. XRDP does not currently support NLA. You can also look at alternative RDP solutions that do support NLA, such as [FreeRDP](https://www.freerdp.com).
148151

149152

150153

154+
155+
151156
## Troubleshoot
152157
If you can't connect to your Linux VM using a Remote Desktop client, use `netstat` on your Linux VM to verify that your VM is listening for RDP connections as follows:
153158

@@ -179,6 +184,7 @@ Other Linux distributions such as Red Hat Enterprise Linux and SUSE may have dif
179184
If you don't receive any response in your remote desktop client and don't see any events in the system log, this behavior indicates that remote desktop traffic can't reach the VM. Review your network security group rules to ensure that you have a rule to permit TCP on port 3389. For more information, see [Troubleshoot application connectivity issues](/troubleshoot/azure/virtual-machines/troubleshoot-app-connection).
180185

181186

187+
182188
## Next steps
183189
For more information about creating and using SSH keys with Linux VMs, see [Create SSH keys for Linux VMs in Azure](mac-create-ssh-keys.md).
184190

0 commit comments

Comments
 (0)