Ubuntu remote connection error: xrdp_mm_process_login_response: login failed

Solution:

1. View /var/log/xrdp-sesman.log

If the error message in the log is:

[20170328-17:17:32] [ERROR] X server -- no display in range is available

2. Modify the upper limit of the maximum session

Change the MaxSessions parameter in the /etc/xrdp/sesmain.ini file from 10 to 100


3. Restart the xrdp service

sudo service xrdp restart


Note: Many articles do not mention the need to restart

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325192142&siteId=291194637