Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Ubuntu Cloud Guest account and install xrdp (sudo apt-get install xrdp) then I use Remote Desktop Connection of Windows to remote it. But on login step I always get this error after I enter username and password even though I did enter them very carefully.

connecting to sesman ip port 3350
sesman connect ok
sending login info to sesman
xrdp_mm_process_login_response: login failed

Am I missing something ?

share|improve this question
Did you get it fixed? I am having the same problem. – user128218 Jul 13 '12 at 13:33
No, still don't have solution for it. – JatSing Jul 13 '12 at 17:01

I had similar problem, there are several problems with xrdp on ubuntu it seems. I found this page useful for solving some of the others, especially the keyboard problem with non-us keyboard.

As regards the login issue, there needs to be a group setup on the ubuntu machine called "tsusers", i added this group via the gui, but i believe there is a command line tool to do the same. You username that you want to login to xrdp will also need to be a member of this group. so user "john" (you) will need to have a group made "tsusers". Also for inexperienced users (such as myself!), when you login, login as "john", not "John", i believe linux usernames are actually all lowercase not first letter capitalised as it is for the gui login to ubuntu.


share|improve this answer

The issue is that the configuration has to be adapted.

Either add the user you want to use to the standard tsusers group (which you might have to create first), as defined in /etc/xrdp/sesman.ini, or uncomment the lines in sesman.ini where the group requirements are defined.

Also take care about the keymap/keyset: it has a fallback to the US keymap so special characters are entered in another way.
It might not have been preloaded (or auto-detected) and so has to be generated from the console (km-xxxx.ini in /etc/xrdp)

A new keymap can be created with xrdp-genkeymap, though you might be out of luck if you have for example a Swiss German keymap; then you might have to copy a working km-xxxx.ini file to the /etc/xrdp directory, eg: ch-DE -> km-0807.ini

You might also want to take a look at the logos if you want to adapt the login experience which are located in /usr/share/xrdp or /usr/local/share/xrdp

You might also want to look through the xrdp documentation (the www. is required ..)
or the github page

share|improve this answer
for the installation i have been using the… .. scarygliders --justdoit – ebricca Mar 5 '15 at 8:33

I faced the same ".... xrdp_mm_process_login_response: login failed". Finally, I found out that the problem (in my case) was that the keyboard set in /etc/xrdp was not the keyboardcode of my Windows desktop... In /etc/xrdp/" different “km-0xxx.ini” files are installed by default. I found that the keycode for my desktop-PC wasn't there. Here you find all te codes: I renamed all the “km-0xxx.ini” in /etc/xrdp to “km-0xxx.ini.BAK” and then downloaded and copied in /etc/xrdp my right keycode (km-0831 in my case of a belgain-french azerty keyboard). Since then: everything OK. Don't know if you face the same problem... Success!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.