https://community.hpcloud.com/article/using-windows-rdp-access-your-ubuntu-instance
1. Install the Ubuntu Desktop environment:
sudo apt-get install ubuntu-desktop
2. Install XRDP using the following command:
sudo apt-get install xrdp
NOTE: User must add port 3389 to Security Groups. If you need assistance setting up your Security Group we have this article which should help:
Managing Your Security Groups in 13.5
3. Once the installation is complete you will need to start the XRDP Application:
sudo /etc/init.d/xrdp start
4. Create a new user that you will use to log into the XRDP:
sudo adduser USERNAME
NOTE: If the server does not accept the name you chose for the account add: "--force-badname" to the end of the command above.
5. The user setup in step 5 will only have login access to the instance but will not be able to install applications or complete administrator tasks. You can grant sudo access to this user by putting them into the sudo group:
sudo adduser USERNAME sudo
Example:
6. Now start “Remote Desktop Connection” from your local machine. From the Run line (Start -> Run) you can type "mstsc" or you can find the program in your Accessories menu.
7. Access the additional options by clicking Show Options:
8. Enter your Floating IP and Username in their respective fields and then click the Connect button to connect:
9. If the desktop comes up blank you may need to do this additional step:
Access your instance via SSH and navigate to the home directory of the user account you created:
su USERNAME
Create a file called .xsession
:
nano .xsession
populate this file with this data:
gnome-session –session=Ubuntu-2d
Exit and save the file with CTRL+X. Then repeat Step #8. You now have a Desktop GUI for your Ubuntu instance!
There are numerous resources for this function on the Internet but none specifically that we wanted to recommend.
Last Updated: 7/23/2014