I try to login Ubuntu 16.04 xrdp through window 10 with mstsc. It was successful in 2019/01/09 night, but failed in 2019/01/10 morning. An system auto-update log relating to xrdf is captured.
Connection log is listed below:
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
seding login info to session manager, please wait...
xrdp_mm_process_login_response: login successful for display
started connecting
connecting to 127.0.0.1 5916
tcp connected
security level is 2 (1=none, 2=standard)
password failed
error - problem connecting
Solution:
Downgrade xrdp:
sudo apt-get install xrdp=0.6.1-2
Or:
disable vnc password check:
sudo vi /etc/xrdp/sesman.ini
add to the bottom of [Xvnc]
param8=-SecurityTypes
param9=None
sudo service xrdp restart
参考:
https://askubuntu.com/questions/1108550/xrdp-failed-problem-connecting-when-package-was-auto-updated
原文出处:https://www.cnblogs.com/jins-note/p/10256003.html
来源:oschina
链接:https://my.oschina.net/u/4400343/blog/3271203