I configured xrdp on ubuntu 22.04 and tried to connect from another windows10 using remote desktop. However, the blue screen will appear after a period of time:
After that, I checked /var/log/xrdp.log with the following error log:
[20250329-13:08:44] [INFO ] address [0.0.0.0] port [3389] mode 1
[20250329-13:08:44] [INFO ] listening to port 3389 on 0.0.0.0
[20250329-13:08:44] [INFO ] xrdp_listen_pp done
[20250329-13:08:46] [INFO ] starting xrdp with pid 98359
[20250329-13:08:46] [INFO ] address [0.0.0.0] port [3389] mode 1
[20250329-13:08:46] [INFO ] listening to port 3389 on 0.0.0.0
[20250329-13:08:46] [INFO ] xrdp_listen_pp done
[20250329-13:12:13] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.102 port 50247
[20250329-13:12:13] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20250329-13:12:13] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20250329-13:12:13] [ERROR] libxrdp_force_read: header read error
[20250329-13:12:13] [ERROR] Processing [ITU-T T.125] Connect-Initial failed
[20250329-13:12:13] [ERROR] [MCS Connection Sequence] receive connection request failed
[20250329-13:12:13] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
[20250329-13:12:13] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
[20250329-13:12:13] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
[20250329-13:12:13] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20250329-13:12:13] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
[20250329-13:12:14] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.1.102 port 50250
[20250329-13:12:14] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20250329-13:12:14] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20250329-13:12:14] [INFO ] Connected client computer name: SEUVCL-7002
[20250329-13:12:14] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20250329-13:12:14] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20250329-13:12:14] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x07], keyboard_subtype:[0x00], keylayout:[0x00000804]
[20250329-13:12:14] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
[20250329-13:12:14] [INFO ] Non-TLS connection established from ::ffff:192.168.1.102 port 50250: encrypted with standard RDP security
[20250329-13:12:14] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20250329-13:12:14] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 5242880 MB cache entries 100
[20250329-13:12:14] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20250329-13:12:14] [WARN ] xrdp_caps_process_codecs: unknown codec id 5
[20250329-13:12:14] [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49
[20250329-13:12:14] [WARN ] Cannot find keymap file /etc/xrdp/km-00000804.ini
[20250329-13:12:14] [WARN ] Cannot find keymap file /etc/xrdp/km-00000804.ini
[20250329-13:12:14] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20250329-13:12:14] [WARN ] local keymap file for 0x00000804 found and doesn't match built in keymap, using local keymap file
[20250329-13:12:21] [INFO ] connecting to sesman ip 127.0.0.1 port 3350
[20250329-13:12:21] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20250329-13:12:21] [INFO ] sesman connect ok
[20250329-13:12:21] [INFO ] sending login info to session manager, please wait...
[20250329-13:12:21] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20250329-13:12:21] [INFO ] login successful for display 10
[20250329-13:12:21] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20250329-13:12:21] [INFO ] started connecting
[20250329-13:12:21] [INFO ] lib_mod_connect: connecting via UNIX socket
[20250329-13:15:51] [INFO ] connection problem, giving up
[20250329-13:15:51] [INFO ] some problem
[20250329-13:15:51] [ERROR] xrdp_sec_send_fastpath: xrdp_fastpath_send failed
[20250329-13:15:51] [ERROR] xrdp_rdp_send_fastpath: xrdp_sec_send_fastpath failed
[20250329-13:15:51] [ERROR] xrdp_orders_send: xrdp_rdp_send_fastpath failed
[20250329-13:15:51] [ERROR] xrdp_sec_send_fastpath: xrdp_fastpath_send failed
[20250329-13:15:51] [ERROR] xrdp_rdp_send_fastpath: xrdp_sec_send_fastpath failed
[20250329-13:15:51] [ERROR] xrdp_orders_send: xrdp_rdp_send_fastpath failed
[20250329-13:15:51] [ERROR] xrdp_sec_send_fastpath: xrdp_fastpath_send failed
[20250329-13:15:51] [ERROR] xrdp_rdp_send_fastpath: xrdp_sec_send_fastpath failed
[20250329-13:15:51] [ERROR] xrdp_orders_send: xrdp_rdp_send_fastpath failed
[20250329-13:15:51] [ERROR] xrdp_sec_send_fastpath: xrdp_fastpath_send failed
[20250329-13:15:51] [ERROR] xrdp_rdp_send_fastpath: xrdp_sec_send_fastpath failed
[20250329-13:15:51] [ERROR] xrdp_orders_send: xrdp_rdp_send_fastpath failed
[20250329-13:15:51] [ERROR] xrdp_sec_send_fastpath: xrdp_fastpath_send failed
[20250329-13:15:51] [ERROR] xrdp_rdp_send_fastpath: xrdp_sec_send_fastpath failed
[20250329-13:15:51] [ERROR] xrdp_orders_send: xrdp_rdp_send_fastpath failed
[20250329-13:15:51] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20250329-13:15:51] [ERROR] xrdp_mcs_send: xrdp_iso_send failed
[20250329-13:15:51] [ERROR] xrdp_sec_send: xrdp_mcs_send failed
[20250329-13:15:51] [ERROR] xrdp_rdp_send_data: xrdp_sec_send failed
[20250329-13:15:51] [ERROR] Sending [MS-RDPBCGR] TS_SHUTDOWN_DENIED_PDU failed
[20250329-13:15:51] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[20250329-13:15:51] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[20250329-13:15:51] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[20250329-13:15:51] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
[20250329-13:15:51] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20250329-13:15:51] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
Does anyone know what's the solvement? Thank you very much!
