xRDP – Remote Desktop Protocol (RDP) server on Ubuntu/Mint

http://www.ubuntugeek.com/xrdp-remote-desktop-protocol-rdp-server.html

RDP Server — An open source RDP server and X server capable of accepting connections from rdesktop and ms terminal server clients.xrdp is a daemon that supports Microsoft’s Remote Desktop Protocol (RDP). It uses Xvnc or X11rdp as a backend

Install xRDP on Ubuntu

Open the terminal and run the following command

sudo apt-get install xrdp

Now you need to install alternate Desktop Environment to be used with xRDP.You can install XFCE or LXDE

For xfce4 run the following command from your terminal

sudo apt-get install xfce4

For lxde run the following command from your terminal

sudo apt-get install lxde

Configure xRDP to use xfce4 or lxde Environment

For xfce4 users

From the terminal issue the following command

echo xfce4-session > ~/.xsession

Restart the xrdp service using following command

sudo service xrdp restart

For lxde users

From the terminal issue the following command

echo lxsession -s LXDE -e LXDE > ~/.xsession

Restart the xrdp service using following command

sudo service xrdp restart

If you have multiple users want to connect ubuntu system using xrdp you will need to configure xsession file for each user

Screenshot

1