Click here to Skip to main content
12,694,691 members (32,845 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


5 bookmarked

Windows :xRDP to Ubuntu

, 21 Mar 2014 CPOL
Rate this:
Please Sign up or sign in to vote.
Windows :xRDP to Ubuntu

In my technical journey, my next goal is to master BIG DATA and NoSQL. With the support of my manager and a colleague, we received 5 Linux Virtual Machines from the IT Team (3 of them running CENTOS 6.5 and  2 running UBUNTU).

Our personal/official Laptops run on Windows 8/8.1. So our pre-requisite is to set up RDP to these linux machines.

On some research, we found that xrdp is the best option to remotely connect to these LINUX machines from Windows.

Step 1: Putty on Windows

  • PuTTY is an SSH and telnet client. You can download putty here (opt for putty.exe)
  • Once you run Putty.exe, this is what you see.


  • Enter the Host Name/IP address provided to you. If not available, contact your IT Team.

Step 2: Installing xRDP

  • Once you provide a valid host name/IP address, putty console will open asking for username and password (will not be visible while typing).
  • Once you successfully login, this is what you see.


If you see “username is not in the sudoers file“.

  • Try with root username and password.
  • If root username and password is not available, add your username to administrator group.

Run the commands below, one after another.


  • Run next command only if the previous command succeeds.
  • Enter y/Y whenever asked for [y/N]
  1. sudo apt-get install xrdp
  2. sudo apt-get install gnome-session-fallback
  3. sudo /etc/init.d/xrdp restart
  4. cd ~
  5. ls -l
  6. echo “gnome-session –session=gnome-fallback” > .xsession
  7. ls -la
  8. cat .xsession

Step 3: RDP To Ubuntu from Windows

  • After successfully running all the commands above, now you should be able to log into the ubuntu machine.


  • Use the same credentials which you used initially with putty to login.
  • If you see a blue screen with distorted icons once you login, run this command:
    sudo apt-get install ubuntu-desktop


Stay tuned for my next post on “xRDP to CENTOS 6.5″


Filed under: Operating System Tagged: Windows :xRDP to Ubuntu, xrdp to ubuntu from windows


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Vidyasagar Machupalli
Software Developer (Senior)
India India
Developer | Blogger | Mentor | Gamer | Microsoft MVP
Coder by profession | Gamer By Heart
Technical Blog :
About me:

You may also be interested in...

Comments and Discussions

-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 22 Mar 2014
Article Copyright 2014 by Vidyasagar Machupalli
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid