Skip to content

Day 2 Supplement: Creating an Ubuntu VM with GUI Based Remote Desktop and Docker Image

I’ll probably skip the creating of the a VM, and assume that you already have SSH access to a Ubuntu VM hosted on Azure.

Following this guide here, below are the list of commands

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
sudo groupadd docker
sudo usermod -aG docker $USER

sudo apt-get install lxde -y
sudo apt-get install xrdp -y

/etc/init.d/xrdp start

sudo apt-get install xfce4
sudo echo “xfce4-session” > ~/.xsession
sudo /etc/init.d/xrdp start
sudo /etc/init.d/xrdp status

enabling ubuntu desktop and

restart VM

Published inUncategorized

Be First to Comment

Leave a Reply

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