Xrdp vnc password failed

时间:2023-03-08 15:40:35
Xrdp vnc password failed

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

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