Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 127.0.0.1 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

2 Answers 2

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.

Regards

share|improve this answer
    
This helps absolutely nothing. If I'd had a bit more rep I'd vote this answer down. –  user240071 Sep 9 '14 at 7:45

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 the /etc/xrdp/sesman.ini)

or uncomment the lines in sesman.ini where the group requirements are defined

and take also care about the keymap / keyset .. it has a fallback to the us keymap so special signs are entered in another way
it might not have been preloaded (or autodetected) 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 .. (ex. ch-DE -> km-0807.ini -- note the 0807 code which autodetects afterwards the connecting session -- so if you know the intended name you can easily search for the required keymap as well)

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
http://www.xrdp.org (the www. is required ..)
or the github page https://github.com/neutrinolabs/xrdp

share
    
for the installation i have been using the askubuntu.com/questions/498873/… .. scarygliders X11rdp-o-matic.sh --justdoit –  ebricca 1 hour ago

Your Answer

 
discard

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.