How to remote desktop into a Linux desktop with the xrdp command.
Very easy when you use xrdp.
This is me using the Windows 8 Remote Desktop client to connect to a Linux machine running Linux Mint 8. This is a way to remotely control a Linux machine with a graphical desktop. This makes remote administration of the Linux server or desktop very easy indeed.
To install the xrdp server on my computer, I typed this command.
sudo apt-get install xrdp
This installed the xrdp server. Then I had to create an ~/.xsession file to define the desktop that the xrdp server would display to a client.
Type sudo apt-get install fluxbox and then add this to the ~/.xsession file using this command.
echo “gnome-session-fallback” > ~/.xsession
This will create the .xsession file that you need. Once this is all ready; open the Remote Desktop dialog and type in the IP address of your Linux box. You might get this error when you use the Windows RDP application to connect to your Linux machine.
This is nothing to worry about. Just click Yes and then connect to your Linux box.
This screenshot below is what the xrdp login dialog looks like. This is a very easy to use remote desktop solution for Ubuntu and Linux Mint. allowing users to administer a Linux box from a Windows laptop. You can also use Putty to access the Linux server; this may be downloaded here: http://s2.enemy.org. But the remote desktop system allows easy display of graphical windows.
So give this a try and see how you go on your own LAN. This is a good way to administer a Linux machine using the graphical desktop. I used the gnome-session-fallback desktop over a LAN with the RDP application and it worked quite well, but videos were a bit slow. You need to use the .xsession file to specify which desktop is loaded in the xrdp session. This is a good way to choose a suitable desktop for RDP. But this really does work. I just tried this again on my Debian 7.1 laptop and it loaded the Xfce4 desktop by default; therefore I defined the gnome-session fallback environment instead. This is a good way to control your PC remotely. There is also a way to RDP to Windows from Linux using the Remmina client. This will be very useful for controlling a Windows computer from a Linux box. This also works very well.
But the xrdp system is a good way to remotely administer a computer and show off the capabilities of Linux. So give this a go and see how useful this is.