我的凭证直到昨天都有效,现在它给我 xrdp 会话:显示 0 登录失败。但在终端上尝试相同的凭证却有效。
user1:~-$ su - user1
Password:
user1:~-$
我测试了服务状态以查看它是否正常运行
user1:~-$ sudo service xrdp status
* xrdp-sesman is running
* xrdp is running
这是我在 xrdp 中获取的日志
user1:~-$ sudo tail -f /var/log/xrdp.log
[20230422-15:14:49] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20230422-15:14:49] [INFO ] sesman connect ok
[20230422-15:14:49] [INFO ] sending login info to session manager, please wait...
[20230422-15:14:49] [INFO ] xrdp_wm_log_msg: login failed for display 0
[20230422-15:14:49] [INFO ] login failed for display 0
[20230422-15:14:54] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[20230422-15:14:54] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[20230422-15:14:54] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[20230422-15:14:54] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
奇怪的是,它直到昨天才恢复了,我已经用了几个月了。不知道发生了什么。