Best GUI based remote desktop tool : XRDP

XRDP : Remote Desktop Tool

XRDP [Remote Desktop Tool]

XRDP is an open source remote desktop tool protocol server. With the help of xrpd, we can remotely able to access GUI [graphical user interface] of Linux systems. Based on the work of FreeRDP and rdesktop, xrdp uses the remote desktop protocol to present a GUI to the user.

Benefits of XRDP

  • No need to visit user desk every time to solve issues.
  • Saves time.
  • Faster remote desktop tool for GUI access.

If you are system Admin or IT engineer then this is the best remote desktop tool for you. Lots of time, when the user faces any issue we need to go their desk for solving the issue. XRDP tool can help you to solve the user issues from your desk only.

This is tested on OpenSuse, Linux mint, Ubuntu operating systems and work like a charm. It will also work on different Linux distros.

Let’s start the installation steps of XRDP Remote Desktop Tool or Server.

Step 1: Install Pre-Required Packages

Before start with xrdp remote desktop tool installation, you need to install dependency packages on the system. I have given different types of packages need to install according to their OS.

Dependency Package for Ubuntu/Mint/Debian:

  • libtool
  • libpam0g-dev
  • libxfixes-dev
  • libXrandr-devel
  • libxrandr-dev
  • libssl-dev
  • tightvncserver

Command to install above dependency packages,

$ apt-get update
$ apt-get install libtool libpam0g-dev libxfixes-dev libXrandr-devellibxrandr-dev libssl-dev tightvncserver

Dependency Package for OpenSuse:

  • libtool
  • pam-devel
  • libXfixes-devel

Command to install packages in OpenSuse,

$ zypper install libtool
$ zypper install pam-devel
$ zypper install libXfixes-devel

Step 2 : Download & Extract .tar.gz

Once the installation of dependency package completed, download the xrdp from below magnet link using wget command. Extract tar.gz file using tar command.

$ cd /opt/
$ wget
$ tar -xvf xrdp-v0.6.0.tar.gz

Step 3: Install XRPD

After extracting the tar file you need to install the xrdp using make command. Follow below steps to install XRDP.

$ cd /opt/xrdp-v0.6.0
$ ./bootstrap
$ ./configure
$ make
$ make install

While using ./bootstrap sometimes you get the below error. So I have shared the solution to solve the error. This error you face only when you’re using mint/Debian or ubuntu os.

Error : error, install autoconf,automake
Solution :

$ apt-get install autoconf
$ apt-get install automake

Re-run the above installation commands once the error is solved.

Step 4: Start XRDP Service

When you want to start xrdp service, you need to run or start two services for xrdp. Run below commands to start xrdp,

$ xrdp [This command open port 3389]
$ xrdp-sesman [This command open port 3350]

Step 5 : Stop XRDP Service

Here we don’t have init script to start,stop xrdp service but I will soon provide you same. Until that time if you want to restart the XRDP service then you need to first kill the XRDP then run the above start commands again. Follow below commands to stop xrdp service

$ ps aux | grep xrdp
$ rm -rf /var/run/ /var/run/

OpenSuse to stop service use below commands,

$ xrdp -kill
$ xrdp-sesman -k

That’s it our installation process has been completed. Do remember one thing you need to follow these steps on both the machines. You need to install it on the client and remote systems as well.

Step 6: Take Rdesktop

Now you will be able to take GUI of other machine using below simple command. Check the screenshot for your reference.

$ rdesktop -g 90%

When you entered the above command you will get the screen like below shows in the snapshot.

remote desktop

When you get above screen then from Module drop-down option choose “sesmen-xnvc”.

Now use the username & password of remote machine

Login to xrdp: Module sesmen-Xvnc
username: example
password : ********

After using the credentials you will get the GUI mode of the Remote machine. Check below screenshot.

I hope you like the article if you find any difficulties while installing apache solr with magento then please do comment your queries or problem via the comment section, till then stay tuned to for more such valuable articles.

Latest Comments
  1. Ajay Mistry September 16, 2016
    • Prashant Thorat September 16, 2016

Leave a Reply

Your email address will not be published. Required fields are marked *