Connect to Ubuntu 12.04 (Precise Pangolin) via Windows Remote Desktop

Connect to Ubuntu 12.04 (Precise Pangolin) via Windows Remote Desktop

Want to connect to Ubuntu 12.04 from Windows 7 via Remote Desktop Connection? Well, it’s now easy to do it with xRDP server. In the past, it was almost impossible to do but thanks to xRDP, you can easily use Microsoft RDP to connect to Ubuntu without any configuration.
All you need to do is install the xrdp package, then open Remote Desktop Connection from Windows and connect. That’s it, nothing to configure.
Without wasting anymore of your time, let’s get going.
Objectives:
  • Connect to Ubuntu from Windows via RDP Protocol
  • Enjoy!
To get started, press Ctrl – Alt – T on your keyboard to open Terminal. When it opens, run the commands below to install xRDP package.
sudo apt-get install xrdp

xrdp_precise

Next, open Windows’ Remote Desktop Connection and type Ubuntu hostname or IP address.

xrdp_precise_1

When prompted, type your Ubuntu username and password to connect.

xrdp_precise_2

Enjoy!

xrdp_precise_3

If you have a problem connecting, run the commands below and restart Ubuntu, then try again.
echo "gnome-session --session=ubuntu-2d" > ~/.xsession

Or install gnome session fallback.
sudo apt-get install gnome-session-fallback