Ubuntu – Xrdp login failed

remote desktoptightvncservervncwindows 7xrdp

I Am trying to login to Ubuntu machine from windows using RDP. Installed xrdp and tight vnc but while connecting am getting following error

xrdp_mm_process_login_response:login failed

Steps followed to install XRDP:

sudo apt-get update .
sudo apt-get install tightvncserver
sudo    apt-get install xrdp
sudo restart

After this tried logging with RDP and getting the error. could you give a step by step guide or other alternative methods, please?

Best Answer

I managed to fix this problem by editing the /etc/xrdp/sesman.ini file and commenting out the requirement to group membership. Now you can access all accounts.

[Security]
AllowRootLogin=1
MaxLoginRetry=4
#TerminalServerUsers=tsusers
#TerminalServerAdmins=tsadmins

Evidently a user must be a member of tsusers which is supposed to be created by xrdp itself. This group was not created at xrdp installation in my case. I created the group and added users to the group. But this did not help. By commenting out the following lines, all users can rdp now.

Related Question