How to customize xrdp installation on Ubuntu 12.10 – Part II

Note :  If you would like to read part I from III of this post series, have a look at

 

 

Hello World,

In this serie related to xrdp package, we will show you how you can customize a little bit the login screen presented to you by the xrdp software solution.  In order to achieve this goal, we need to install the latest version of the xrdp package.  This means that you have to install and compile the xrdp packages from source and avoiding the use of the xrdp package available in the ubuntu repository.

In Part I, we have spend some time explaining how you could manually install and compile xrdp package from source and have a working solution.  There are quite a lot of steps to perform in order to have a running xrdp solution even if the installation process is not complex at all.

Some people might want to have a more automated way to perform such installation.   If you remember, in this post, I was mentioning that I had found an interesting link that would provide a great amount of information about xrdp.  I visited back this web site and I’ve found that the guy had developed a nice little utility that can help automate the installation of xrdp packages.

In this post, we will be using this utililty which is called X11rd-o-Matic & RDPsesconfig

Ready… so let’s go !

Reminder  

We remind you that when using xrdp solution against a ubuntu 12.10 operating system, you will not be able to access the unity desktop.  You will need to configure an alternate desktop solution.   This process has been explained in this post

Automating the xrdp installation using X11rd-o-matic & RDPSesconfig script

We have seen how we could perform a manual installation here.  However,  you want to have a easier and more automated way to perform a custom installation of  the xrdp package.  This is where the  utility called X11rd-o-Matic & RDPsesconfig can help us.  To automate the xrdp installation, perform the following operations :

Step 1 – So, the first step would consist of downloading the utility.  You can get it  from this location

Step 2  – Go to the folder where you have downloaded the X11rd-o-matic package (in my case /home/griffon/Downloads), right-click on the package and select on extract here.

Click picture for better resolution

Step 3  – Open a terminal box, browse to the folder where you have extracted the files

Click picture for better resolution


Step 4  – From there, locate the script X11rdp-o-matic.sh file.  This is the script that you will have to launch in order to have an automated installation of xrdp and related dependencies packages.  To start the script, you will need to type the following command

  • sudo ./X11rdp-o-matic.sh

Click picture for better resolution

Step 5  – In the Welcome dialog box that will be displayed, Press OK

Click picture for better resolution

Step 6  – The script will start running, updating,installing and compiling required packages for you.

Click picture for better resolution

Click picture for better resolution

Click picture for better resolution

Note:
This process can take quite some time. It took me between 30 and 50 minutes to have the process completed….
Step 7  – Follow the instructions on the screen. When the script finishes to run,  you should see the congratulations window.  Simply Press OK

Click picture for better resolution

Step 8  – You will need to run another script in order to configure the alternate desktop you wanna use.  From your terminal console, simply type
  • sudo ./RDPsesconfig.sh

Click picture for better resolution


Step 9  – From the list, select the preferred desktop to be used.  In my case, I have selected the gnome classic desktop option.  Press OK and you should be good to go

Click picture for better resolution

Step 10 – At this stage, you should be ready to test your configuration.  As usual, I would recommend you to restart your ubuntu machine to ensure that the services start automatically.

Click picture for better resolution


Final notes

And voila ! Again, you have succesfully completed a custom xrdp installation.  In Part I, we have seen how to perform the manual installation.  In Part II, this post we have shown you how to use the really good X11rdp-o-matic script.  Now, It’s up to you to choose which method best fits your needs.  In Part III (which is on the way), we will finally show you how to customize your xrdp logon experience.

Do not expect fancy customization given that xrdp offers only a limited set of options

Till next time

See ya

 

 

 

Leave a Reply