XRDP and CentOS 6

Yesterday’s night I installed a test machine to play with KVM and some other stuff, obviously the OS of choice is the trusty CentOS.
I did a pretty minimal net-install but decided to install gnome desktop environment anyway because why not, not that it will be of much use, but still.
Anyway, since the machine is an headless server it’s mandatory to be able to control it remotely, like the past 2 or 3 times, I installed XRDP expecting everything will be fine and working without any problem.
And here is when I was wrong.
It’s been quite a long time since the last time I installed XRDP somewhere, but I clearly remember it working flawless without any kind of manual configuration.
I did the usual “yum install xrdp”, confirm the installation, bla bla bla, “service xrdp start” and both “sesman” and “xrdp” started with no problem.
Then, when I went back to my workstation (Fedora 18 x64) and tried to connect to the server using Remmina Remote Desktop Client at first it seems to be working but once I typed user ID, password and press OK I got prompted the following error:

connecting to sesman ip port 3350
sesman connect ok
sending login info to sesman
login successful for display 10
started connecting
connecting to 5910
error - problem connecting

Giving a look at the xrdp-sesman.log file (in /var/log/) it looks like it’s not an authentication issue but some kind of misconfiguration/missing_component-s.
Results on duckduckgo.com aren’t of much help, the usually suggested workaround is “uninstall that, that, and this, reinstall everything and XRDP will magically start working”…not a great deal IMHO.
At least in my case the solution was simple, the inability to prompt a remote X session was caused by a missing component: tigervnc-server.
tigervnc-server appears to not be included in the XRDP dependencies list, manually installing it (before or after XRDP installation is the same) will solve every issue.

7 responses

  1. In my case the issue was the requested bpp on the client. if I set it to Millions of colours then the connection works. If I set it to Thousands of colors then it does not work. Weird, huh?

    I am running x86_64 Centos 6.4

  2. I’m running CentOS 6.4 final. When I run “yum install XRDP” or “yum install xrdp” I get

    No package XRDP available.
    Error: Nothing to do

    Do I need to link my yum to a special repository to get this?


  3. Awesome! Works like a champ.

    For other readers of this page, I used instructions from


    to install the epel repository.

    Then I installed the xrdp server with “yum install xrdp” (not upper case as described above) and “service xrdp start”. To make it persistent across system reboots “chkconfig xrdp on”

    I already had tigervnc server installed, so as soon as I did above the rdp server worked great.

    Thanks for the tips!

Leave a Reply

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