using windows rdp to access your ubuntu instance

7

Upload: paramaguru85

Post on 23-Dec-2015

3 views

Category:

Documents


0 download

DESCRIPTION

Using Windows RDP to Access your Ubuntu Instance

TRANSCRIPT

Page 1: Using Windows RDP to Access your Ubuntu Instance

SUPPORT (HTTP://HPCLOUD.COM/SUPPORT)

PARTNERS (HTTP://HPCLOUD.COM/PARTNERS)

MARKETPLACE (HTTP://MARKETPLACE.HPCLOUD.COM)

ABOUT (HTTP://HPCLOUD.COM/ABOUT) HP.COM (HTTP://HP.COM)

CONTACT (HTTP://HPCLOUD.COM/ABOUT/CONTACT) LOGIN (/SSO/LOGIN)

Search

Using Windows RDP to Access your Ubuntu Instance

(//community.hpcloud.com/)

Products& Services(http://hpcloud.com/products-services)

CloudSolutions(http://hpcloud.com/solutions)

Why HPCloud?(http://hpcloud.com/why-hp-cloud)

LearningCenter(http://hpcloud.com/learning-center)

TheBlog(http://hpcloud.com/blog)

Sign UpToday(http://hpcloud.com/free-trial)

By WilliamHelionSupport (/profile/william-roper), 1 year 9 months ago

PurposeTo show the steps required to setup Ubuntu Desktop on an Ubuntu 12.04 instance in our environment and connect to it using the WindowsRemote Desktop Connection utility.

Notes

Using this method of interacting with your instance will be slower so keep that in mind. By default our Linux instances are setup forterminal access only.These steps were tested on our Ubuntu 12.04 LTS image only

Pre-requisites

Must have port 3389 open in the security group associated with your instance. If you have the Windows Firewall enabled on yourinstance you must also have that port allowed as well.

Walk-through Steps

Installing XRDP on Ubuntu for RDP connectionThese steps will allow you to access a Desktop GUI environment for your Ubuntu 12.04 instance using the Remote Desktop Connectionprogram on your Windows machine.

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 shouldhelp:Managing Your Security Groups in 13.5 (https://community.hpcloud.com/article/managing-your-security-groups-135)

3. Once the installation is complete you will need to start the XRDP Application:

sudo /etc/init.d/xrdp start

Chat with HP Helion

HP sites use data collection tools such as cookies. HP uses these tools to:

Personalise your experience on HP websites

Allow HP, using partners, to show HP ads meeting your interests on other websites

Collect anonymous statistical information to enhance site functionality and performance

You can change these settings at any time by going to our PrivacyStatement (http://www8.hp.com/uk/en/privacy/privacy.html) .By clicking continue you confirm your understanding and agreement forcookies settings as indicated on left.

+ Learn the benefits of choosing Yes ()Continue

Page 2: Using Windows RDP to Access your Ubuntu Instance

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 administratortasks. 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 findthe 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:

Page 3: Using Windows RDP to Access your Ubuntu Instance

Categories: Compute v13.5 (/knowledge-base-categories/compute-v135) and Additional Tools (/knowledge-base-categories/additional-tools-1)

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!

Related ResourcesThere are numerous resources for this function on the Internet but none specifically that we wanted to recommend.

Last Updated: 7/23/2014

RDP (/knowledge-base-keywords/rdp)

XRDP (/knowledge-base-keywords/xrdp)

GUI (/knowledge-base-keywords/gui)

VNC (/knowledge-base-keywords/vnc)

Remote Desktop Protocol (/knowledge-base-keywords/remote-desktop-pro…

Ubuntu (/knowledge-base-keywords/ubuntu)

Rate This Article:

Average: 5 (6 votes)

Page 4: Using Windows RDP to Access your Ubuntu Instance

Most Popular Articles

more (/knowledge-base-most-popular)

Featured Articles

Newest Articles

How do I set up RightScale on HP Helion PublicCloud? (/article/how-do-i-set-rightscale-hp-helion-public-cloud)

Stored in Compute v13.5 (/knowledge-base-categories/compute-v135),Partner Images (/knowledge-base-categories/partner-images)

Activating CDN for your Object Storage(/article/activating-cdn-your-object-storage)

Stored in Object Storage (/knowledge-base-categories/object-storage), Public Cloud Console (/knowledge-base-categories/public-cloud-console)

How to Create or Delete a Network(/article/how-create-or-delete-network)

Stored in Compute v13.5 (/knowledge-base-categories/compute-v135), Public Cloud Console(/knowledge-base-categories/public-cloud-console-0)

HP Helion Public Cloud - Support Reference(/article/hp-helion-public-cloud-support-reference)

Stored in Account (/knowledge-base-categories/account), Compute v13.5(/knowledge-base-categories/compute-v135), Getting Started (/knowledge-base-categories/getting-started-0)

Using WinSCP to transfer files to yourInstance (/article/using-winscp-transfer-files-your-instance)

Stored in Compute v13.5 (/knowledge-base-categories/compute-v135), Additional Tools (/knowledge-base-categories/additional-tools-1)

Get Public IP Within Instance(/article/get-public-ip-within-instance)

Stored in Compute v13.5 (/knowledge-base-categories/compute-v135), Additional Tools (/knowledge-base-categories/additional-tools-1)

HP Helion PublicCloud - Quick StartGuide (/article/hp-helion-public-cloud-quick-start-guide)

Stored in Compute v13.5(/knowledge-base-categories/compute-v135), GettingStarted (/knowledge-base-categories/getting-started-0)

HP Helion Public Cloud -Support Reference(/article/hp-helion-public-cloud-support-reference)

Stored in Account (/knowledge-base-categories/account), Compute v13.5(/knowledge-base-categories/compute-v135),Getting Started (/knowledge-base-categories/getting-started-0)

Command-Line Interface (CLI) Tool Installation Instructions(/article/command-line-interface-cli-tool-installation-instructions)

Stored in Compute v13.5 (/knowledge-base-categories/compute-v135), CLI (/knowledge-base-categories/cli-1), BlockStorage v13.5 (/knowledge-base-categories/block-storage-v135), CLI (/knowledge-base-categories/cli-2), Object Storage(/knowledge-base-categories/object-storage), CLI (/knowledge-base-categories/cli-0), DNS (/knowledge-base-categories/dns), Relational Database (/knowledge-base-categories/relational-database), CLI (/knowledge-base-categories/cli-3)

Using the VNCConsole to AccessYour Instance(/article/using-vnc-console-access-your-instance-0)

Stored in Compute v13.5(/knowledge-base-categories/compute-v135), PublicCloud Console (/knowledge-base-categories/public-cloud-console-0)

Troubleshooting WindowsAdministrator PasswordIssues(/article/troubleshooting-windows-administrator-password-issues)

Stored in Compute v13.5 (/knowledge-base-categories/compute-v135), Public CloudConsole (/knowledge-base-categories/public-cloud-console-0)

How To View Your Open Support Tickets (/article/how-view-your-open-support-tickets)

Stored in Account (/knowledge-base-categories/account)

Creating an Instance with a SpecificFixed IP (/article/creating-instance-specific-fixed-ip)

Stored in Compute v13.5 (/knowledge-base-categories/compute-v135), CLI (/knowledge-base-categories/cli-1)

Manipulating a Block StorageVolume (/article/manipulating-block-storage-volume)

Stored in Block Storage v13.5 (/knowledge-base-categories/block-storage-v135), CLI (/knowledge-base-categories/cli-2)

FAQ - Load Balancing as a Service Transition(/article/faq-load-balancing-service-transition)

Stored in Load Balancer (/knowledge-base-categories/load-balancer)

Rebuilding a Persistent Instance(/article/rebuilding-persistent-instance)

Stored in Compute v13.5 (/knowledge-base-categories/compute-v135), Block Storage v13.5(/knowledge-base-categories/block-storage-v135)

How to contact Support forassistance (/article/how-contact-support-assistance)

Stored in Account (/knowledge-base-categories/account)

How to Fix "Page Not Found" Errors When DownloadingObjects (/article/how-fix-page-not-found-errors-when-downloading-objects)

Stored in Object Storage (/knowledge-base-categories/object-storage), Public CloudConsole (/knowledge-base-categories/public-cloud-console)

Page 5: Using Windows RDP to Access your Ubuntu Instance

more (/knowledge-base-newest-articles)

Search the Knowledge Base

12

2

3

1

0

69

6

14

4

10

11

7

8

10

12

5

Browse by Category

Account (/knowledge-base-categories/account)

Billing (/knowledge-base-categories/billing)

Identity Service (/knowledge-base-categories/identity-service)

API (/knowledge-base-categories/api-1)

Other (/knowledge-base-categories/other-1)

Compute v13.5 (/knowledge-base-categories/compute-v135)

Getting Started (/knowledge-base-categories/getting-started-0)

Public Cloud Console(/knowledge-base-categories/public-cloud-console-0)

API (/knowledge-base-categories/api-2)

CLI (/knowledge-base-categories/cli-1)

Windows (/knowledge-base-categories/windows-0)

Additional Tools (/knowledge-base-categories/additional-tools-1)

Partner Images (/knowledge-base-categories/partner-images)

Other (/knowledge-base-categories/other-2)

Block Storage v13.5(/knowledge-base-categories/block-storage-v135)

Public Cloud Console(/knowledge-base-categories/horizon-console-4)

Page 6: Using Windows RDP to Access your Ubuntu Instance

4

8

15

3

3

4

3

1

0

6

1

11

2

6

3

1

3

1

0

API (/knowledge-base-categories/api-3)

CLI (/knowledge-base-categories/cli-2)

Object Storage (/knowledge-base-categories/object-storage)

Public Cloud Console(/knowledge-base-categories/public-cloud-console)

API (/knowledge-base-categories/api-0)

CLI (/knowledge-base-categories/cli-0)

Additional Tools (/knowledge-base-categories/additional-tools-0)

CDN (/knowledge-base-categories/cdn)

Other (/knowledge-base-categories/other-0)

DNS (/knowledge-base-categories/dns)

Public Cloud Console(/knowledge-base-categories/horizon-console-0)

Relational Database(/knowledge-base-categories/relational-database)

Public Cloud Console(/knowledge-base-categories/horizon-console-1)

CLI (/knowledge-base-categories/cli-3)

Additional Tools (/knowledge-base-categories/additional-tools-2)

Private Beta Services(/knowledge-base-categories/private-beta-services)

Load Balancer (/knowledge-base-categories/load-balancer)

Public Cloud Console(/knowledge-base-categories/horizon-console-3)

Classic Console (/knowledge-base-categories/management-

Page 7: Using Windows RDP to Access your Ubuntu Instance

In the U.S.1-855-61CLOUD

Worldwide+1678-745-9010

Online Support Email (mailto:[email protected]) or Chat with us

The OpenStack® Word Mark and OpenStack Logo are either registered trademarks/service marks or trademarks/service marks of OpenStack, LLC, in the UnitedStates and other countries and are used with OpenStack LLC's permission. We are not affiliated with, endorsed or sponsored by OpenStack LLC, the OpenStackAdvisory Board, or the OpenStack community.

© 2013 Hewlett-Packard Development Company, L.P.HP Helion Public Cloud legal documents and privacy policy (http://www.hpcloud.com/legal-documents)

1

1

console-3)

Monitoring (/knowledge-base-categories/monitoring)

Public Cloud Console(/knowledge-base-categories/horizon-console-5)

(https://twitter.com/hphelioncloud)(http://www.youtube.com/user/hpcloud)(http://h30499.www3.hp.com/hpeb/rss/board?board.id=sws-661)(https://www.facebook.com/hphelion)(https://www.linkedin.com/company/hp-cloud)