Windows Remote Desktop Connection to Ubuntu GUI on AWS EC2

Posted October 11th, 2018 by Harish KM 3311 Views

This article describes the steps involved in creating an Ubuntu EC2 instance, setting up a full-fledged GUI desktop environment on it & connecting to it via Windows Remote Desktop Connection.

We start with the EC2 Console at Click Launch Instance:

Choose the Ubuntu AMI:

Choose an Instance Type:

Launch the instance. Go to EC2 Console > Instances, select the instance & click Connect:

Follow these instructions to connect to the instance & install Ubuntu desktop packages:

sudo apt update
sudo apt install ubuntu-desktop

Install xrdp to allow RDP connections:

sudo apt install xrdp

Set a password for the ubuntu user:

sudo passwd ubuntu

Enter the instance’s Public DNS in Remote Desktop Connection dialog & connect as ubuntu:


(Part 2/6 in AWS series)

“Harish KM is a consultant at Systems Plus. The content of this blog is personal & for information purposes only, and is subject to change. Reader discretion is advised”


Leave a Reply

Your email address will not be published. Required fields are marked *