neutrinolabs / xrdp

xrdp: an open source RDP server
http://www.xrdp.org/
Apache License 2.0
5.71k stars 1.73k forks source link

black screen xrdp in Mate #2652

Closed AlexanderZhirov closed 1 year ago

AlexanderZhirov commented 1 year ago

It is not possible to connect to RDP in Mate environment on stock settings. Installed only xrdp and xorgxrdp packages. The connection goes through, but the session is not established.

xrdp, version: 0.9.21 xorgxrdp, version: 0.9.19

xrdp.log:

[20230501-16:16:08] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230501-16:16:08] [INFO ] listening to port 3389 on 0.0.0.0
[20230501-16:16:08] [INFO ] xrdp_listen_pp done
[20230501-16:16:08] [DEBUG] Closed socket 7 (AF_INET6 :: port 3389)
[20230501-16:16:10] [INFO ] starting xrdp with pid 2455
[20230501-16:16:10] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230501-16:16:10] [INFO ] listening to port 3389 on 0.0.0.0
[20230501-16:16:10] [INFO ] xrdp_listen_pp done
[20230501-16:16:24] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.0.82 port 49236
[20230501-16:16:24] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.0.5 port 3389)
[20230501-16:16:24] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
[20230501-16:16:24] [DEBUG] item ini_version, value 1
[20230501-16:16:24] [DEBUG] item fork, value true
[20230501-16:16:24] [DEBUG] item port, value 3389
[20230501-16:16:24] [DEBUG] item use_vsock, value false
[20230501-16:16:24] [DEBUG] item tcp_nodelay, value true
[20230501-16:16:24] [DEBUG] item tcp_keepalive, value true
[20230501-16:16:24] [DEBUG] item security_layer, value negotiate
[20230501-16:16:24] [DEBUG] item crypt_level, value high
[20230501-16:16:24] [DEBUG] item certificate, value 
[20230501-16:16:24] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230501-16:16:24] [DEBUG] item key_file, value 
[20230501-16:16:24] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230501-16:16:24] [DEBUG] item ssl_protocols, value TLSv1.2, TLSv1.3
[20230501-16:16:24] [DEBUG] TLSv1.3 enabled
[20230501-16:16:24] [DEBUG] TLSv1.2 enabled
[20230501-16:16:24] [DEBUG] item autorun, value 
[20230501-16:16:24] [DEBUG] item allow_channels, value true
[20230501-16:16:24] [DEBUG] item allow_multimon, value true
[20230501-16:16:24] [DEBUG] item bitmap_cache, value true
[20230501-16:16:24] [DEBUG] item bitmap_compression, value true
[20230501-16:16:24] [DEBUG] item bulk_compression, value true
[20230501-16:16:24] [DEBUG] item max_bpp, value 16
[20230501-16:16:24] [DEBUG] item new_cursors, value true
[20230501-16:16:24] [DEBUG] item use_fastpath, value both
[20230501-16:16:24] [DEBUG] item blue, value 009cb5
[20230501-16:16:24] [DEBUG] item grey, value dedede
[20230501-16:16:24] [DEBUG] item ls_top_window_bg_color, value 009cb5
[20230501-16:16:24] [DEBUG] item ls_width, value 350
[20230501-16:16:24] [DEBUG] item ls_height, value 430
[20230501-16:16:24] [DEBUG] item ls_bg_color, value dedede
[20230501-16:16:24] [DEBUG] item ls_logo_filename, value 
[20230501-16:16:24] [DEBUG] item ls_logo_x_pos, value 55
[20230501-16:16:24] [DEBUG] item ls_logo_y_pos, value 50
[20230501-16:16:24] [DEBUG] item ls_label_x_pos, value 30
[20230501-16:16:24] [DEBUG] item ls_label_width, value 65
[20230501-16:16:24] [DEBUG] item ls_input_x_pos, value 110
[20230501-16:16:24] [DEBUG] item ls_input_width, value 210
[20230501-16:16:24] [DEBUG] item ls_input_y_pos, value 220
[20230501-16:16:24] [DEBUG] item ls_btn_ok_x_pos, value 142
[20230501-16:16:24] [DEBUG] item ls_btn_ok_y_pos, value 370
[20230501-16:16:24] [DEBUG] item ls_btn_ok_width, value 85
[20230501-16:16:24] [DEBUG] item ls_btn_ok_height, value 30
[20230501-16:16:24] [DEBUG] item ls_btn_cancel_x_pos, value 237
[20230501-16:16:24] [DEBUG] item ls_btn_cancel_y_pos, value 370
[20230501-16:16:24] [DEBUG] item ls_btn_cancel_width, value 85
[20230501-16:16:24] [DEBUG] item ls_btn_cancel_height, value 30
[20230501-16:16:24] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
[20230501-16:16:24] [DEBUG] Using TLS security, and setting RDP security crypto to LEVEL_NONE and METHOD_NONE
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence] receive connection request
[20230501-16:16:24] [INFO ] Connected client computer name: iPhone (Але
[20230501-16:16:24] [DEBUG] Client supports 40 bit encryption
[20230501-16:16:24] [DEBUG] Client supports 128 bit encryption
[20230501-16:16:24] [DEBUG] Client supports 56 bit encryption
[20230501-16:16:24] [DEBUG] Client supports fips encryption
[20230501-16:16:24] [DEBUG] The connection is using TLS, skipping RDP crypto negotiation
[20230501-16:16:24] [DEBUG] Adding channel: name rdpdr, channel id 1004, flags 0x80800000
[20230501-16:16:24] [DEBUG] Adding channel: name rdpsnd, channel id 1005, flags 0xc0000000
[20230501-16:16:24] [DEBUG] Adding channel: name cliprdr, channel id 1006, flags 0xc0a00000
[20230501-16:16:24] [DEBUG] Adding channel: name drdynvc, channel id 1007, flags 0xc0800000
[20230501-16:16:24] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20230501-16:16:24] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20230501-16:16:24] [WARN ] Client requested 32 bpp color depth, but the server configuration is limited to 16 bpp. Downgrading the color depth to 16 bits-per-pixel.
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence] construct connection response
[20230501-16:16:24] [DEBUG] using no security
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence] send connection response
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence] receive erect domain request
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence] receive attach user request
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence] send attach user confirm
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm
[20230501-16:16:24] [DEBUG] [MCS Connection Sequence (TLS)] completed
[20230501-16:16:24] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000409]
[20230501-16:16:24] [DEBUG] keyboard_cfg_file /etc/xrdp/xrdp_keyboard.ini
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: item rdp_layout_us value 0x00000409
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: skipping configuration item - rdp_layout_us, continuing to next section
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: item rdp_layout_us value us
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: skipping configuration item - rdp_layout_us, continuing to next section
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: item keyboard_type value 4
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: item keyboard_subtype value 3
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: item keyboard_type value 7
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: item keyboard_subtype value 2
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: item model value pc105
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: item rdp_layouts value default_rdp_layouts
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: item layouts_map value default_layouts_map
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: item rdp_layout_us value us
[20230501-16:16:24] [DEBUG] xrdp_load_keyboard_layout: skipping configuration item - rdp_layout_us, continuing to next section
[20230501-16:16:24] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
[20230501-16:16:24] [INFO ] TLS connection established from ::ffff:192.168.0.82 port 49236: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384
[20230501-16:16:24] [DEBUG] Client requested auto logon.
[20230501-16:16:24] [DEBUG] Client requested compression enabled.
[20230501-16:16:24] [DEBUG] Client supplied domain: 
[20230501-16:16:24] [DEBUG] Client supplied username: user
[20230501-16:16:24] [DEBUG] Client supplied password: <omitted from log>
[20230501-16:16:24] [DEBUG] Client supplied program: 
[20230501-16:16:24] [DEBUG] Client supplied directory: 
[20230501-16:16:24] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20230501-16:16:24] [INFO ] xrdp_process_offscreen_bmpcache: support level 0 cache size 0 MB cache entries 0
[20230501-16:16:24] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20230501-16:16:24] [DEBUG] xrdp_000009a1_wm_login_state_event_00000001
[20230501-16:16:24] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20230501-16:16:24] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file
[20230501-16:16:24] [DEBUG] Login state change request WMLS_RESET -> WMLS_RESET
[20230501-16:16:24] [DEBUG] xrdp_wm_login_mode_changed: login_mode is 0
[20230501-16:16:24] [DEBUG] Login state change request WMLS_RESET -> WMLS_USER_PROMPT
[20230501-16:16:24] [DEBUG] in xrdp_wm_init: 
[20230501-16:16:24] [DEBUG] ini_version:             1
[20230501-16:16:24] [DEBUG] use_bitmap_cache:        1
[20230501-16:16:24] [DEBUG] use_bitmap_compression:  1
[20230501-16:16:24] [DEBUG] port:                    3389
[20230501-16:16:24] [DEBUG] crypt_level:             3
[20230501-16:16:24] [DEBUG] allow_channels:          1
[20230501-16:16:24] [DEBUG] max_bpp:                 16
[20230501-16:16:24] [DEBUG] fork:                    1
[20230501-16:16:24] [DEBUG] tcp_nodelay:             1
[20230501-16:16:24] [DEBUG] tcp_keepalive:           1
[20230501-16:16:24] [DEBUG] tcp_send_buffer_bytes:   0
[20230501-16:16:24] [DEBUG] tcp_recv_buffer_bytes:   0
[20230501-16:16:24] [DEBUG] new_cursors:             1
[20230501-16:16:24] [DEBUG] allow_multimon:          1
[20230501-16:16:24] [DEBUG] grey:                    14606046
[20230501-16:16:24] [DEBUG] black:                   0
[20230501-16:16:24] [DEBUG] dark_grey:               0
[20230501-16:16:24] [DEBUG] blue:                    40117
[20230501-16:16:24] [DEBUG] dark_blue:               0
[20230501-16:16:24] [DEBUG] white:                   0
[20230501-16:16:24] [DEBUG] red:                     0
[20230501-16:16:24] [DEBUG] green:                   0
[20230501-16:16:24] [DEBUG] background:              0
[20230501-16:16:24] [DEBUG] autorun:                 
[20230501-16:16:24] [DEBUG] hidelogwindow:           0
[20230501-16:16:24] [DEBUG] require_credentials:     0
[20230501-16:16:24] [DEBUG] bulk_compression:        1
[20230501-16:16:24] [DEBUG] new_cursors:             1
[20230501-16:16:24] [DEBUG] nego_sec_layer:          0
[20230501-16:16:24] [DEBUG] allow_multimon:          1
[20230501-16:16:24] [DEBUG] enable_token_login:      0
[20230501-16:16:24] [DEBUG] ls_top_window_bg_color:  4f6
[20230501-16:16:24] [DEBUG] ls_width:                350
[20230501-16:16:24] [DEBUG] ls_height:               430
[20230501-16:16:24] [DEBUG] ls_bg_color:             defb
[20230501-16:16:24] [DEBUG] ls_title:                
[20230501-16:16:24] [DEBUG] ls_logo_filename:        
[20230501-16:16:24] [DEBUG] ls_logo_x_pos:           55
[20230501-16:16:24] [DEBUG] ls_logo_y_pos:           50
[20230501-16:16:24] [DEBUG] ls_label_x_pos:          30
[20230501-16:16:24] [DEBUG] ls_label_width:          65
[20230501-16:16:24] [DEBUG] ls_input_x_pos:          110
[20230501-16:16:24] [DEBUG] ls_input_width:          210
[20230501-16:16:24] [DEBUG] ls_input_y_pos:          220
[20230501-16:16:24] [DEBUG] ls_btn_ok_x_pos:         142
[20230501-16:16:24] [DEBUG] ls_btn_ok_y_pos:         370
[20230501-16:16:24] [DEBUG] ls_btn_ok_width:         85
[20230501-16:16:24] [DEBUG] ls_btn_ok_height:        30
[20230501-16:16:24] [DEBUG] ls_btn_cancel_x_pos:     237
[20230501-16:16:24] [DEBUG] ls_btn_cancel_y_pos:     370
[20230501-16:16:24] [DEBUG] ls_btn_cancel_width:     85
[20230501-16:16:24] [DEBUG] ls_btn_cancel_height:    30
[20230501-16:16:24] [DEBUG] libxrdp_query_channel - Channel 0 name rdpdr
[20230501-16:16:24] [DEBUG] xrdp_wm_init: channel rdpdr channel id 0 is enabled
[20230501-16:16:24] [DEBUG] Enabling channel 1004 (rdpdr)
[20230501-16:16:24] [DEBUG] libxrdp_query_channel - Channel 1 name rdpsnd
[20230501-16:16:24] [DEBUG] xrdp_wm_init: channel rdpsnd channel id 1 is enabled
[20230501-16:16:24] [DEBUG] Enabling channel 1005 (rdpsnd)
[20230501-16:16:24] [DEBUG] libxrdp_query_channel - Channel 2 name cliprdr
[20230501-16:16:24] [DEBUG] xrdp_wm_init: channel cliprdr channel id 2 is enabled
[20230501-16:16:24] [DEBUG] Enabling channel 1006 (cliprdr)
[20230501-16:16:24] [DEBUG] libxrdp_query_channel - Channel 3 name drdynvc
[20230501-16:16:24] [DEBUG] xrdp_wm_init: channel drdynvc channel id 3 is enabled
[20230501-16:16:24] [DEBUG] Enabling channel 1007 (drdynvc)
[20230501-16:16:24] [DEBUG] Login state change request WMLS_USER_PROMPT -> WMLS_START_CONNECT
[20230501-16:16:24] [DEBUG] out xrdp_wm_init: 
[20230501-16:16:24] [DEBUG] xrdp_wm_login_mode_changed: login_mode is 2
[20230501-16:16:24] [DEBUG] Login state change request WMLS_START_CONNECT -> WMLS_CONNECT_IN_PROGRESS
[20230501-16:16:24] [DEBUG] xrdp_wm_log_msg: connecting to sesman on 127.0.0.1:3350
[20230501-16:16:24] [INFO ] connecting to sesman on 127.0.0.1:3350
[20230501-16:16:24] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20230501-16:16:24] [INFO ] sesman connect ok
[20230501-16:16:24] [DEBUG] xrdp_wm_log_msg: sending login info to session manager. Please wait...
[20230501-16:16:24] [INFO ] sending login info to session manager. Please wait...
[20230501-16:16:24] [DEBUG] xrdp_wm_login_mode_changed: login_mode is 3
[20230501-16:16:24] [INFO ] xrdp_wm_log_msg: login successful for user user on display 10
[20230501-16:16:24] [INFO ] login successful for user user on display 10
[20230501-16:16:24] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20230501-16:16:24] [DEBUG] xrdp_wm_log_msg: started connecting
[20230501-16:16:24] [INFO ] started connecting
[20230501-16:16:24] [INFO ] lib_mod_connect: connecting via UNIX socket
[20230501-16:16:28] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:16:31] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:16:35] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:16:38] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:16:42] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:16:45] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:16:49] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:16:52] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:16:56] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:16:59] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:17:03] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:17:06] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:17:10] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:17:13] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:17:17] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:17:20] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:17:24] [DEBUG] Closed socket 19 (AF_UNIX)
[20230501-16:17:27] [DEBUG] Closed socket 19 (AF_UNIX)

xrdp-sesman.log:

[20230501-16:16:08] [INFO ] starting xrdp-sesman with pid 2453
[20230501-16:16:24] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 39962
[20230501-16:16:24] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20230501-16:16:24] [INFO ] ++ created session (access granted): username user, ip ::ffff:192.168.0.82:49236 - socket: 12
[20230501-16:16:24] [INFO ] starting Xorg session...
[20230501-16:16:24] [INFO ] Starting session: session_pid 2466, display :10.0, width 1456, height 818, bpp 24, client ip ::ffff:192.168.0.82:49236 - socket: 12, user name user
[20230501-16:16:24] [INFO ] [session start] (display 10): calling auth_start_session from pid 2466
[20230501-16:16:24] [ERROR] sesman_data_in: scp_process_msg failed
[20230501-16:16:24] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20230501-16:16:24] [INFO ] Starting X server on display 10: Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log  
[20230501-16:16:34] [WARN ] Timed out waiting for X server on display 10 to startup
[20230501-16:16:34] [INFO ] Session started successfully for user user on display 10
[20230501-16:16:34] [INFO ] Session in progress on display 10, waiting until the window manager (pid 2467) exits to end the session
[20230501-16:16:34] [INFO ] Starting the xrdp channel server for display 10
[20230501-16:16:34] [WARN ] Timed out waiting for X server on display 10 to startup
[20230501-16:16:34] [ERROR] There is no X server active on display 10
[20230501-16:16:34] [ERROR] A fatal error has occurred attempting to start the window manager on display 10, aborting connection
[20230501-16:16:34] [WARN ] Window manager (pid 2467, display 10) exited quickly (0 secs). This could indicate a window manager config problem
[20230501-16:16:34] [INFO ] Calling auth_stop_session and auth_end from pid 2466
[20230501-16:16:34] [INFO ] Terminating X server (pid 2468) on display 10
[20230501-16:16:34] [INFO ] Terminating the xrdp channel server (pid 2476) on display 10
[20230501-16:16:34] [INFO ] X server on display 10 (pid 2468) returned exit code 1 and signal number 0
[20230501-16:16:34] [INFO ] xrdp channel server for display 10 (pid 2476) exit code 0 and signal number 0
[20230501-16:16:34] [INFO ] cleanup_sockets:
[20230501-16:16:34] [INFO ] Process 2466 has exited
[20230501-16:16:34] [INFO ] ++ terminated session:  username user, display :10.0, session_pid 2466, ip ::ffff:192.168.0.82:49236 - socket: 12
matt335672 commented 1 year ago

Thanks for the logs.

This line is interesting:-

Starting X server on display 10: Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log

The Xorg command should be qualified with a PATH, or you will run the wrapper script in /usr/bin/Xorg. On Mint I believe the command should be /usr/lib/xorg/Xorg

Have a look in /etc/xrdp/sesman.ini and find the [Xorg] section. Add a path to the Xorg command, restart xrdp-sesman and see what happens.

AlexanderZhirov commented 1 year ago

I checked the settings, Xorg is in PATH visibility, but I specified the full path, as you advised. The result did not give results. I recorded a video of what it looks like. I don't even understand what's wrong. The errors in the log are the same.

https://youtu.be/L5ylmwSHIVE

I use Solus Linux.

AlexanderZhirov commented 1 year ago

Now the log file gives this

[20230502-18:00:30] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 53048
[20230502-18:00:30] [DEBUG] session_get_bydata: search policy 0 U user W 1456 H 818 bpp 24 T 3 IP ::ffff:192.168.0.82:49323 - socket: 12
[20230502-18:00:30] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20230502-18:00:30] [INFO ] ++ created session (access granted): username user, ip ::ffff:192.168.0.82:49323 - socket: 12
[20230502-18:00:30] [INFO ] starting Xorg session...
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:30] [DEBUG] Closed socket 13 (AF_INET6 :: port 5910)
[20230502-18:00:30] [DEBUG] Did not find a running X server at 5910
[20230502-18:00:30] [DEBUG] Closed socket 13 (AF_INET6 :: port 6010)
[20230502-18:00:30] [DEBUG] Did not find a running X server at 6010
[20230502-18:00:30] [DEBUG] Closed socket 13 (AF_INET6 :: port 6210)
[20230502-18:00:30] [DEBUG] Did not find a running X server at 6210
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.xrdp/xrdp_chansrv_socket_10
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.xrdp/xrdp_chansrv_audio_out_socket_10
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.xrdp/xrdp_chansrv_audio_in_socket_10
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.xrdp/xrdpapi_10
[20230502-18:00:30] [INFO ] Starting session: session_pid 1022, display :10.0, width 1456, height 818, bpp 24, client ip ::ffff:192.168.0.82:49323 - socket: 12, user name user
[20230502-18:00:30] [INFO ] [session start] (display 10): calling auth_start_session from pid 1022
[20230502-18:00:30] [ERROR] sesman_data_in: scp_process_msg failed
[20230502-18:00:30] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20230502-18:00:30] [DEBUG] Closed socket 11 (AF_INET6 ::1 port 3350)
[20230502-18:00:30] [DEBUG] Closed socket 12 (AF_INET6 ::1 port 3350)
[20230502-18:00:30] [DEBUG] Closed socket 12 (AF_INET6 ::1 port 3350)
[20230502-18:00:30] [DEBUG] Waiting for X server to start on display 10
[20230502-18:00:30] [DEBUG] Waiting for X server to start on display 10
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:30] [INFO ] Starting X server on display 10: Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log  
[20230502-18:00:30] [DEBUG] Calling exec (executable: Xorg, arguments: Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log)
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:35] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:36] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:37] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:38] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:39] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:40] [WARN ] Timed out waiting for X server on display 10 to startup
[20230502-18:00:40] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:40] [INFO ] Session started successfully for user user on display 10
[20230502-18:00:40] [INFO ] Starting the xrdp channel server for display 10
[20230502-18:00:40] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1023) exits to end the session
[20230502-18:00:40] [DEBUG] waiting for pid 1023 to exit
[20230502-18:00:40] [DEBUG] Calling exec (executable: /usr/sbin/xrdp-chansrv, arguments: /usr/sbin/xrdp-chansrv)
[20230502-18:00:41] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:41] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:41] [WARN ] Timed out waiting for X server on display 10 to startup
[20230502-18:00:41] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10
[20230502-18:00:41] [DEBUG] Did not find a running X server at /tmp/.X10-lock
[20230502-18:00:41] [ERROR] There is no X server active on display 10
[20230502-18:00:41] [ERROR] A fatal error has occurred attempting to start the window manager on display 10, aborting connection
[20230502-18:00:41] [WARN ] Window manager (pid 1023, display 10) exited quickly (1 secs). This could indicate a window manager config problem
[20230502-18:00:41] [INFO ] Calling auth_stop_session and auth_end from pid 1022
[20230502-18:00:41] [INFO ] Terminating X server (pid 1024) on display 10
[20230502-18:00:41] [INFO ] Terminating the xrdp channel server (pid 1026) on display 10
[20230502-18:00:41] [DEBUG] waiting for pid 1024 to exit
[20230502-18:00:41] [INFO ] X server on display 10 (pid 1024) returned exit code 1 and signal number 0
[20230502-18:00:41] [DEBUG] waiting for pid 1026 to exit
[20230502-18:00:41] [INFO ] xrdp channel server for display 10 (pid 1026) exit code 0 and signal number 0
[20230502-18:00:41] [INFO ] cleanup_sockets:
[20230502-18:00:41] [DEBUG] receiving SIGCHLD
[20230502-18:00:41] [INFO ] Process 1022 has exited
[20230502-18:00:41] [INFO ] ++ terminated session:  username user, display :10.0, session_pid 1022, ip ::ffff:192.168.0.82:49323 - socket: 12

.xsession-errors:

[18:55:20:381] [7490:8750] [WARN][com.freerdp.crypto] - Certificate verification failure 'self signed certificate (18)' at stack position 0
[18:55:20:381] [7490:8750] [WARN][com.freerdp.crypto] - C = US, ST = CA, L = Sunnyvale, O = xrdp, CN = www.xrdp.org
[18:55:21:184] [7490:8750] [ERROR][com.winpr.timezone] - Unable to get current timezone rule
[18:55:46:202] [7490:8750] [ERROR][com.freerdp.core] - freerdp_abort_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_CANCELLED [0x0002000B]
AlexanderZhirov commented 1 year ago

I checked a few more options. Here is the full result of my attempts:

/etc/xrdp/xrdp.ini ```sh [Globals] ; xrdp.ini file version number ini_version=1 ; fork a new process for each incoming connection fork=true ; ports to listen on, number alone means listen on all interfaces ; 0.0.0.0 or :: if ipv6 is configured ; space between multiple occurrences ; ALL specified interfaces must be UP when xrdp starts, otherwise xrdp will fail to start ; ; Examples: ; port=3389 ; port=unix://./tmp/xrdp.socket ; port=tcp://.:3389 127.0.0.1:3389 ; port=tcp://:3389 *:3389 ; port=tcp://:3389 192.168.1.1:3389 ; port=tcp6://.:3389 ::1:3389 ; port=tcp6://:3389 *:3389 ; port=tcp6://{}:3389 {FC00:0:0:0:0:0:0:1}:3389 ; port=vsock://: port=3389 ; 'port' above should be connected to with vsock instead of tcp ; use this only with number alone in port above ; prefer use vsock://: above use_vsock=false ; regulate if the listening socket use socket option tcp_nodelay ; no buffering will be performed in the TCP stack tcp_nodelay=true ; regulate if the listening socket use socket option keepalive ; if the network connection disappear without close messages the connection will be closed tcp_keepalive=true ; set tcp send/recv buffer (for experts) #tcp_send_buffer_bytes=32768 #tcp_recv_buffer_bytes=32768 ; security layer can be 'tls', 'rdp' or 'negotiate' ; for client compatible layer security_layer=negotiate ; minimum security level allowed for client for classic RDP encryption ; use tls_ciphers to configure TLS encryption ; can be 'none', 'low', 'medium', 'high', 'fips' crypt_level=high #crypt_level=none ; X.509 certificate and private key ; openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365 certificate= key_file= ; set SSL protocols ; can be comma separated list of 'SSLv3', 'TLSv1', 'TLSv1.1', 'TLSv1.2', 'TLSv1.3' ssl_protocols=TLSv1.2, TLSv1.3 ; set TLS cipher suites #tls_ciphers=HIGH ; concats the domain name to the user if set for authentication with the separator ; for example when the server is multi homed with SSSd #domain_user_separator=@ ; The following options will override the keyboard layout settings. ; These options are for DEBUG and are not recommended for regular use. #xrdp.override_keyboard_type=0x04 #xrdp.override_keyboard_subtype=0x01 #xrdp.override_keylayout=0x00000409 ; Section name to use for automatic login if the client sends username ; and password. If empty, the domain name sent by the client is used. ; If empty and no domain name is given, the first suitable section in ; this file will be used. autorun= allow_channels=true allow_multimon=true bitmap_cache=true bitmap_compression=true bulk_compression=true #hidelogwindow=true max_bpp=32 new_cursors=true ; fastpath - can be 'input', 'output', 'both', 'none' use_fastpath=both ; when true, userid/password *must* be passed on cmd line #require_credentials=true ; when true, the userid will be used to try to authenticate #enable_token_login=true ; You can set the PAM error text in a gateway setup (MAX 256 chars) #pamerrortxt=change your password according to policy at http://url ; ; colors used by windows in RGB format ; blue=009cb5 grey=dedede #black=000000 #dark_grey=808080 #blue=08246b #dark_blue=08246b #white=ffffff #red=ff0000 #green=00ff00 #background=626c72 ; ; configure login screen ; ; Login Screen Window Title #ls_title=My Login Title ; top level window background color in RGB format ls_top_window_bg_color=009cb5 ; width and height of login screen ; ; The default height allows for about 5 fields to be comfortably displayed ; above the buttons at the bottom. To display more fields, make ; larger, and also increase and ; below ; ls_width=350 ls_height=430 ; login screen background color in RGB format ls_bg_color=dedede ; optional background image filename. BMP format is always supported, ; but other formats will be supported if xrdp is build with imlib2 ; The transform can be one of the following:- ; none : No transformation. Image is placed in bottom-right corner ; of the screen. ; scale : Image is scaled to the screen size. The image aspect ; ratio is not preserved. ; zoom : Image is scaled to the screen size. The image aspect ; ratio is preserved by clipping the image. #ls_background_image= #ls_background_transform=none ; logo ; full path to file or file in shared folder. BMP format is always supported, ; but other formats will be supported if xrdp is build with imlib2 ; For transform values, see 'ls_background_transform'. The logo width and ; logo height are ignored for a transform of 'none'. ls_logo_filename= #ls_logo_transform=none #ls_logo_width=240 #ls_logo_height=140 ls_logo_x_pos=55 ls_logo_y_pos=50 ; for positioning labels such as username, password etc ls_label_x_pos=30 ls_label_width=65 ; for positioning text and combo boxes next to above labels ls_input_x_pos=110 ls_input_width=210 ; y pos for first label and combo box ls_input_y_pos=220 ; OK button ls_btn_ok_x_pos=142 ls_btn_ok_y_pos=370 ls_btn_ok_width=85 ls_btn_ok_height=30 ; Cancel button ls_btn_cancel_x_pos=237 ls_btn_cancel_y_pos=370 ls_btn_cancel_width=85 ls_btn_cancel_height=30 [Logging] ; Note: Log levels can be any of: core, error, warning, info, debug, or trace LogFile=xrdp.log LogLevel=debug EnableSyslog=true #SyslogLevel=INFO #EnableConsole=false #ConsoleLevel=INFO #EnableProcessId=false [LoggingPerLogger] ; Note: per logger configuration is only used if xrdp is built with ; --enable-devel-logging #xrdp.c=INFO #main()=INFO [Channels] ; Channel names not listed here will be blocked by XRDP. ; You can block any channel by setting its value to false. ; IMPORTANT! All channels are not supported in all use ; cases even if you set all values to true. ; You can override these settings on each session type ; These settings are only used if allow_channels=true rdpdr=true rdpsnd=true drdynvc=true cliprdr=true rail=true xrdpvr=true tcutils=true ; for debugging xrdp, in section xrdp1, change port=-1 to this: #port=/tmp/.xrdp/xrdp_display_10 ; ; Session types ; ; Some session types such as Xorg, X11rdp and Xvnc start a display server. ; Startup command-line parameters for the display server are configured ; in sesman.ini. See and configure also sesman.ini. [Xorg] name=Xorg lib=libxup.so username=ask password=ask ip=127.0.0.1 port=-1 code=20 [Xvnc] name=Xvnc lib=libvnc.so username=ask password=ask ip=127.0.0.1 port=-1 #xserverbpp=24 #delay_ms=2000 ; Disable requested encodings to support buggy VNC servers ; (1 = ExtendedDesktopSize) #disabled_encodings_mask=0 ; Use this to connect to a chansrv instance created outside of sesman ; (e.g. as part of an x11vnc console session). Replace '0' with the ; display number of the session #chansrvport=DISPLAY(0) ; Generic VNC Proxy ; Tailor this to specific hosts and VNC instances by specifying an ip ; and port and setting a suitable name. [vnc-any] name=vnc-any lib=libvnc.so ip=ask port=ask5900 username=na password=ask #pamusername=asksame #pampassword=asksame #pamsessionmng=127.0.0.1 #delay_ms=2000 ; Generic RDP proxy using NeutrinoRDP ; Tailor this to specific hosts by specifying an ip and port and setting ; a suitable name. [neutrinordp-any] name=neutrinordp-any ; To use this section, you should build xrdp with configure option ; --enable-neutrinordp. lib=libxrdpneutrinordp.so ip=ask port=ask3389 username=ask password=ask ; Uncomment the following lines to enable PAM authentication for proxy ; connections. #pamusername=ask #pampassword=ask #pamsessionmng=127.0.0.1 ; Currently NeutrinoRDP doesn't support dynamic resizing. Uncomment ; this line if you're using a client which does. #enable_dynamic_resizing=false ; By default, performance settings requested by the RDP client are ignored ; and chosen by NeutrinoRDP. Uncomment this line to allow the user to ; select performance settings in the RDP client. #perf.allow_client_experiencesettings=true ; Override any experience setting by uncommenting one or more of the ; following lines. #perf.wallpaper=false #perf.font_smoothing=false #perf.desktop_composition=false #perf.full_window_drag=false #perf.menu_anims=false #perf.themes=false #perf.cursor_blink=false ; By default NeutrinoRDP supports cursor shadows. If this is giving ; you problems (e.g. cursor is a black rectangle) try disabling cursor ; shadows by uncommenting the following line. #perf.cursor_shadow=false ; By default, NeutrinoRDP uses the keyboard layout of the remote RDP Server. ; If you want to tell the remote the keyboard layout of the RDP Client, ; by uncommenting the following line. #neutrinordp.allow_client_keyboardLayout=true ; The following options will override the remote keyboard layout settings. ; These options are for DEBUG and are not recommended for regular use. #neutrinordp.override_keyboardLayout_mask=0x0000FFFF #neutrinordp.override_kbd_type=0x04 #neutrinordp.override_kbd_subtype=0x01 #neutrinordp.override_kbd_fn_keys=12 #neutrinordp.override_kbd_layout=0x00000409 ; 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 ```
/etc/xrdp/sesman.ini ```sh ;; See `man 5 sesman.ini` for details [Globals] ListenAddress=127.0.0.1 ListenPort=3350 EnableUserWindowManager=true ; Give in relative path to user's home directory UserWindowManager=startwm.sh ; Give in full path or relative path to /etc/xrdp DefaultWindowManager=startwm.sh ; Give in full path or relative path to /etc/xrdp ReconnectScript=reconnectwm.sh [Security] AllowRootLogin=true MaxLoginRetry=4 TerminalServerUsers=tsusers TerminalServerAdmins=tsadmins ; When AlwaysGroupCheck=false access will be permitted ; if the group TerminalServerUsers is not defined. AlwaysGroupCheck=false ; When RestrictOutboundClipboard=all clipboard from the ; server is not pushed to the client. ; In addition, you can control text/file/image transfer restrictions ; respectively. It also accepts comma separated list such as text,file,image. ; To keep compatibility, some aliases are also available: ; true: an alias of all ; false: an alias of none ; yes: an alias of all RestrictOutboundClipboard=none ; When RestrictInboundClipboard=all clipboard from the ; client is not pushed to the server. ; In addition, you can control text/file/image transfer restrictions ; respectively. It also accepts comma separated list such as text,file,image. ; To keep compatibility, some aliases are also available: ; true: an alias of all ; false: an alias of none ; yes: an alias of all RestrictInboundClipboard=none [Sessions] ;; X11DisplayOffset - x11 display number offset ; Type: integer ; Default: 10 X11DisplayOffset=10 ;; MaxSessions - maximum number of connections to an xrdp server ; Type: integer ; Default: 0 MaxSessions=50 ;; KillDisconnected - kill disconnected sessions ; Type: boolean ; Default: false ; if 1, true, or yes, every session will be killed within DisconnectedTimeLimit ; seconds after the user disconnects KillDisconnected=false ;; DisconnectedTimeLimit (seconds) - wait before kill disconnected sessions ; Type: integer ; Default: 0 ; if KillDisconnected is set to false, this value is ignored DisconnectedTimeLimit=0 ;; IdleTimeLimit (seconds) - wait before disconnect idle sessions ; Type: integer ; Default: 0 ; Set to 0 to disable idle disconnection. IdleTimeLimit=0 ;; Policy - session allocation policy ; Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ] ; "Default" session per ; "UBD" session per ; "UBI" session per ; "UBC" session per ; "UBDI" session per ; "UBDC" session per Policy=Default [Logging] ; Note: Log levels can be any of: core, error, warning, info, debug, or trace LogFile=xrdp-sesman.log LogLevel=debug EnableSyslog=true #SyslogLevel=INFO #EnableConsole=false #ConsoleLevel=INFO #EnableProcessId=false [LoggingPerLogger] ; Note: per logger configuration is only used if xrdp is built with ; --enable-devel-logging #sesman.c=INFO #main()=INFO ; ; Session definitions - startup command-line parameters for each session type ; [Xorg] ; Specify the path of non-suid Xorg executable. It might differ depending ; on your distribution and version. Find out the appropriate path for your ; environment. The typical path is known as follows: ; ; Fedora 26 or later : param=/usr/libexec/Xorg ; Debian 9 or later : param=/usr/lib/xorg/Xorg ; Ubuntu 16.04 or later : param=/usr/lib/xorg/Xorg ; Arch Linux : param=/usr/lib/Xorg ; CentOS 7 : param=/usr/bin/Xorg or param=Xorg ; CentOS 8 : param=/usr/libexec/Xorg ; FreeBSD (from 2022Q4) : param=/usr/local/libexec/Xorg ; #param=Xorg param=/usr/bin/Xorg ; Leave the rest parameters as-is unless you understand what will happen. param=-config param=xrdp/xorg.conf param=-noreset param=-nolisten param=tcp param=-logfile param=.xorgxrdp.%s.log [Xvnc] param=Xvnc param=-bs param=-nolisten param=tcp param=-localhost param=-dpi param=96 [Chansrv] ; drive redirection ; See sesman.ini(5) for the format of this parameter #FuseMountName=/run/user/%u/thinclient_drives #FuseMountName=/media/thinclient_drives/%U/thinclient_drives FuseMountName=thinclient_drives ; this value allows only the user to access their own mapped drives. ; Make this more permissive (e.g. 022) if required. FileUmask=077 ; Can be used to disable FUSE functionality - see sesman.ini(5) #EnableFuseMount=false ; Uncomment this line only if you are using GNOME 3 versions 3.29.92 ; and up, and you wish to cut-paste files between Nautilus and Windows. Do ; not use this setting for GNOME 4, or other file managers #UseNautilus3FlistFormat=true [ChansrvLogging] ; Note: one log file is created per display and the LogFile config value ; is ignored. The channel server log file names follow the naming convention: ; xrdp-chansrv.${DISPLAY}.log ; ; Note: Log levels can be any of: core, error, warning, info, debug, or trace LogLevel=INFO EnableSyslog=true #SyslogLevel=INFO #EnableConsole=false #ConsoleLevel=INFO #EnableProcessId=false [ChansrvLoggingPerLogger] ; Note: per logger configuration is only used if xrdp is built with ; --enable-devel-logging #chansrv.c=INFO #main()=INFO [SessionVariables] PULSE_SCRIPT=/etc/xrdp/pulse/default.pa ```
xrdp.log ```sh [20230502-22:32:22] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:127.0.0.1 port 46378 [20230502-22:32:22] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:127.0.0.1 port 3389) [20230502-22:32:22] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389) [20230502-22:32:22] [DEBUG] item ini_version, value 1 [20230502-22:32:23] [DEBUG] item fork, value true [20230502-22:32:23] [DEBUG] item port, value 3389 [20230502-22:32:23] [DEBUG] item use_vsock, value false [20230502-22:32:23] [DEBUG] item tcp_nodelay, value true [20230502-22:32:23] [DEBUG] item tcp_keepalive, value true [20230502-22:32:23] [DEBUG] item security_layer, value negotiate [20230502-22:32:23] [DEBUG] item crypt_level, value high [20230502-22:32:23] [DEBUG] item certificate, value [20230502-22:32:23] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20230502-22:32:23] [DEBUG] item key_file, value [20230502-22:32:23] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20230502-22:32:23] [DEBUG] item ssl_protocols, value TLSv1.2, TLSv1.3 [20230502-22:32:23] [DEBUG] TLSv1.3 enabled [20230502-22:32:23] [DEBUG] TLSv1.2 enabled [20230502-22:32:23] [DEBUG] item autorun, value [20230502-22:32:23] [DEBUG] item allow_channels, value true [20230502-22:32:23] [DEBUG] item allow_multimon, value true [20230502-22:32:23] [DEBUG] item bitmap_cache, value true [20230502-22:32:23] [DEBUG] item bitmap_compression, value true [20230502-22:32:23] [DEBUG] item bulk_compression, value true [20230502-22:32:23] [DEBUG] item max_bpp, value 32 [20230502-22:32:23] [DEBUG] item new_cursors, value true [20230502-22:32:23] [DEBUG] item use_fastpath, value both [20230502-22:32:23] [DEBUG] item blue, value 009cb5 [20230502-22:32:23] [DEBUG] item grey, value dedede [20230502-22:32:23] [DEBUG] item ls_top_window_bg_color, value 009cb5 [20230502-22:32:23] [DEBUG] item ls_width, value 350 [20230502-22:32:23] [DEBUG] item ls_height, value 430 [20230502-22:32:23] [DEBUG] item ls_bg_color, value dedede [20230502-22:32:23] [DEBUG] item ls_logo_filename, value [20230502-22:32:23] [DEBUG] item ls_logo_x_pos, value 55 [20230502-22:32:23] [DEBUG] item ls_logo_y_pos, value 50 [20230502-22:32:23] [DEBUG] item ls_label_x_pos, value 30 [20230502-22:32:23] [DEBUG] item ls_label_width, value 65 [20230502-22:32:23] [DEBUG] item ls_input_x_pos, value 110 [20230502-22:32:23] [DEBUG] item ls_input_width, value 210 [20230502-22:32:23] [DEBUG] item ls_input_y_pos, value 220 [20230502-22:32:23] [DEBUG] item ls_btn_ok_x_pos, value 142 [20230502-22:32:23] [DEBUG] item ls_btn_ok_y_pos, value 370 [20230502-22:32:23] [DEBUG] item ls_btn_ok_width, value 85 [20230502-22:32:23] [DEBUG] item ls_btn_ok_height, value 30 [20230502-22:32:23] [DEBUG] item ls_btn_cancel_x_pos, value 237 [20230502-22:32:23] [DEBUG] item ls_btn_cancel_y_pos, value 370 [20230502-22:32:23] [DEBUG] item ls_btn_cancel_width, value 85 [20230502-22:32:23] [DEBUG] item ls_btn_cancel_height, value 30 [20230502-22:32:23] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|RDP], selected [SSL] [20230502-22:32:23] [DEBUG] Using TLS security, and setting RDP security crypto to LEVEL_NONE and METHOD_NONE [20230502-22:32:23] [DEBUG] [MCS Connection Sequence] receive connection request [20230502-22:32:23] [INFO ] Connected client computer name: solus [20230502-22:32:23] [DEBUG] The connection is using TLS, skipping RDP crypto negotiation [20230502-22:32:23] [DEBUG] Adding channel: name rdpdr, channel id 1004, flags 0xc0800000 [20230502-22:32:23] [DEBUG] Adding channel: name rdpsnd, channel id 1005, flags 0xc0000000 [20230502-22:32:23] [DEBUG] Adding channel: name cliprdr, channel id 1006, flags 0xc0a00000 [20230502-22:32:23] [DEBUG] Adding channel: name drdynvc, channel id 1007, flags 0xc0800000 [20230502-22:32:23] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored) [20230502-22:32:23] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored) [20230502-22:32:23] [DEBUG] [MCS Connection Sequence] construct connection response [20230502-22:32:23] [DEBUG] using no security [20230502-22:32:23] [DEBUG] [MCS Connection Sequence] send connection response [20230502-22:32:23] [DEBUG] [MCS Connection Sequence] receive erect domain request [20230502-22:32:23] [DEBUG] [MCS Connection Sequence] receive attach user request [20230502-22:32:23] [DEBUG] [MCS Connection Sequence] send attach user confirm [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] receive channel join request [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] send channel join confirm [20230502-22:32:23] [DEBUG] [MCS Connection Sequence (TLS)] completed [20230502-22:32:23] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000409] [20230502-22:32:23] [DEBUG] keyboard_cfg_file /etc/xrdp/xrdp_keyboard.ini [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: item rdp_layout_us value 0x00000409 [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: skipping configuration item - rdp_layout_us, continuing to next section [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: item rdp_layout_us value us [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: skipping configuration item - rdp_layout_us, continuing to next section [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: item keyboard_type value 4 [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: item keyboard_subtype value 3 [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: item keyboard_type value 7 [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: item keyboard_subtype value 2 [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: item model value pc105 [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: item rdp_layouts value default_rdp_layouts [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: item layouts_map value default_layouts_map [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: item rdp_layout_us value us [20230502-22:32:23] [DEBUG] xrdp_load_keyboard_layout: skipping configuration item - rdp_layout_us, continuing to next section [20230502-22:32:23] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options [] [20230502-22:32:23] [INFO ] TLS connection established from ::ffff:127.0.0.1 port 46378: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 [20230502-22:32:23] [DEBUG] Client requested auto logon. [20230502-22:32:23] [DEBUG] Client requested compression enabled. [20230502-22:32:23] [DEBUG] Client supplied domain: [20230502-22:32:23] [DEBUG] Client supplied username: alexander [20230502-22:32:23] [DEBUG] Client supplied password: [20230502-22:32:23] [DEBUG] Client supplied program: [20230502-22:32:23] [DEBUG] Client supplied directory: [20230502-22:32:24] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor [20230502-22:32:24] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 7864320 MB cache entries 2000 [20230502-22:32:24] [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49 [20230502-22:32:24] [WARN ] Client Capability: not enough orders supported by client, client wants off screen bitmap but offscreen bitmaps disabled [20230502-22:32:24] [DEBUG] xrdp_00000738_wm_login_state_event_00000001 [20230502-22:32:24] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini [20230502-22:32:24] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file [20230502-22:32:24] [DEBUG] Login state change request WMLS_RESET -> WMLS_RESET [20230502-22:32:24] [DEBUG] xrdp_wm_login_mode_changed: login_mode is 0 [20230502-22:32:24] [DEBUG] Login state change request WMLS_RESET -> WMLS_USER_PROMPT [20230502-22:32:24] [DEBUG] in xrdp_wm_init: [20230502-22:32:24] [DEBUG] ini_version: 1 [20230502-22:32:24] [DEBUG] use_bitmap_cache: 1 [20230502-22:32:24] [DEBUG] use_bitmap_compression: 1 [20230502-22:32:24] [DEBUG] port: 3389 [20230502-22:32:24] [DEBUG] crypt_level: 3 [20230502-22:32:24] [DEBUG] allow_channels: 1 [20230502-22:32:24] [DEBUG] max_bpp: 32 [20230502-22:32:24] [DEBUG] fork: 1 [20230502-22:32:24] [DEBUG] tcp_nodelay: 1 [20230502-22:32:24] [DEBUG] tcp_keepalive: 1 [20230502-22:32:24] [DEBUG] tcp_send_buffer_bytes: 0 [20230502-22:32:24] [DEBUG] tcp_recv_buffer_bytes: 0 [20230502-22:32:24] [DEBUG] new_cursors: 1 [20230502-22:32:24] [DEBUG] allow_multimon: 1 [20230502-22:32:24] [DEBUG] grey: 14606046 [20230502-22:32:24] [DEBUG] black: 0 [20230502-22:32:24] [DEBUG] dark_grey: 0 [20230502-22:32:24] [DEBUG] blue: 40117 [20230502-22:32:24] [DEBUG] dark_blue: 0 [20230502-22:32:24] [DEBUG] white: 0 [20230502-22:32:24] [DEBUG] red: 0 [20230502-22:32:24] [DEBUG] green: 0 [20230502-22:32:24] [DEBUG] background: 0 [20230502-22:32:24] [DEBUG] autorun: [20230502-22:32:24] [DEBUG] hidelogwindow: 0 [20230502-22:32:24] [DEBUG] require_credentials: 0 [20230502-22:32:24] [DEBUG] bulk_compression: 1 [20230502-22:32:24] [DEBUG] new_cursors: 1 [20230502-22:32:24] [DEBUG] nego_sec_layer: 0 [20230502-22:32:24] [DEBUG] allow_multimon: 1 [20230502-22:32:24] [DEBUG] enable_token_login: 0 [20230502-22:32:24] [DEBUG] ls_top_window_bg_color: b59c00 [20230502-22:32:24] [DEBUG] ls_width: 350 [20230502-22:32:24] [DEBUG] ls_height: 430 [20230502-22:32:24] [DEBUG] ls_bg_color: dedede [20230502-22:32:24] [DEBUG] ls_title: [20230502-22:32:24] [DEBUG] ls_logo_filename: [20230502-22:32:24] [DEBUG] ls_logo_x_pos: 55 [20230502-22:32:24] [DEBUG] ls_logo_y_pos: 50 [20230502-22:32:24] [DEBUG] ls_label_x_pos: 30 [20230502-22:32:24] [DEBUG] ls_label_width: 65 [20230502-22:32:24] [DEBUG] ls_input_x_pos: 110 [20230502-22:32:24] [DEBUG] ls_input_width: 210 [20230502-22:32:24] [DEBUG] ls_input_y_pos: 220 [20230502-22:32:24] [DEBUG] ls_btn_ok_x_pos: 142 [20230502-22:32:24] [DEBUG] ls_btn_ok_y_pos: 370 [20230502-22:32:24] [DEBUG] ls_btn_ok_width: 85 [20230502-22:32:24] [DEBUG] ls_btn_ok_height: 30 [20230502-22:32:24] [DEBUG] ls_btn_cancel_x_pos: 237 [20230502-22:32:24] [DEBUG] ls_btn_cancel_y_pos: 370 [20230502-22:32:24] [DEBUG] ls_btn_cancel_width: 85 [20230502-22:32:24] [DEBUG] ls_btn_cancel_height: 30 [20230502-22:32:24] [DEBUG] libxrdp_query_channel - Channel 0 name rdpdr [20230502-22:32:24] [DEBUG] xrdp_wm_init: channel rdpdr channel id 0 is enabled [20230502-22:32:24] [DEBUG] Enabling channel 1004 (rdpdr) [20230502-22:32:24] [DEBUG] libxrdp_query_channel - Channel 1 name rdpsnd [20230502-22:32:24] [DEBUG] xrdp_wm_init: channel rdpsnd channel id 1 is enabled [20230502-22:32:24] [DEBUG] Enabling channel 1005 (rdpsnd) [20230502-22:32:24] [DEBUG] libxrdp_query_channel - Channel 2 name cliprdr [20230502-22:32:24] [DEBUG] xrdp_wm_init: channel cliprdr channel id 2 is enabled [20230502-22:32:24] [DEBUG] Enabling channel 1006 (cliprdr) [20230502-22:32:24] [DEBUG] libxrdp_query_channel - Channel 3 name drdynvc [20230502-22:32:24] [DEBUG] xrdp_wm_init: channel drdynvc channel id 3 is enabled [20230502-22:32:24] [DEBUG] Enabling channel 1007 (drdynvc) [20230502-22:32:24] [DEBUG] Login state change request WMLS_USER_PROMPT -> WMLS_START_CONNECT [20230502-22:32:24] [DEBUG] out xrdp_wm_init: [20230502-22:32:24] [DEBUG] xrdp_wm_login_mode_changed: login_mode is 2 [20230502-22:32:24] [DEBUG] Login state change request WMLS_START_CONNECT -> WMLS_CONNECT_IN_PROGRESS [20230502-22:32:24] [DEBUG] xrdp_wm_log_msg: connecting to sesman on 127.0.0.1:3350 [20230502-22:32:24] [INFO ] connecting to sesman on 127.0.0.1:3350 [20230502-22:32:24] [INFO ] xrdp_wm_log_msg: sesman connect ok [20230502-22:32:24] [INFO ] sesman connect ok [20230502-22:32:24] [DEBUG] xrdp_wm_log_msg: sending login info to session manager. Please wait... [20230502-22:32:24] [INFO ] sending login info to session manager. Please wait... [20230502-22:32:24] [DEBUG] xrdp_wm_login_mode_changed: login_mode is 3 [20230502-22:32:24] [INFO ] xrdp_wm_log_msg: login successful for user alexander on display 10 [20230502-22:32:24] [INFO ] login successful for user alexander on display 10 [20230502-22:32:24] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4 [20230502-22:32:24] [DEBUG] xrdp_wm_log_msg: started connecting [20230502-22:32:24] [INFO ] started connecting [20230502-22:32:24] [INFO ] lib_mod_connect: connecting via UNIX socket [20230502-22:32:27] [DEBUG] Closed socket 19 (AF_UNIX) [20230502-22:32:31] [DEBUG] Closed socket 19 (AF_UNIX) [20230502-22:32:34] [DEBUG] Closed socket 19 (AF_UNIX) [20230502-22:32:38] [DEBUG] Closed socket 19 (AF_UNIX) ```
xrdp-sesman.log ```sh [20230502-22:32:24] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 55930 [20230502-22:32:24] [DEBUG] session_get_bydata: search policy 0 U alexander W 2516 H 984 bpp 24 T 3 IP ::ffff:127.0.0.1:46378 - socket: 12 [20230502-22:32:24] [INFO ] Terminal Server Users group is disabled, allowing authentication [20230502-22:32:24] [INFO ] ++ created session (access granted): username alexander, ip ::ffff:127.0.0.1:46378 - socket: 12 [20230502-22:32:24] [INFO ] starting Xorg session... [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:24] [DEBUG] Closed socket 13 (AF_INET6 :: port 5910) [20230502-22:32:24] [DEBUG] Did not find a running X server at 5910 [20230502-22:32:24] [DEBUG] Closed socket 13 (AF_INET6 :: port 6010) [20230502-22:32:24] [DEBUG] Did not find a running X server at 6010 [20230502-22:32:24] [DEBUG] Closed socket 13 (AF_INET6 :: port 6210) [20230502-22:32:24] [DEBUG] Did not find a running X server at 6210 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.xrdp/xrdp_chansrv_socket_10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.xrdp/xrdp_chansrv_audio_out_socket_10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.xrdp/xrdp_chansrv_audio_in_socket_10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.xrdp/xrdpapi_10 [20230502-22:32:24] [INFO ] Starting session: session_pid 1852, display :10.0, width 2516, height 984, bpp 24, client ip ::ffff:127.0.0.1:46378 - socket: 12, user name alexander [20230502-22:32:24] [INFO ] [session start] (display 10): calling auth_start_session from pid 1852 [20230502-22:32:24] [ERROR] sesman_data_in: scp_process_msg failed [20230502-22:32:24] [DEBUG] Closed socket 11 (AF_INET6 ::1 port 3350) [20230502-22:32:24] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20230502-22:32:24] [DEBUG] Closed socket 12 (AF_INET6 ::1 port 3350) [20230502-22:32:24] [DEBUG] Closed socket 12 (AF_INET6 ::1 port 3350) [20230502-22:32:24] [DEBUG] Waiting for X server to start on display 10 [20230502-22:32:24] [DEBUG] Waiting for X server to start on display 10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:24] [INFO ] Starting X server on display 10: /usr/bin/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log [20230502-22:32:24] [DEBUG] Calling exec (executable: /usr/bin/Xorg, arguments: /usr/bin/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log) [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:24] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:25] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:26] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:27] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:28] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:29] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:30] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:31] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:32] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:33] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:34] [WARN ] Timed out waiting for X server on display 10 to startup [20230502-22:32:34] [INFO ] Session started successfully for user alexander on display 10 [20230502-22:32:34] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1853) exits to end the session [20230502-22:32:34] [INFO ] Starting the xrdp channel server for display 10 [20230502-22:32:34] [DEBUG] waiting for pid 1853 to exit [20230502-22:32:34] [DEBUG] Calling exec (executable: /usr/sbin/xrdp-chansrv, arguments: /usr/sbin/xrdp-chansrv) [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:34] [WARN ] Timed out waiting for X server on display 10 to startup [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X11-unix/X10 [20230502-22:32:34] [DEBUG] Did not find a running X server at /tmp/.X10-lock [20230502-22:32:34] [ERROR] There is no X server active on display 10 [20230502-22:32:34] [ERROR] A fatal error has occurred attempting to start the window manager on display 10, aborting connection [20230502-22:32:34] [WARN ] Window manager (pid 1853, display 10) exited quickly (0 secs). This could indicate a window manager config problem [20230502-22:32:34] [INFO ] Calling auth_stop_session and auth_end from pid 1852 [20230502-22:32:34] [INFO ] Terminating X server (pid 1854) on display 10 [20230502-22:32:34] [INFO ] Terminating the xrdp channel server (pid 1879) on display 10 [20230502-22:32:34] [DEBUG] waiting for pid 1854 to exit [20230502-22:32:34] [INFO ] X server on display 10 (pid 1854) returned exit code 1 and signal number 0 [20230502-22:32:34] [DEBUG] waiting for pid 1879 to exit [20230502-22:32:34] [INFO ] xrdp channel server for display 10 (pid 1879) exit code 0 and signal number 0 [20230502-22:32:34] [INFO ] cleanup_sockets: [20230502-22:32:34] [DEBUG] receiving SIGCHLD [20230502-22:32:34] [INFO ] Process 1852 has exited [20230502-22:32:34] [INFO ] ++ terminated session: username alexander, display :10.0, session_pid 1852, ip ::ffff:127.0.0.1:46378 - socket: 12 ```

Just in case, I made these settings:

/etc/X11/xrdp/xrdp.conf ```sh Section "ServerLayout" Identifier "X11 Server" Screen "Screen (xrdpdev)" InputDevice "xrdpMouse" "CorePointer" InputDevice "xrdpKeyboard" "CoreKeyboard" EndSection Section "ServerFlags" # This line prevents "ServerLayout" sections in xorg.conf.d files # overriding the "X11 Server" layout (xrdp #1784) Option "DefaultServerLayout" "X11 Server" Option "DontVTSwitch" "on" Option "AutoAddDevices" "off" Option "AutoAddGPU" "off" EndSection Section "Module" Load "dbe" Load "ddc" Load "extmod" Load "glx" Load "int10" Load "record" Load "vbe" Load "xorgxrdp" Load "fb" EndSection Section "InputDevice" Identifier "xrdpKeyboard" Driver "xrdpkeyb" EndSection Section "InputDevice" Identifier "xrdpMouse" Driver "xrdpmouse" EndSection Section "Monitor" Identifier "Monitor" Option "DPMS" HorizSync 30-80 VertRefresh 60-75 ModeLine "1920x1080" 138.500 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync ModeLine "1280x720" 74.25 1280 1720 1760 1980 720 725 730 750 +HSync +VSync Modeline "1368x768" 72.25 1368 1416 1448 1528 768 771 781 790 +hsync -vsync Modeline "1600x900" 119.00 1600 1696 1864 2128 900 901 904 932 -hsync +vsync EndSection Section "Device" Identifier "Video Card (xrdpdev)" Driver "xrdpdev" Option "DRMDevice" "/dev/dri/renderD128" Option "DRI3" "1" EndSection Section "Screen" Identifier "Screen (xrdpdev)" Device "Video Card (xrdpdev)" GPUDevice "" Monitor "Monitor" DefaultDepth 24 SubSection "Display" Depth 24 Modes "640x480" "800x600" "1024x768" "1280x720" "1280x1024" "1600x900" "1920x1080" EndSubSection EndSection ```
/etc/xrdp/startwm.sh ```sh #!/usr/bin/env bash source /usr/share/defaults/etc/profile exec /usr/bin/mate-session ```

But for some reason the file is ~/.xorgxrdp.10.log is missing

AlexanderZhirov commented 1 year ago

I checked a few more options. Here is the full result of my attempts: /etc/xrdp/xrdp.ini /etc/xrdp/sesman.ini xrdp.log xrdp-sesman.log

Just in case, I made these settings: /etc/X11/xrdp/xrdp.conf /etc/xrdp/startwm.sh

But for some reason the file is ~/.xorgxrdp.10.log is missing

Hm... This solution helped me. For some reason, I didn't find any mention of this configuration file. How true is everything in such a decision?

matt335672 commented 1 year ago

A couple of things:-

1) In your second log (this post), you've still not got a qualified path to Xorg. This probably means you didn't successfully restart sesman at the time. 2) The path in sesman.ini is incorrect. Where you have param=/usr/bin/Xorg, you should have param=/usr/lib/xorg/Xorg. Adding the Xorg in the standard PATH won't work. To see why, try cat /usr/bin/Xorg. This can be seen in your 3rd sesman.log above.

You should get to a state where you can see this in your log:-

[INFO ] Starting X server on display 10: /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log  

Your linked solution doesn't seem relevant to the problem as you've posted it.

AlexanderZhirov commented 1 year ago

@matt335672 I apologize for the very late response. I have now checked all my settings and did as you indicated and the problem has been solved for me.

> $ cat /usr/bin/Xorg
#!/bin/sh
#
# Execute Xorg.wrap if it exists otherwise execute Xorg directly.
# This allows distros to put the suid wrapper in a separate package.

basedir="/usr/lib64/xorg-server"
if [ -x "$basedir"/Xorg.wrap ]; then
    exec "$basedir"/Xorg.wrap "$@"
else
    exec "$basedir"/Xorg "$@"
fi
> $ ls /usr/lib64/xorg-server/Xorg
/usr/lib64/xorg-server/Xorg

And as a path, I specified the full path in sesman.ini:

param=/usr/lib64/xorg-server/Xorg
FirstLicz commented 1 year ago

[root@iaas-kunpeng-bljcs-02 bwda]# cat .xorgxrdp.10.log [ 3160.803] X.Org X Server 1.20.8 X Protocol Version 11, Revision 0 [ 3160.803] Build Operating System: localhost 4.19.90-23.0.v2101.ky10.aarch64 [ 3160.803] Current Operating System: Linux iaas-kunpeng-bljcs-02 4.19.90-24.4.v2101.ky10.aarch64 #1 SMP Mon May 24 14:45:37 CST 2021 aarch64 [ 3160.803] Kernel command line: BOOT_IMAGE=/vmlinuz-4.19.90-24.4.v2101.ky10.aarch64 root=/dev/mapper/system-lv_root ro biosdevname=0 net.ifnames=0 console=ttyS0,115200n8 crashkernel=1024M,high smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 video=efifb:off video=VGA-1:640x480-32@60me [ 3160.803] Build Date: 27 February 2021 05:07:25PM [ 3160.803] Build ID: xorg-x11-server 1.20.8-3.p01.ky10 [ 3160.803] Current version of pixman: 0.40.0 [ 3160.803] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 3160.803] Markers: (--) probed, () from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 3160.803] (++) Log file: ".xorgxrdp.10.log", Time: Wed May 24 10:46:06 2023 [ 3160.803] (EE) Unable to locate/open config file: "xrdp/xorg.conf" [ 3160.803] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 3160.803] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 3160.804] (==) No Layout section. Using the first Screen section. [ 3160.804] (==) No screen section available. Using defaults. [ 3160.804] () |-->Screen "Default Screen Section" (0) [ 3160.804] (*) | |-->Monitor "" [ 3160.804] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 3160.804] (==) Automatically adding devices [ 3160.804] (==) Automatically enabling devices [ 3160.804] (==) Automatically adding GPU devices [ 3160.804] (==) Automatically binding GPU devices [ 3160.804] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 3160.804] (==) FontPath set to: catalogue:/etc/X11/fontpath.d, built-ins [ 3160.804] (==) ModulePath set to "/usr/lib64/xorg/modules" [ 3160.804] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 3160.804] (II) Loader magic: 0xaaab76d30dd8 [ 3160.804] (II) Module ABI versions: [ 3160.804] X.Org ANSI C Emulation: 0.4 [ 3160.804] X.Org Video Driver: 24.1 [ 3160.804] X.Org XInput driver : 24.1 [ 3160.804] X.Org Server Extension : 10.0 [ 3160.805] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c8 [ 3160.806] (II) xfree86: Adding drm device (/dev/dri/card0) [ 3160.806] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted [ 3160.806] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied [ 3160.811] (--) PCI:(6@0:0:0) 19e5:1711:19e5:1711 rev 1, Mem @ 0xe4000000/33554432, 0xe7200000/2097152, BIOS @ 0x????????/65536 [ 3160.811] (II) LoadModule: "glx" [ 3160.811] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [ 3160.813] (II) Module glx: vendor="X.Org Foundation" [ 3160.813] compiled for 1.20.8, module version = 1.0.0 [ 3160.813] ABI class: X.Org Server Extension, version 10.0 [ 3160.813] (==) Matched modesetting as autoconfigured driver 0 [ 3160.813] (==) Matched fbdev as autoconfigured driver 1 [ 3160.813] (==) Assigned the driver to the xf86ConfigLayout [ 3160.813] (II) LoadModule: "modesetting" [ 3160.813] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so [ 3160.813] (II) Module modesetting: vendor="X.Org Foundation" [ 3160.813] compiled for 1.20.8, module version = 1.20.8 [ 3160.813] Module class: X.Org Video Driver [ 3160.813] ABI class: X.Org Video Driver, version 24.1 [ 3160.813] (II) LoadModule: "fbdev" [ 3160.813] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so [ 3160.813] (II) Module fbdev: vendor="X.Org Foundation" [ 3160.813] compiled for 1.20.8, module version = 0.5.0 [ 3160.813] Module class: X.Org Video Driver [ 3160.813] ABI class: X.Org Video Driver, version 24.1 [ 3160.813] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 3160.813] (II) FBDEV: driver for framebuffer: fbdev [ 3160.813] (EE) Fatal server error: [ 3160.813] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) [ 3160.813] (EE) [ 3160.813] (EE) Please consult the openEuler Project support at http://wiki.x.org for help. [ 3160.813] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information. [ 3160.813] (EE) [ 3160.813] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor [ 3160.813] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor [ 3160.813] (EE) Server terminated with error (1). Closing log file.