Deploy Xfce Desktop

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Deploy To Azure Deploy To Azure US Gov Visualize

This template uses the Azure Linux CustomScript extension to deploy Xfce Desktop on the VM. It creates an Ubuntu VM, does a silent install of gnome xfce4 desktop and xrdp, allows you to connect it with Remote Desktop from a Windows machine.

We don't install ubuntu-desktop or xubuntu-desktop, because the installation will take so long time, the deployment will fail with the error "Extension installation may be taking too long", hence we install xfce4 desktop instead. xfce4 desktop will give you a basic desktop environment, you still can connect it with Remote Desktop from a Windows machine.

if you find out it's not enough for you, you can continue to install xubuntu-desktop after the deployment. First, use putty or other tools to connect to the VM, then execute the commands below:

sudo apt-get install xubuntu-desktop -y

sudo service xrdp restart

Then re-connect it with Remote Desktop from a Windows machine.

Please kindly note for Ubuntu 15.10, if you face the connection issue, saying "connecting to sesman ip 127.0.0.1 port 3350" then couldn't move on, this is xrdp-sesman didn't start hence caused the issue. To fix it, please use putty to connect to the VM, execute the simple command below

sudo service xrdp restart

Then re-connect it with Remote Desktop from a Windows machine.

Tags: Microsoft.Network/publicIPAddresses, Microsoft.Network/networkSecurityGroups, Microsoft.Network/virtualNetworks, Microsoft.Network/networkInterfaces, Microsoft.Compute/virtualMachines, Microsoft.Compute/virtualMachines/extensions, CustomScript