I’ve been encountering some persistent issues with my XRDP setup, and I’m seeking your expertise and guidance to help me resolve them. The problem centers around reconnecting to XRDP sessions, and I’m seeing several error messages in my logs. I’ve included the log entries below for your reference (I can include the actual log files as well):
[20231018-00:15:51] [ERROR] libxrdp_force_read: header read error
[20231018-00:15:51] [ERROR] [ITU-T X.224] Connection Sequence: CR-TPDU (Connection Request) failed
[20231018-00:15:51] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
[20231018-00:15:51] [ERROR] xrdp_sec_incoming: xrdp_iso_incoming failed
[20231018-00:15:51] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
[20231018-00:15:51] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
[20231018-00:15:51] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20231018-00:15:51] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
[20231018-00:16:10] [ERROR] SSL_read: Failure in SSL library (protocol error?)
[20231018-00:16:10] [ERROR] SSL: error:0A000126:SSL routines::unexpected eof while reading
[20231018-00:16:10] [ERROR] libxrdp_force_read: header read error
[20231018-00:16:10] [ERROR] Processing [ITU-T T.125] Connect-Initial failed
[20231018-00:16:10] [ERROR] [MCS Connection Sequence] receive connection request failed
[20231018-00:16:10] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
[20231018-00:16:10] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
[20231018-00:16:10] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
[20231018-00:16:10] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20231018-00:16:10] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
I can successfully connect via RDP, but when I close the RDP window to my server, I lose all connectivity, and both SSH and Cockpit become inaccessible. However if I have an ssh session and leave it open while connecting it will not disconnect, but if I close it out I won’t be able to access it.
If anyone has encountered similar problems or has expertise in XRDP, I’d greatly appreciate any suggestions, recommendations, or solutions you can provide. I’m particularly interested in understanding what these log entries mean and how to resolve them.