Today, we will be writing a little bit about XRDP. If you follow us, you know that we have already provided quite useful posts. However, it seems that some of these posts are not always visible or that our readers do not always check for additional resources in our blog.
The post of today would be more a Frequently asked questions (and answer) about xRDP Software solutions. We would like to create a kind of knowledge base for our readers (and the rest of the world obviously). So, if you have encountered an issue or if you have performed some exotic xrdp configuration, let us know and we will publish your tip/workaround/solution on this post…
F.A.Q about xRDP Installation and Configuration
Question 1 – How to perform a standard xRDP Installation on Ubuntu
Answer : Based on your Ubuntu distribution, you might follow different post configuration actions. Since ubuntu 12.10, xrdp does not support the Unity Desktop and you will need to install an alternate desktop environment. Please review the following links below to see how you can perform installation and configuration of the XRDP software based on your Ubuntu Distribution :
- Remote Desktop Connection against Ubuntu 10.10
- How to use Remote Desktop connection against Ubuntu 12.04
- How to remote desktop into ubuntu 12.10 using xRDP
- How to install xrdp in Ubuntu 13.04
- Ubuntu 13.10 – How to install xrdp in Ubuntu 13.10
- Ubuntu 14.04 – How to install xrdp in Ubuntu 14.04
- Ubuntu 14.10 – How to install XRDP and have it working
Question 2 – I have performed a standard installation of xRDP but when I try to perform a remote connection, I have a blank or grey screen. How can I Fix This ?
Answer : Since Ubunut 12.10, the Unity Desktop is not supported with Xrdp. You will need to install an alternate desktop environment and tell your ubuntu system to use this alternate desktop session. Check the links on the Question 1 to see what additonal steps you need to perform in order to have a working xrdp infrastructure.
Question 3 – Which Alternate Desktop Environment can be used with XRDP solution ?
Answer : Since Ubuntu 12.10, you cannot use the Unity Desktop Environment. Since Ubuntu 13.04, you cannot use the Gnome-Fallback Desktop Environment.
You can use the following alternate desktops :
We have not tested the Cinnamon interface yet but we think it would not work as it’s based on recent Gnome Desktop.
Question 4 – How to configure XRDP To Use KDE ?
Answer : Follow the instructions provided in this post : Ubuntu 14.10 – KDE as alternative Desktop for XRDP sessions
Question 5 – How to configure XRDP To Use LXQT ?
Answer : Follow the instructions provided in this post : Ubuntu 14.10 – LXQT as alternative Desktop for XRDP
Question 6 – How to configure XRDP To Use LXDE ?
Answer : Follow the instructions provided in this post : Ubuntu 14.04 – LXDE Desktop Alternative for XRDP
Question 7 – How to configure XRDP To Use MATE-DESKTOP ?
Answer : Follow the instructions provided in this post : Ubuntu 14.10 – How to install XRDP and have it working.
Note : The MATE-Desktop has been integrated in one of the Ubuntu flavor called UBUNTU REMIX.
Question 8 – How to configure XRDP To Use XFCE ?
Answer : Follow the instructions provided in this post : Ubuntu 14.10 – How to install XRDP and have it working
Question 9 – I want to use Unity or Gnome 3 with XRDP. Is it Possible ?
Answer : As mentioned in question 1, neither Unity nor Gnome 3 is supported and working with XRDP. You have to choose an alternate desktop environment while performing your remote desktop connection
Question 10 – How to Reconnect to the same session ?
Answer : Since the release of Ubuntu 14.10 and the xrdp package version 0.0.6.1-1, you do not need to perform any configuration to reconnect to the same session. This feature is available out of the box. Check these links :
- XRDP – Reconnect to existing sessions made easier – New xrdp package on Ubuntu repository
- XRDP – Quick Demo Installation & Reconnection
Another option is to perform a custom installation of xrdp in conjunction with X11VNC. If you want to test the latest version of xrdp, you can try the procedure described hereafter
- xRDP – How to perform a Custom installation on Ubuntu 14.10
- Ubuntu 14.04 – Perform a custom XRDP Install (using X11VNC)
Question 11 – Can Multiple Users Connect via XRDP ?
Answer : Yes, multiple users can connect via the XRDP software solutions. For each user that needs to connect, you will need to configure the .xsession file. You can either manually create this file or you can use the use the following procedure to automate the creation of the .xsession file when you have multiple users that need to access the system via xrdp :
Question 12 – Is there any workaround to connect to Unity via XRDP ?
Answer : There is indeed a quick and dirty way to connect to an Ubuntu machine and connect to the Unity Desktop. As mentioned, this is a workaround where you use the xrdp interface to basically perform a vnc connection. Follow the process described hereafter
Question 13 – Can I customize the xrdp Login screen ?
Answer : You can modify some visual elements of the XRDP login screen. please review the information provided at :
- How to customize xrdp login screen on Ubuntu 12.10 – Part III
- XRDP – Customize the XRDP Login Screen (on Ubuntu 15.04) (if you have performed a custom installation of xrdp)
You can also have a look at the following utility which might help you in customizing your xrdp login screen
Question 14 – When connected to remote session, my keyboard does not recognize some special characters. What can I do ?
Answer : You can have a look at the following post :
This should apply to the standard xrdp package available within the Ubuntu repository. Newer version of the package seems to use another method. We will provide updates information about this in a coming post and will update this FAQ
Please give it a try and provide feedback to us so we can update the information about this topic.
Question 15 – I have installed X11VNC and XRDP but not VNC4Server. I have errors connecting via XRDP. What’s the problem ?
Answer: It seems that xrdp has dependencies with vnc4server. You will need to install the vnc4server package even if you are using the X11VNC package. After installing the package, you should be able to connect to your xrdp session.
Question 16 – I would like to use X11RDP with XRDP. How to perform the installation ?
Answer: The easiest way to install x11RDP and xRDP is to use the X11RDP-o-Matic tool that can be found at this link : http://scarygliders.net/2014/03/19/x11rdp-o-matic-version-3-10-released/.
Review the documentation first and see if this fits your needs
Question 17 – Can I use SSH in Conjunction with XRDP to improve security ?
Answer : yes, you can. please follow the instruction located at Ubuntu 14.10 – How to secure Xrdp Connection using SSH
Question 18 – When I connect to xrdp, I receive an error message similar to …only supporting 8,15,16,24 bpp rdp connections. What does that means ?
Click on Picture for better resolution
Answer: One possibility is that your remote desktop client is set to use Highest Quality (32) Colors. You have to lower this setting
Click on Picture for better resolution
Question 19 – I would like to perform a custom installation of XRDP. It’s look difficult. Is there any ways to simplify the process ?
Answer : You have two options here. Either you use the script we are providing. The script will automate the custom installation for you. We are working an a small update that will make our lives a little bit more easier as well. To obtain the script, read the following post :
- xRDP – How to perform a Custom installation on Ubuntu 14.10
- XRDP- Perform a Custom installation on Ubuntu 15.04
When the new version of the script will be released, we will update the link above…
The other option would be to use the x11rdp-o-matic utility that can be found at http://scarygliders.net/2014/03/19/x11rdp-o-matic-version-3-10-released/.
Question 20 – I still cannot login to my XRDP session. Where should I look for troubleshooting my issues?
Answer: xRDP writes some log files into your system. We would recommend you to have a look at these log files. These logs files might provide useful insight about the problem you are encountering.
You should look at the following files
Question 21 – Everybody is using Windows and Remote Desktop Client. Can I connect from a linux machine to a remote machine using xRDP ?
Answer : Yes, you can. By default, Ubuntu ship with a remote desktop client called Remmina. You can use this tool to perform a remote desktop connection via xrdp. There are other remote desktop client out there (such as rdesktop, or gnome remote desktop client,…).
Feel free to choose your preferred one.
Question 22 – In the xrdp login screen or during my remote desktop session, my keyboard layout is set to English and not the one I use when performing a local connection to Ubuntu. Can I change this behavior ?
Answer : Yes, you can. Review this post XRDP – Reconnect to existing sessions made easier – New xrdp package on Ubuntu repository and check the section :Configure your Keyboard layout at the xrdp Login screen
Question 23 – If I use a localized version of Ubuntu while locally logged in, should I receive the same localized settings in my xrdp session ?
Answer : If you use the latest version of the xrdp package (from ubuntu repository), the answer is yes. To illustrate the situation, let’s assume that you have set your ubuntu system to use with french interface. When you perform the xrdp connection, the remote session will display the french interface to you. This is because your startwm.sh file contains a line like this EXPORT_LANG that will tell the system to load the french version while connected to xrdp session
Question 24 – After performing a custom xrdp installation, the first connection attempt fails, successive ones are working. What’s the problem ?
Answer : It seems that when you perform the first connection, the vnc service is not ready to answer the request and thus connection fail. To avoid this situation, you simply need to add in the /etc/xrdp/xrdp.ini file in the section used by the Sesman-Xvnc the parameter delay_ms=2000. Please review the following post – Tips – xRDP Custom Installation Possible Issues and Solutions