Created attachment 1071 [details] xrpd logout Description of problem: Version-Release number of selected component (if applicable): Linux test 5.10.134-13.an8.x86_64 #1 SMP Mon Jan 9 10:39:46 CST 2023 x86_64 x86_64 x86_64 GNU/Linux Anolis OS release 8.8 xrdp-0.9.24-1.el8.x86_64 How reproducible: Steps to Reproduce: 1. hostos centos7.9 2. 安装vmware workstation 16 3. vmware workstation 里安装 anolos os 8.8 4. yum 安装xrpd远程桌面 5. 登录远程桌面后闪退。 Actual results: [20240306-10:16:05] [INFO ] VNC sending cursor [20240306-10:16:05] [INFO ] VNC connection complete, connected ok [20240306-10:16:05] [INFO ] VNC: Clipboard (if available) is provided by chansrv facility [20240306-10:16:05] [INFO ] connected ok [20240306-10:16:05] [INFO ] Layout from OldLayout (geom=1920x1080 #screens=1) : 1804289383:(1920x1080+0+0) [20240306-11:13:39] [INFO ] Received termination signal, stopping the server accept new connections thread [20240306-11:19:47] [INFO ] starting xrdp with pid 1078 [20240306-11:19:47] [INFO ] address [0.0.0.0] port [3389] mode 1 [20240306-11:19:47] [INFO ] listening to port 3389 on 0.0.0.0 [20240306-11:19:47] [INFO ] xrdp_listen_pp done [20240306-11:31:12] [INFO ] Received termination signal, stopping the server accept new connections thread [20240306-11:32:38] [INFO ] starting xrdp with pid 1121 [20240306-11:32:38] [INFO ] address [0.0.0.0] port [3389] mode 1 [20240306-11:32:38] [INFO ] listening to port 3389 on 0.0.0.0 [20240306-11:32:38] [INFO ] xrdp_listen_pp done [20240306-15:41:34] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:172.18.50.186 port 54824 [20240306-15:41:34] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20240306-15:41:34] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20240306-15:41:34] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL] [20240306-15:41:35] [ERROR] SSL_read: I/O error [20240306-15:41:35] [ERROR] libxrdp_force_read: header read error [20240306-15:41:35] [ERROR] Processing [ITU-T T.125] Connect-Initial failed [20240306-15:41:35] [ERROR] [MCS Connection Sequence] receive connection request failed [20240306-15:41:35] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed [20240306-15:41:35] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed [20240306-15:41:35] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed [20240306-15:41:35] [ERROR] xrdp_iso_send: trans_write_copy_s failed [20240306-15:41:35] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed [20240306-15:41:36] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:172.18.50.186 port 54830 [20240306-15:41:36] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20240306-15:41:36] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20240306-15:41:36] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL] [20240306-15:41:36] [INFO ] Connected client computer name: BP [20240306-15:41:36] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored) [20240306-15:41:36] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored) [20240306-15:41:37] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000804] [20240306-15:41:37] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options [] [20240306-15:41:37] [INFO ] TLS connection established from ::ffff:172.18.50.186 port 54830: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 [20240306-15:41:37] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor [20240306-15:41:37] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100 [20240306-15:41:37] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3 [20240306-15:41:37] [WARN ] xrdp_caps_process_codecs: unknown codec id 5 [20240306-15:41:37] [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49 [20240306-15:41:38] [WARN ] Cannot find keymap file /etc/xrdp/km-00000804.ini [20240306-15:41:38] [WARN ] Cannot find keymap file /etc/xrdp/km-00000804.ini [20240306-15:41:38] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini [20240306-15:41:38] [WARN ] local keymap file for 0x00000804 found and doesn't match built in keymap, using local keymap file [20240306-15:41:47] [INFO ] connecting to sesman on 127.0.0.1:3350 [20240306-15:41:47] [INFO ] xrdp_wm_log_msg: sesman connect ok [20240306-15:41:47] [INFO ] sesman connect ok [20240306-15:41:47] [INFO ] sending login info to session manager. Please wait... [20240306-15:41:47] [INFO ] xrdp_wm_log_msg: login successful for user root on display 10 [20240306-15:41:47] [INFO ] login successful for user root on display 10 [20240306-15:41:47] [INFO ] loaded module 'libvnc.so' ok, interface size 4064, version 4 [20240306-15:41:47] [INFO ] VNC started connecting [20240306-15:41:47] [INFO ] VNC connecting to 127.0.0.1 5910 [20240306-15:41:50] [ERROR] VNC error 1 after security negotiation [20240306-15:41:50] [ERROR] VNC error before sending share flag [20240306-15:41:50] [ERROR] VNC error before receiving server init [20240306-15:41:50] [ERROR] VNC error before receiving pixel format [20240306-15:41:50] [ERROR] VNC error before receiving name length [20240306-15:41:50] [ERROR] VNC error before receiving name [20240306-15:41:51] [INFO ] VNC error - problem connecting [20240306-15:41:51] [INFO ] some problem [20240306-15:41:51] [ERROR] xrdp_wm_log_msg: Error connecting to user session [20240306-15:41:52] [INFO ] Error connecting to user session [20240306-15:41:59] [INFO ] connecting to sesman on 127.0.0.1:3350 [20240306-15:42:00] [INFO ] xrdp_wm_log_msg: sesman connect ok [20240306-15:42:00] [INFO ] sesman connect ok [20240306-15:42:00] [INFO ] sending login info to session manager. Please wait... [20240306-15:42:00] [INFO ] xrdp_wm_log_msg: login successful for user root on display 10 [20240306-15:42:00] [INFO ] login successful for user root on display 10 [20240306-15:42:00] [INFO ] loaded module 'libvnc.so' ok, interface size 4064, version 4 [20240306-15:42:00] [INFO ] VNC started connecting [20240306-15:42:00] [INFO ] VNC connecting to 127.0.0.1 5910 [20240306-15:42:00] [INFO ] VNC tcp connected [20240306-15:42:00] [INFO ] VNC security level is 2 (1 = none, 2 = standard) [20240306-15:42:00] [INFO ] VNC password ok [20240306-15:42:00] [INFO ] VNC sending share flag [20240306-15:42:00] [INFO ] VNC receiving server init [20240306-15:42:00] [INFO ] VNC receiving pixel format [20240306-15:42:00] [INFO ] VNC receiving name length [20240306-15:42:00] [INFO ] VNC receiving name [20240306-15:42:00] [INFO ] VNC sending pixel format [20240306-15:42:00] [INFO ] VNC sending cursor [20240306-15:42:00] [INFO ] VNC connection complete, connected ok [20240306-15:42:00] [INFO ] VNC: Clipboard (if available) is provided by chansrv facility [20240306-15:42:00] [INFO ] connected ok [20240306-15:42:00] [INFO ] Layout from OldLayout (geom=1920x1080 #screens=1) : 1804289383:(1920x1080+0+0) Expected results: xrdp正常登录 Additional info:
[root@test log]# systemctl status firewalld.service ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:firewalld(1) [root@test log]# cat /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of these three values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Level Security protection. SELINUXTYPE=targeted [root@test log]# tail /etc/xrdp/xrdp.ini ; You can override the common channel settings for each session type #channel.rdpdr=true #channel.rdpsnd=true #channel.drdynvc=true #channel.cliprdr=true #channel.rail=true #channel.xrdpvr=true exec gnome-session