一、在初次启动xrdp服务
sudo systemctl restart xrdp
1、xrdp
[20221013-14:10:56] [INFO ] starting xrdp with pid 23602
./xrdp/xrdp.c:685: LOG(LOG_LEVEL_INFO, "starting xrdp with pid %d", pid); [main 入口]
[20221013-14:10:56] [INFO ] address [0.0.0.0] port [3389] mode 1
xrdp/xrdp_listen.c:678: LOG(LOG_LEVEL_INFO, "address [%s] port [%s] mode %d", [xrdp_listen_main_loop]
[20221013-14:10:56] [INFO ] listening to port 3389 on 0.0.0.0
./xrdp/xrdp_listen.c:687: LOG(LOG_LEVEL_INFO, "listening to port %s on %s",
[20221013-14:10:56] [INFO ] xrdp_listen_pp done
xrdp/xrdp_listen.c:674 [break]
2、xrdp-session
[20221013-14:10:54] [INFO ] sesman_main_loop: sesman asked to terminate [20221013-14:10:54] [INFO ] starting xrdp-sesman with pid 23588 [20221013-14:10:54] [INFO ] Sesman now listening on /var/run/xrdp-sesman/sesman.socket
二、远程桌面开机启动指定app /usr/bin/pluma
1、xrdp
[20221013-14:44:42] [INFO ] Socket 12: connection accepted from 192.168.163.1:57840 [20221013-14:44:42] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20221013-14:44:42] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20221013-14:44:42] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL] [20221013-14:44:42] [ERROR] SSL_read: I/O error [20221013-14:44:42] [ERROR] libxrdp_force_read: header read error [20221013-14:44:42] [ERROR] Processing [ITU-T T.125] Connect-Initial failed [20221013-14:44:42] [ERROR] [MCS Connection Sequence] receive connection request failed [20221013-14:44:42] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed [20221013-14:44:42] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed [20221013-14:44:42] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed [20221013-14:44:42] [ERROR] xrdp_iso_send: trans_write_copy_s failed [20221013-14:44:42] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed [20221013-14:44:42] [INFO ] Socket 12: connection accepted from 192.168.163.1:57842 [20221013-14:44:42] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20221013-14:44:42] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20221013-14:44:42] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL] [20221013-14:44:42] [INFO ] Connected client computer name: WYY-PC [20221013-14:44:42] [WARN ] Physical desktop dimensions (0x0) are invalid [20221013-14:44:42] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored) [20221013-14:44:42] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored) [20221013-14:44:42] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000804] [20221013-14:44:42] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options [] [20221013-14:44:42] [INFO ] TLS connection established from 192.168.163.1:57842 TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 [20221013-14:44:42] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor [20221013-14:44:42] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 10485760 MB cache entries 100 [20221013-14:44:42] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3 [20221013-14:44:42] [WARN ] xrdp_caps_process_codecs: unknown codec id 5 [20221013-14:44:42] [INFO ] xrdp_caps_process_codecs: RemoteFX, codec id 3, properties len 49 [20221013-14:44:42] [WARN ] Cannot find keymap file /etc/xrdp/km-00000804.ini [20221013-14:44:42] [WARN ] Cannot find keymap file /etc/xrdp/km-00000804.ini [20221013-14:44:42] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini [20221013-14:44:42] [WARN ] local keymap file for 0x00000804 found and doesn't match built in keymap, using local keymap file [20221013-14:44:42] [WARN ] No information is available to determine login screen DPI [20221013-14:44:42] [WARN ] No DPI value is available to find login font [20221013-14:44:42] [WARN ] Using the default_dpi of 96 [20221013-14:44:42] [INFO ] connecting to sesman on sesman.socket [20221013-14:44:42] [WARN ] Ignoring obsolete SCP port value '3350' [20221013-14:44:42] [INFO ] xrdp_wm_log_msg: sesman connect ok [20221013-14:44:42] [INFO ] sesman connect ok [20221013-14:44:42] [INFO ] sending login info to session manager. Please wait... [20221013-14:44:42] [ERROR] dynamic_monitor_open_response: error [20221013-14:44:42] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed [20221013-14:44:42] [INFO ] xrdp_wm_log_msg: login successful for user kylin on display 11 [20221013-14:44:42] [INFO ] login successful for user kylin on display 11 [20221013-14:44:42] [INFO ] loaded module 'libxup.so' ok, interface size 10408, version 4 [20221013-14:44:42] [INFO ] started connecting [20221013-14:44:42] [INFO ] lib_mod_connect: connecting via UNIX socket [20221013-14:44:44] [INFO ] lib_mod_log_peer: xrdp_pid=24353 connected to X11rdp_pid=24363 X11rdp_uid=1000 X11rdp_gid=1000 client=192.168.163.1:57842 [20221013-14:44:44] [INFO ] connected ok
2、xrdp-session
[20221013-14:44:42] [INFO ] Socket 13: connection accepted from AF_UNIX
./common/os_calls.c:1293: LOG(LOG_LEVEL_INFO, "Socket %d: connection accepted from %s", [20221013-14:44:42] [INFO ] Received request to create Xorg session for user: kylin
./sesman/scp_process.c:132: "Received request to create %s session for user: %s", [20221013-14:44:42] [INFO ] Terminal Server Users group is disabled, allowing authentication [20221013-14:44:42] [INFO ] ++ created session (access granted): username kylin, ip 192.168.163.1 [20221013-14:44:42] [INFO ] Found X server running at /tmp/.X11-unix/X10 [20221013-14:44:42] [INFO ] Starting session: session_pid 24359, display :11.0, width 1920, height 1080, bpp 24, client ip 192.168.163.1, user name kylin [20221013-14:44:42] [INFO ] [session start] (display 11): calling auth_start_session from pid 24359 [20221013-14:44:42] [INFO ] Starting X server on display 11: Xorg :11 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log [20221013-14:44:42] [INFO ] Found X server running at /tmp/.X11-unix/X11 [20221013-14:44:42] [INFO ] Session started successfully for user kylin on display 11 [20221013-14:44:42] [INFO ] Session in progress on display 11, waiting until the window manager (pid 24362) exits to end the session [20221013-14:44:42] [INFO ] Starting the xrdp channel server for display 11 [20221013-14:44:42] [INFO ] Found X server running at /tmp/.X11-unix/X11 [20221013-14:44:42] [INFO ] Found X server running at /tmp/.X11-unix/X11 [20221013-14:44:42] [INFO ] Starting user requested window manager on display 11: /usr/bin/pluma
./sesman/session.c:631: "Starting user requested window manager on " [20221013-14:44:44] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
标签:分析,20221013,14,启动,xrdp,42,INFO,44 From: https://www.cnblogs.com/Ansing/p/16788086.html