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
RDP (Remote Desktop Protocol) is a proprietary protocol used for Windows. How can we use RDP to connect to a Linux VM (virtual machine) remotely?
27
27
28
-
This guidance will give you the answer! It will help you to install and config xrdp on your Microsoft Azure Linux VM, and you are able to connect it with Remote Desktop from a Windows machine. We will use Linux VM running Ubuntu or OpenSUSE as the example in this guidance.
28
+
This guidance will give you the answer! It will help you to install and config xrdp on your Microsoft Azure Linux VM, which lets you connect to it with Remote Desktop from a Windows machine. We will use Linux VM running Ubuntu or OpenSUSE as the example in this guidance.
29
29
30
-
Xrdp is an open source RDP server, which allows you to connect your Linux server with Remote Desktop from a Windows machine. It performs much nicer than VNC (Virtual Network Computing). VNC has this streak of “JPEG” quality and slow behavior, whereas RDP is fast and crystal clear.
30
+
The xrdp tool is an open source RDP server that allows you to connect your Linux server with Remote Desktop from a Windows machine. RDP has better performance than VNC (Virtual Network Computing). VNC renders using JPEG-quality graphics and can be slow, whereas RDP is fast and crystal clear.
31
31
32
32
> [!NOTE]
33
33
> You must already have an Microsoft Azure VM running Linux. To create and set up a Linux VM, see the [Azure Linux VM tutorial](createportal.md).
34
34
>
35
35
>
36
36
37
-
## Create endpoint for Remote Desktop
38
-
We will use the default endpoint 3389 for Remote Desktop in this doc. So set up 3389 endpoint as Remote Desktop to your Linux VM like below:
37
+
## Create an endpoint for Remote Desktop
38
+
We will use the default endpoint 3389 for Remote Desktop in this doc. Set up 3389 endpoint as `Remote Desktop` to your Linux VM like below:
if you didn't know how to set up endpoint to your VM, see [guidance](setup-endpoints.md).
42
+
If you don't know how to set up an endpoint for your VM, see [this guidance](setup-endpoints.md).
43
43
44
44
## Install Gnome Desktop
45
-
Connect to your Linux VM through putty, and install `Gnome Desktop`.
45
+
Connect to your Linux VM through `putty`, and install `Gnome Desktop`.
46
46
47
47
For Ubuntu, use:
48
48
@@ -62,7 +62,7 @@ For Ubuntu, use:
62
62
For OpenSUSE, use:
63
63
64
64
> [!NOTE]
65
-
> Update the OpenSUSE version with the version you are using into below command, below is an example command for `OpenSUSE 13.2`.
65
+
> Update the OpenSUSE version with the version you are using in the following command. The example below is for `OpenSUSE 13.2`.
66
66
>
67
67
>
68
68
@@ -78,35 +78,34 @@ For OpenSUSE, use:
78
78
79
79
For Ubuntu, xrdp will be started and eanbled at boot-up automatically after installation.
80
80
81
-
## Using xfce if you are using Ubuntu version later than Ubuntu 12.04LTS
82
-
Because current xrdp could not support the Gnome Desktop from Ubuntu version later than Ubuntu 12.04LTS, we will use `xfce` Desktop instead.
81
+
## Using xfce if you are using an Ubuntu version later than Ubuntu 12.04LTS
82
+
Because the current version of xrdp does not support Gnome Desktop for Ubuntu versions later than Ubuntu 12.04LTS, we will use `xfce` Desktop instead.
83
83
84
-
Install `xfce`, use:
84
+
To install `xfce`, use this command:
85
85
86
86
#sudo apt-get install xubuntu-desktop
87
87
88
-
Then enable `xfce`, use:
88
+
Then enable `xfce` using this command:
89
89
90
90
#echo xfce4-session >~/.xsession
91
91
92
-
Edit the config file `/etc/xrdp/startwm.sh`, use:
92
+
Edit the config file `/etc/xrdp/startwm.sh`:
93
93
94
94
#sudo vi /etc/xrdp/startwm.sh
95
95
96
-
Add line `xfce4-session` before the line `/etc/X11/Xsession`.
96
+
Add the line `xfce4-session` before the line `/etc/X11/Xsession`.
97
97
98
-
Restart xrdp service, use:
98
+
To restart the xrdp service, use this:
99
99
100
100
#sudo service xrdp restart
101
101
102
102
103
103
## Connect your Linux VM from a Windows machine
104
-
In a Windows machine, start the remote desktop client, input your Linux VM DNS name, or go to `Dashboard` of your VM in Azure classic portal and click `Connect` to connect your Linux VM, you will see below login window:
104
+
In a Windows machine, start the Remote Desktop client and input your Linux VM DNS name. Or go to the Dashboard of your VM in the Azure portal and click `Connect` to connect your Linux VM. In that case, you see the login window:
105
105
106
106

107
107
108
-
Login with the `user` & `password` of your Linux VM, and enjoy the Remote Desktop from your Microsoft Azure Linux VM right now!
108
+
Log in with the user name and password of your Linux VM.
109
109
110
110
## Next
111
-
For more information to use xrdp, you could refer [here](http://www.xrdp.org/).
112
-
111
+
For more information about using xrdp, see [http://www.xrdp.org/](http://www.xrdp.org/).
0 commit comments