Remote Desktop for a VM Running Ubuntu in Windows Azure

In this post, I’ll walk you through setting up the Ubuntu Desktop on an Azure Virtual Machine and configure it to connect through Windows Remote Desktop.

Section 1: Creating The Ubuntu Desktop Virtual Machine

1st you need to create a Virtual Machine in Azure.You will need an Azure account to do that.
If you don’t have an account then you need to sign up with azure.

After you log in to the azure account click “Virtual Machines” on the left side, then select “New” on the bottom bar, followed by “Virtual Machine” and “From Gallery”.

ubuntu-vm-1

And that brings up “VM OS Selection” dialog. From that choose “Ubuntu Server 12.04 LTS” and then click right arrow button to continue.

ubuntu-vm-2

On the next page, name your machine (Note that this is the machine’s internal host name, not the external DNS name but you can give the same name for both of them).

You also will enter,

a username/password combo
a size of the machine instance (Chose a “Medium” instance (dual core, 3.5GB RAM) since the Desktop takes quite a bit more memory than a server installation).

ubuntu-vm-3

Next, Choose the third-level DNS name for your instance.
Note: for this purpose, we’re using a “Standalone” machine, since we’re not creating a “server farm.”

ubuntu-vm-4

“Availability Sets” are also something used for “server farms.” Lets just leave this as “(None)” and click the check mark (√) to finish.

ubuntu-vm-5

Once that is done, you will see the “Virtual Machines” page with your new VM in the “Starting (Provisioning)” state. It should take a total of approximately five minutes for the machine to fully provision.

Screen-Shot-2012-09-10-at-1.19.24-PM

 

Section 2: Log On To The Ubuntu Desktop Virtual Machine.

1st you’ll need to install an SSH client on the computer you want to use to log on to the virtual machine. There are many SSH client programs that you can choose from. The following are possible choices:

  • On a computer running on Windows operating system, you might want to use an SSH client such as PuTTY.
  • On a computer running a Linux operating system, you might want to use an SSH client such as OpenSSH.

This procedure shows how to use the PuTTY program to access the virtual machine

  1. Find the Host Name and Port information from the Management Portal (You can find the information that you need from the dashboard of the virtual machine). Click the virtual machine name and look for the SSH Details in the Quick Glance section of the dashboard
    sshdetails
  2. Open the PuTTY program and enter the Host Name and the Port information, and then click Openputty
  3. Finally log on to the virtual machine using the account that you specified when the machine was created.sshlogin

Using these steps you can create an Ubuntu Virtual Machine and log in to it.

Advertisements

One thought on “Remote Desktop for a VM Running Ubuntu in Windows Azure

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s