Vaibhav Gujral on Mon, 24 Oct 2016 15:39:05
I have created a Linux VM in new portal using resource manager. I am looking to enable RDP on the VM so that I can connect to the desktop and use it. I searched online but am not getting any steps or help in this regard.
Can anyone share the steps needed to enable RDP for a Linux VM created under ARM.
- Vaibhav Gujral
ShuiShengbao on Tue, 25 Oct 2016 03:58:26
According to your description, I tested in my Azure VM. Fortunately, I succeed enable RDP for my VM. My VM is running Ubuntu Server 16.04.
Please refer to the steps below.
Step1 – Install xRDP
sudo apt-get update sudo apt-get install xrdp
Step2 – Install XFCE4
sudo apt-get install xfce4 sudo apt-get install xfce4-terminal sudo apt-get install gnome-icon-theme-full tango-icon-theme
Step3 – Configure xRDP
echo xfce4-session >~/.xsession sudo vi /etc/xrdp/startwm.sh
The content should look like this
#!/bin/sh if [ -r /etc/default/locale ]; then . /etc/default/locale export LANG LANGUAGE fi
Step4 – Restart xRDP
sudo service xrdp restart
Step5 – Configure NSG rule
For Inbound security rule, the port 3389 are allowed to access.
Step6 – Testing your xRDP connection
If you still have questions, welcome to post back here. Thanks.
Please remember to mark the replies as answers if they help and
unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact email@example.com.