In the previous article we introduced the installation of a graphical interface for CentOS virtual machines on Azure, this article describes the Ubuntu graphical configuration in Azure. This article takes the 16.04 system version as an example.
Create a Ubuntu16.04 virtual machine in the Azure portal, use putty login after creation, and as with CentOS, you need to set the root password and switch to root. Such as
1, installation Xfce4
Execute Apt-get install-y Xfce4
2. Install XRDP components and VNC server
Execute the apt-get install XRDP vnc4server command to Mount Xrdp and VNC, as
Perform echo "Xfce4-session" > ~/.xsession to generate a default profile, such as
3. Restart XRDP Service
Perform service xrdp restart restart XRDP Services
4. Configuring Port Mappings
Virtual machines under arm if you have an NSG configured, you need to be aware of the inbound rules for NSG 3389, and if you are a classic virtual machine, you need to add a remote destktop (3389) endpoint to the virtual machine.
Port input 3389, name input remotedesktop
Ubuntu RDP graphics configuration is good, then you can use MSTSC for remote connection
Unable to verify the identity of the remote computer, click Yes directly
Using the default connection method, enter the user name and password
Azure Linux Virtual Machine Image Configuration II: Ubuntu configuration