How to RDP to your Linux desktop in Azure

Play How to RDP to your Linux desktop in Azure
Sign in to queue


In this video I walk you through an install of Ubuntu Linux 15.10 as a Generation 2 VM in azure. Then I install the LXDE Xwindows desktop. I then install XRDP. Next I add the .xsession file to use LXDE. Lastly, you don't want to forget to open port 3389 on the Azure firewall. The you can use an RDP to connect to the desktop.


For your convenience here are the steps we will go through:

  1. Create Ubuntu 15.10 Gen2 VM (Resource Managed)
  2. ssh into VM with Putty
  3. sudo apt-get update
  4. sudo apt-get install lxde
  5. sudo apt-get install xrdp
  6. echo startlxde > ~/.xsession
  7. sudo /etc/init.d/xrdp start
  8. open port 3389 in Azure firewall
  9. RDP to Ubuntu desktop :)



Download this episode

The Discussion

  • User profile image

    I prefer NoMachine for Ubuntu VM's myself

  • User profile image

    i need to install kali linux but it is failing to login please help me sir
    to solve this problem i had followed above steps but login is failed

  • User profile image
    abdul wahab

    login is successfully but desktop is not showing
    please help me

Add Your 2 Cents