Closed ndeffayet closed 1 year ago
Logs look fine.
You may be missing a lot of X stuff. Which desktop have you installed, and how?
Thanks for your reply.
I use XFCE. I get same issue, all XFCE process are loaded but still black screen with the cursor. In xrdp.ini I have set autorun=Xorg
root 1010 0.0 0.0 16412 4384 ? S 10:06 0:00 /usr/sbin/xrdp-sesman
user 1011 3.0 0.7 1297964 59940 ? Sl 10:06 0:00 xfce4-session
user 1012 5.0 1.1 1170492 94096 ? Sl 10:06 0:01 /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
user 1015 0.1 0.0 93444 5324 ? Sl 10:06 0:00 /usr/sbin/xrdp-chansrv
user 1082 0.0 0.0 6028 468 ? Ss 10:06 0:00 /usr/bin/ssh-agent x-session-manager
user 1103 0.1 0.0 307368 6720 ? Ssl 10:06 0:00 /usr/libexec/at-spi-bus-launcher
user 1108 0.1 0.0 10040 5376 ? S 10:06 0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
user 1112 0.6 0.0 230060 5788 ? Sl 10:06 0:00 /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd
user 1118 0.1 0.0 165868 6688 ? Sl 10:06 0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
user 1128 0.0 0.0 81096 3400 ? SLs 10:06 0:00 /usr/bin/gpg-agent --supervised
user 1130 3.0 0.5 251116 43456 ? Sl 10:06 0:00 xfwm4
user 1133 0.2 0.0 236964 7404 ? Ssl 10:06 0:00 /usr/libexec/gvfsd
user 1138 0.1 0.0 379988 6276 ? Sl 10:06 0:00 /usr/libexec/gvfsd-fuse /run/user/1000/gvfs -f
user 1146 2.0 0.3 237780 31176 ? Sl 10:06 0:00 xfsettingsd
root 1149 0.4 0.0 312432 7556 ? Ssl 10:06 0:00 /usr/libexec/upowerd
user 1155 2.4 0.4 280552 36848 ? Sl 10:06 0:00 xfce4-panel
user 1159 1.1 0.3 346488 25112 ? Sl 10:06 0:00 Thunar --daemon
user 1164 8.0 1.1 371972 93404 ? Sl 10:06 0:01 xfdesktop
user 1167 2.5 0.5 323584 45028 ? Sl 10:06 0:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libwhiskermenu.so 101 14680071 whiskermenu Whisker Menu Show a menu to easily access installed applications
user 1170 1.2 0.3 343640 24604 ? Sl 10:06 0:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libsystray.so 112 14680073 systray Status Tray Plugin Provides status notifier items (application indicators) and legacy systray items
user 1171 1.5 0.3 201456 31336 ? Sl 10:06 0:00 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libdatetime.so 113 14680074 datetime DateTime Date and Time plugin with a simple calendar
user 1172 1.0 0.1 863592 9016 ? Sl 10:06 0:00 xiccd
user 1175 0.3 0.1 189532 15844 ? Sl 10:06 0:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
user 1190 0.2 0.1 260284 10532 ? Sl 10:06 0:00 /usr/libexec/ayatana-indicator-application/ayatana-indicator-application-service
user 1192 2.6 0.4 65376 38284 ? S 10:06 0:00 /usr/bin/python3 /usr/share/system-config-printer/applet.py
user 1193 1.0 0.2 558936 21228 ? SNl 10:06 0:00 /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd
user 1195 4.5 0.8 742552 70556 ? Sl 10:06 0:00 /usr/libexec/evolution-data-server/evolution-alarm-notify
user 1198 0.3 0.0 19580 6104 ? S 10:06 0:00 xscreensaver -nosplash
user 1204 0.3 0.0 19580 6036 ? S 10:06 0:00 xscreensaver -no-splash
user 1205 0.5 0.2 264328 16992 ? Sl 10:06 0:00 /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd
user 1215 0.5 0.1 163708 9464 ? Ssl 10:06 0:00 /usr/bin/pulseaudio --daemonize=no --log-target=journal
user 1217 0.0 0.0 5772 1096 ? SN 10:06 0:00 xscreensaver-systemd
user 1218 0.3 0.1 238308 13728 ? Ssl 10:06 0:00 xfce4-volumed
user 1227 0.3 0.1 498292 12620 ? Ssl 10:06 0:00 /usr/libexec/gvfs-udisks2-volume-monitor
user 1234 0.0 0.0 232920 5632 ? Ssl 10:06 0:00 /usr/libexec/gvfs-mtp-volume-monitor
user 1238 0.0 0.0 235156 6440 ? Ssl 10:06 0:00 /usr/libexec/gvfs-gphoto2-volume-monitor
user 1244 0.1 0.0 233128 6040 ? Ssl 10:06 0:00 /usr/libexec/gvfs-goa-volume-monitor
user 1248 0.1 0.0 311620 7180 ? Ssl 10:06 0:00 /usr/libexec/gvfs-afc-volume-monitor
user 1259 0.2 0.0 310944 7684 ? Sl 10:06 0:00 /usr/libexec/gvfsd-trash --spawner :1.14 /org/gtk/gvfs/exec_spaw/0
user 1264 0.0 0.0 159388 5928 ? Ssl 10:06 0:00 /usr/libexec/gvfsd-metadata
user 1271 1.1 0.3 393096 25144 ? Ssl 10:06 0:00 /usr/libexec/evolution-source-registry
user 1277 1.8 0.3 841268 29900 ? Ssl 10:06 0:00 /usr/libexec/evolution-calendar-factory
user 1287 0.1 0.0 155944 5256 ? Sl 10:06 0:00 /usr/libexec/dconf-service
user 1288 1.1 0.3 668316 27884 ? Ssl 10:06 0:00 /usr/libexec/evolution-addressbook-factory
XFCE have been installed on this way: apt-get install --purge desktop-base xdg-utils xorg xserver-xorg-input-all xserver-xorg-video-all task-xfce-desktop
In syslog, I have the following error:
Jan 12 10:06:32 xrdp[1007]: [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
Jan 12 10:06:32 xrdp[1007]: [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
Jan 12 10:06:32 xrdp[1007]: [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
Jan 12 10:06:32 xrdp[1007]: [ERROR] xrdp_process_data_in: xrdp_process_loop failed
Jan 12 10:06:32 xrdp[1007]: [ERROR] SSL_shutdown: I/O error
Why I get black screen if processes are loaded in memory ? I have tested with different RDP client and I get same result.
Thanks
Off the top of my head, I have no idea.
Can you get access to the console of the VM (ie. is it local) ? If so, is xfce working OK there? The only other thing I can suggest you try is to use the Xvnc backend to see if there's a difference.
With the same configuration (including same sesman.ini and xrdp.ini): xrdp 0.9.12: works, not persistant black screen (but it have a short black screen of 2 sec before show desktop) xrdp 0.9.21: don't work, persistant black screen
Did you know what code change can make the persistant black screen between 0.9.12 and 0.9.21 ?
I'm not aware of any code changes that can result in that behaviour.
Did you try with Xvnc to see what happens?
Also, if you've got it, can you post the xorgxrdp log using v0.9.12?
0.9.12 don't have the following error in logs: rdpCapture1: unimplemented color conversion
I'm unable to make Xvnc working in both version (I think I have firewall issue somewhere on the path or something is wrong in configuration). Is it possible to use Xvnc using an SSH tunnel on machine xrdp and connection as localhost ?
For the record, here are both logs without the timestamps:- xorgxrdp.10.log.txt xorgxrdp.10_0.9.12.log.txt
I ran a diff with meld (a graphical diff tool). The error message is a good spot. I'll look at it later - I'm currently running some timing tests on my development VM.
The Xvnc backend is running locally on the machine, so unless you've got a firewall on the loopback interface you shouldn't have any problems along those lines. Here are some hints:-
1) Install tigervnc server with tigervnc-standalone-server
. Check that tigervnc is selected with update-alternatives --list Xvnc
2) Set your client colour depth to 24 or 32.
If it doesn't work, post the xrdp-sesman.log file which tells us how the server is being started.
That error seems to be related to your problem. Further more, it may be something to do with the colour depth which should be forced to 32 for the Xorg backend.
What is the colour depth of your RDP client?
Are you using a Windows RDP client? If so, on the 'Experience' tab, what is the connection quality set to?
By default it's set to 32. I have set to 16 for try but same black screen. I have tested MacOS Microsoft Remote Desktop Client, Windows Microsoft Remote Client, Linux Remina. Remina have many profile for colors for 32, I have tested TrueColor, RemoteFX.
I'm unable to make Xvnc session working.
In pop-up window
Connection Log said VNC error - problem connection.
Error connectiong to user session.
xrdp-sesman.log
[20230112-17:29:54] [ERROR] sesman_data_in: scp_process_msg failed
[20230112-17:29:54] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
From the code I've looked at so far, this would seem to be client-related so this is a real mystery.
Let's look at the Xvnc problem first. It's not clear to me whether the X server is starting or not. Can you try a connection and post the complete contents of xrdp-sesman.log
from when you tried the login?
@ndeffayet - do you need any more help with this?
@matt335672 Thanks for your follow-up. I'm unable to make Xvnc working on 0.9.21 or 0.9.12. The issue of black screen with cursor is still here on version 0.9.21. Version 0.9.12 works fine so I have roll-back to this version...
No-one else has reported this issue, so we need to find out what is unusual with your setup.
Getting Xvnc working will let us determine the component at fault, and also possible workarounds. If you're in a position to post the complete contents of xrdp-sesman.log
following a Xvnc log in we can take a look at it.
Also, you say you're running xrdp 0.9.21 on Debian 11. Presumably you're building this and also xorgrdp from source?
Sorry for my reply delay. I have done some tests. Xvnc works only if I move [Xvnc] before [Xorg] block in /etc/xrdp/xrdp.ini. When connecting using Xvnc, black screen with cursor appear, then cursor disappear after 1 to 2 sec then desktop (Xfce) is shown. I use xrdp 0.9.21 from Debian unstable rebuilt for Debian 11.
xrdp-sesman.log:
[20230210-13:29:43] [INFO ] starting xrdp-sesman with pid 3888484
[20230210-13:35:14] [INFO ] sesman_main_loop: sesman asked to terminate
[20230210-13:35:58] [INFO ] starting xrdp-sesman with pid 944
[20230210-13:39:53] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 53928
[20230210-13:39:54] [INFO ] ++ created session (access granted): username user, ip ::ffff:192.168.0.1:57396 - socket: 12
[20230210-13:39:54] [INFO ] starting Xorg session...
[20230210-13:39:54] [INFO ] Starting session: session_pid 982, display :10.0, width 2560, height 1440, bpp 24, client ip ::ffff:192.168.0.1:57396 - socket: 12, user name user
[20230210-13:39:54] [INFO ] [session start] (display 10): calling auth_start_session from pid 982
[20230210-13:39:54] [ERROR] sesman_data_in: scp_process_msg failed
[20230210-13:39:54] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20230210-13:39:54] [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
[20230210-13:39:55] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230210-13:39:55] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230210-13:39:55] [INFO ] Session started successfully for user user on display 10
[20230210-13:39:55] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1001) exits to end the session
[20230210-13:39:55] [INFO ] Starting the xrdp channel server for display 10
[20230210-13:39:55] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230210-13:39:55] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20230210-13:42:45] [WARN ] Window manager (pid 1001, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem
[20230210-13:42:45] [INFO ] Calling auth_stop_session and auth_end from pid 982
[20230210-13:42:45] [INFO ] Terminating X server (pid 1002) on display 10
[20230210-13:42:45] [INFO ] Terminating the xrdp channel server (pid 1006) on display 10
[20230210-13:42:45] [INFO ] sesman_main_loop: sesman asked to terminate
[20230210-13:42:45] [INFO ] X server on display 10 (pid 1002) returned exit code 0 and signal number 0
[20230210-13:42:45] [INFO ] xrdp channel server for display 10 (pid 1006) exit code 0 and signal number 0
[20230210-13:42:45] [INFO ] cleanup_sockets:
[20230210-13:43:12] [INFO ] starting xrdp-sesman with pid 928
[20230210-13:44:24] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 36822
[20230210-13:44:24] [INFO ] ++ created session (access granted): username user, ip ::ffff:192.168.0.1:57506 - socket: 12
[20230210-13:44:24] [INFO ] starting Xvnc session...
[20230210-13:44:24] [INFO ] Starting session: session_pid 1001, display :10.0, width 2560, height 1440, bpp 32, client ip ::ffff:192.168.0.1:57506 - socket: 12, user name user
[20230210-13:44:24] [INFO ] [session start] (display 10): calling auth_start_session from pid 1001
[20230210-13:44:24] [ERROR] sesman_data_in: scp_process_msg failed
[20230210-13:44:24] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20230210-13:44:24] [INFO ] Starting X server on display 10: Xvnc :10 -auth .Xauthority -geometry 2560x1440 -depth 32 -rfbauth /home/user/.vnc/sesman_passwd-user@hostname:10 -bs -nolisten tcp -localhost -dpi 96
[20230210-13:44:25] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230210-13:44:25] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230210-13:44:25] [INFO ] Session started successfully for user user on display 10
[20230210-13:44:25] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1002) exits to end the session
[20230210-13:44:25] [INFO ] Starting the xrdp channel server for display 10
[20230210-13:44:25] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230210-13:44:25] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
xrdp.log
[20230210-13:29:43] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230210-13:29:43] [INFO ] listening to port 3389 on 0.0.0.0
[20230210-13:29:43] [INFO ] xrdp_listen_pp done
[20230210-13:29:45] [INFO ] starting xrdp with pid 3888494
[20230210-13:29:45] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230210-13:29:45] [INFO ] listening to port 3389 on 0.0.0.0
[20230210-13:29:45] [INFO ] xrdp_listen_pp done
[20230210-13:35:14] [INFO ] Received termination signal, stopping the server accept new connections thread
[20230210-13:35:58] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230210-13:35:58] [INFO ] listening to port 3389 on 0.0.0.0
[20230210-13:35:58] [INFO ] xrdp_listen_pp done
[20230210-13:36:00] [INFO ] starting xrdp with pid 956
[20230210-13:36:00] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230210-13:36:00] [INFO ] listening to port 3389 on 0.0.0.0
[20230210-13:36:00] [INFO ] xrdp_listen_pp done
[20230210-13:39:45] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.0.1 port 57394
[20230210-13:39:45] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230210-13:39:45] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230210-13:39:45] [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
[20230210-13:39:45] [WARN ] Cannot accept TLS connections because certificate or private key file is not readable. certificate file: [/etc/xrdp/cert.pem], private key file: [/etc/xrdp/key.pem]
[20230210-13:39:45] [INFO ] Security protocol: configured [RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [RDP]
[20230210-13:39:48] [ERROR] libxrdp_force_read: header read error
[20230210-13:39:48] [ERROR] Processing [ITU-T T.125] Connect-Initial failed
[20230210-13:39:48] [ERROR] [MCS Connection Sequence] receive connection request failed
[20230210-13:39:48] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
[20230210-13:39:48] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
[20230210-13:39:48] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
[20230210-13:39:48] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20230210-13:39:48] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
[20230210-13:39:48] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.0.1 port 57396
[20230210-13:39:48] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230210-13:39:48] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230210-13:39:48] [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
[20230210-13:39:48] [WARN ] Cannot accept TLS connections because certificate or private key file is not readable. certificate file: [/etc/xrdp/cert.pem], private key file: [/etc/xrdp/key.pem]
[20230210-13:39:48] [INFO ] Security protocol: configured [RDP], requested [RDP], selected [RDP]
[20230210-13:39:53] [INFO ] Connected client computer name: Nicolass-MacBoo
[20230210-13:39:53] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20230210-13:39:53] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20230210-13:39:53] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x0000080C]
[20230210-13:39:53] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
[20230210-13:39:53] [INFO ] Non-TLS connection established from ::ffff:192.168.0.1 port 57396: with security level : high
[20230210-13:39:53] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20230210-13:39:53] [INFO ] xrdp_process_offscreen_bmpcache: support level 0 cache size 0 MB cache entries 0
[20230210-13:39:53] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20230210-13:39:53] [INFO ] Loading keymap file /etc/xrdp/km-0000080c.ini
[20230210-13:39:53] [WARN ] local keymap file for 0x0000080c found and doesn't match built in keymap, using local keymap file
[20230210-13:39:53] [INFO ] connecting to sesman on 127.0.0.1:3350
[20230210-13:39:53] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20230210-13:39:53] [INFO ] sesman connect ok
[20230210-13:39:53] [INFO ] sending login info to session manager. Please wait...
[20230210-13:39:54] [INFO ] xrdp_wm_log_msg: login successful for user user on display 10
[20230210-13:39:54] [INFO ] login successful for user user on display 10
[20230210-13:39:54] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20230210-13:39:54] [INFO ] started connecting
[20230210-13:39:54] [INFO ] lib_mod_connect: connecting via UNIX socket
[20230210-13:39:55] [INFO ] lib_mod_log_peer: xrdp_pid=981 connected to X11rdp_pid=1002 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:192.168.0.1 client_port=57396
[20230210-13:39:55] [INFO ] connected ok
[20230210-13:40:12] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[20230210-13:40:12] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[20230210-13:40:12] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[20230210-13:40:12] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
[20230210-13:42:45] [INFO ] Received termination signal, stopping the server accept new connections thread
[20230210-13:43:12] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230210-13:43:12] [INFO ] listening to port 3389 on 0.0.0.0
[20230210-13:43:12] [INFO ] xrdp_listen_pp done
[20230210-13:43:14] [INFO ] starting xrdp with pid 940
[20230210-13:43:14] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230210-13:43:14] [INFO ] listening to port 3389 on 0.0.0.0
[20230210-13:43:14] [INFO ] xrdp_listen_pp done
[20230210-13:44:18] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.0.1 port 57504
[20230210-13:44:18] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230210-13:44:18] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230210-13:44:18] [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
[20230210-13:44:18] [WARN ] Cannot accept TLS connections because certificate or private key file is not readable. certificate file: [/etc/xrdp/cert.pem], private key file: [/etc/xrdp/key.pem]
[20230210-13:44:18] [INFO ] Security protocol: configured [RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [RDP]
[20230210-13:44:19] [ERROR] libxrdp_force_read: header read error
[20230210-13:44:19] [ERROR] Processing [ITU-T T.125] Connect-Initial failed
[20230210-13:44:19] [ERROR] [MCS Connection Sequence] receive connection request failed
[20230210-13:44:19] [ERROR] xrdp_sec_incoming: xrdp_mcs_incoming failed
[20230210-13:44:19] [ERROR] xrdp_rdp_incoming: xrdp_sec_incoming failed
[20230210-13:44:19] [ERROR] xrdp_process_main_loop: libxrdp_process_incoming failed
[20230210-13:44:19] [ERROR] xrdp_iso_send: trans_write_copy_s failed
[20230210-13:44:19] [ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed
[20230210-13:44:19] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.0.1 port 57506
[20230210-13:44:19] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230210-13:44:19] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230210-13:44:19] [ERROR] Cannot read private key file /etc/xrdp/key.pem: Permission denied
[20230210-13:44:19] [WARN ] Cannot accept TLS connections because certificate or private key file is not readable. certificate file: [/etc/xrdp/cert.pem], private key file: [/etc/xrdp/key.pem]
[20230210-13:44:19] [INFO ] Security protocol: configured [RDP], requested [RDP], selected [RDP]
[20230210-13:44:24] [INFO ] Connected client computer name: ClientMac
[20230210-13:44:24] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20230210-13:44:24] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20230210-13:44:24] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x0000080C]
[20230210-13:44:24] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
[20230210-13:44:24] [INFO ] Non-TLS connection established from ::ffff:192.168.0.1 port 57506: with security level : high
[20230210-13:44:24] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20230210-13:44:24] [INFO ] xrdp_process_offscreen_bmpcache: support level 0 cache size 0 MB cache entries 0
[20230210-13:44:24] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20230210-13:44:24] [INFO ] Loading keymap file /etc/xrdp/km-0000080c.ini
[20230210-13:44:24] [WARN ] local keymap file for 0x0000080c found and doesn't match built in keymap, using local keymap file
[20230210-13:44:24] [INFO ] connecting to sesman on 127.0.0.1:3350
[20230210-13:44:24] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20230210-13:44:24] [INFO ] sesman connect ok
[20230210-13:44:24] [INFO ] sending login info to session manager. Please wait...
[20230210-13:44:24] [INFO ] xrdp_wm_log_msg: login successful for user user on display 10
[20230210-13:44:24] [INFO ] login successful for user user on display 10
[20230210-13:44:24] [INFO ] loaded module 'libvnc.so' ok, interface size 4064, version 4
[20230210-13:44:24] [INFO ] VNC started connecting
[20230210-13:44:24] [INFO ] VNC connecting to 127.0.0.1 5910
[20230210-13:44:25] [INFO ] VNC tcp connected
[20230210-13:44:27] [INFO ] VNC security level is 2 (1 = none, 2 = standard)
[20230210-13:44:27] [INFO ] VNC password ok
[20230210-13:44:27] [INFO ] VNC sending share flag
[20230210-13:44:27] [INFO ] VNC receiving server init
[20230210-13:44:27] [INFO ] VNC receiving pixel format
[20230210-13:44:27] [INFO ] VNC receiving name length
[20230210-13:44:27] [INFO ] VNC receiving name
[20230210-13:44:27] [INFO ] VNC sending pixel format
[20230210-13:44:27] [INFO ] VNC sending cursor
[20230210-13:44:27] [INFO ] VNC connection complete, connected ok
[20230210-13:44:27] [INFO ] VNC: Clipboard (if available) is provided by chansrv facility
[20230210-13:44:27] [INFO ] connected ok
[20230210-13:44:27] [INFO ] Layout from OldLayout (geom=2560x1440 #screens=1) : 1804289383:(2560x1440+0+0)
[20230210-13:45:03] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[20230210-13:45:03] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[20230210-13:45:03] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[20230210-13:45:03] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
xorgxrdp.10.log
[ 265.753]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 265.753] Build Operating System: linux Debian
[ 265.753] Current Operating System: Linux hostname 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
[ 265.753] Kernel command line: root=/dev/xvda2 ro elevator=noop root=/dev/xvda2 ro console=hvc0 xencons=hvc0
[ 265.753] Build Date: 01 February 2023 02:11:18PM
[ 265.753] xorg-server 2:1.20.11-1+deb11u5 (https://www.debian.org/support)
[ 265.753] Current version of pixman: 0.40.0
[ 265.753] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 265.753] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 265.753] (++) Log file: ".xorgxrdp.10.log", Time: Fri Feb 10 13:39:55 2023
[ 265.788] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[ 265.788] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 265.788] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 265.888] (==) ServerLayout "X11 Server"
[ 265.888] (**) |-->Screen "Screen (xrdpdev)" (0)
[ 265.888] (**) | |-->Monitor "Monitor"
[ 265.889] (**) | |-->Device "Video Card (xrdpdev)"
[ 265.889] (**) |-->Input Device "xrdpMouse"
[ 265.889] (**) |-->Input Device "xrdpKeyboard"
[ 265.889] (**) Option "DontVTSwitch" "on"
[ 265.889] (**) Option "AutoAddDevices" "off"
[ 265.889] (**) Not automatically adding devices
[ 265.889] (==) Automatically enabling devices
[ 265.889] (==) Automatically adding GPU devices
[ 265.889] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 265.912] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 265.912] Entry deleted from font path.
[ 265.989] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 265.989] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 265.989] (II) Loader magic: 0x55784c96ee40
[ 265.989] (II) Module ABI versions:
[ 265.989] X.Org ANSI C Emulation: 0.4
[ 265.989] X.Org Video Driver: 24.1
[ 265.989] X.Org XInput driver : 24.1
[ 265.989] X.Org Server Extension : 10.0
[ 265.993] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 265.993] (II) no primary bus or device found
[ 265.994] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 265.994] (II) LoadModule: "dbe"
[ 265.994] (II) Module "dbe" already built-in
[ 265.994] (II) LoadModule: "ddc"
[ 265.994] (II) Module "ddc" already built-in
[ 265.994] (II) LoadModule: "extmod"
[ 265.994] (II) Module "extmod" already built-in
[ 265.994] (II) LoadModule: "glx"
[ 265.994] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 266.117] (II) Module glx: vendor="X.Org Foundation"
[ 266.117] compiled for 1.20.11, module version = 1.0.0
[ 266.117] ABI class: X.Org Server Extension, version 10.0
[ 266.118] (II) LoadModule: "int10"
[ 266.126] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 266.128] (II) Module int10: vendor="X.Org Foundation"
[ 266.128] compiled for 1.20.11, module version = 1.0.0
[ 266.128] ABI class: X.Org Video Driver, version 24.1
[ 266.128] (II) LoadModule: "record"
[ 266.128] (II) Module "record" already built-in
[ 266.128] (II) LoadModule: "vbe"
[ 266.142] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 266.143] (II) Module vbe: vendor="X.Org Foundation"
[ 266.143] compiled for 1.20.11, module version = 1.1.0
[ 266.143] ABI class: X.Org Video Driver, version 24.1
[ 266.143] (II) LoadModule: "glamoregl"
[ 266.143] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 266.220] (II) Module glamoregl: vendor="X.Org Foundation"
[ 266.220] compiled for 1.20.11, module version = 1.0.1
[ 266.220] ABI class: X.Org ANSI C Emulation, version 0.4
[ 266.220] (II) LoadModule: "xorgxrdp"
[ 266.220] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[ 266.269] (II) Module XORGXRDP: vendor="X.Org Foundation"
[ 266.269] compiled for 1.20.6, module version = 0.2.12
[ 266.269] ABI class: X.Org Video Driver, version 24.0
[ 266.269] xorgxrdpSetup:
[ 266.269] (II) LoadModule: "fb"
[ 266.269] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 266.271] (II) Module fb: vendor="X.Org Foundation"
[ 266.271] compiled for 1.20.11, module version = 1.0.0
[ 266.271] ABI class: X.Org ANSI C Emulation, version 0.4
[ 266.271] (II) LoadModule: "xrdpdev"
[ 266.271] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[ 266.273] (II) Module XRDPDEV: vendor="X.Org Foundation"
[ 266.273] compiled for 1.20.6, module version = 0.2.12
[ 266.273] ABI class: X.Org Video Driver, version 24.0
[ 266.273] xrdpdevSetup:
[ 266.273] (II) LoadModule: "xrdpmouse"
[ 266.273] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[ 266.274] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[ 266.274] compiled for 1.20.6, module version = 0.2.12
[ 266.274] Module class: X.Org XInput Driver
[ 266.274] ABI class: X.Org XInput driver, version 24.1
[ 266.274] rdpmousePlug:
[ 266.274] (II) LoadModule: "xrdpkeyb"
[ 266.275] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[ 266.275] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[ 266.275] compiled for 1.20.6, module version = 0.2.12
[ 266.275] Module class: X.Org XInput Driver
[ 266.275] ABI class: X.Org XInput driver, version 24.1
[ 266.275] rdpkeybPlug:
[ 266.275] rdpIdentify:
[ 266.275] (II) XRDPDEV: driver for xrdp: XRDPDEV
[ 266.275] rdpDriverFunc: op 10
[ 266.275] (WW) Falling back to old probe method for XRDPDEV
[ 266.275] rdpProbe:
[ 266.275] (II) Loading sub module "fb"
[ 266.275] (II) LoadModule: "fb"
[ 266.276] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 266.276] (II) Module fb: vendor="X.Org Foundation"
[ 266.276] compiled for 1.20.11, module version = 1.0.0
[ 266.276] ABI class: X.Org ANSI C Emulation, version 0.4
[ 266.276] rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
[ 266.276] rdpProbe: found DRI3 xorg.conf value [1]
[ 266.276] (II) XRDPDEV(0): using default device
[ 266.276] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 266.276] rdpPreInit:
[ 266.276] rdpPreInit: /dev/dri/renderD128 open failed
[ 266.276] (**) XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[ 266.276] (==) XRDPDEV(0): RGB weight 888
[ 266.276] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 266.276] (==) XRDPDEV(0): Default visual is TrueColor
[ 266.276] (==) XRDPDEV(0): DPI set to (96, 96)
[ 266.276] (II) XRDPDEV(0): mode "640x480" ok
[ 266.276] (II) XRDPDEV(0): mode "800x600" ok
[ 266.276] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[ 266.276] (**) XRDPDEV(0): Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[ 266.276] (II) XRDPDEV(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 266.277] rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
[ 266.277] rdpScreenInit: pfbMemory bytes 1920000
[ 266.277] rdpScreenInit: pfbMemory 0x7fbb7c276010
[ 266.278] rdpSimdInit: assigning yuv functions
[ 266.278] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000206d7 bx 0x28200800 cx 0x1eb82203 dx 0x1fc9cbf5
[ 266.278] rdpSimdInit: sse2 amd64 yuv functions assigned
[ 266.279] (==) XRDPDEV(0): Backing store enabled
[ 266.280] rdpClientConInit: disconnect idle session after [0] sec
[ 266.280] rdpClientConInit: kill disconnected [0] timeout [0] sec
[ 266.280] rdpXvInit: depth 24
[ 266.280] rdpScreenInit: out
[ 266.280] (II) Initializing extension Generic Event Extension
[ 266.281] (II) Initializing extension SHAPE
[ 266.281] (II) Initializing extension MIT-SHM
[ 266.281] (II) Initializing extension XInputExtension
[ 266.282] (II) Initializing extension XTEST
[ 266.282] (II) Initializing extension BIG-REQUESTS
[ 266.282] (II) Initializing extension SYNC
[ 266.282] (II) Initializing extension XKEYBOARD
[ 266.282] (II) Initializing extension XC-MISC
[ 266.283] (II) Initializing extension SECURITY
[ 266.283] (II) Initializing extension XFIXES
[ 266.283] (II) Initializing extension RENDER
[ 266.283] (II) Initializing extension RANDR
[ 266.283] (II) Initializing extension COMPOSITE
[ 266.284] (II) Initializing extension DAMAGE
[ 266.284] (II) Initializing extension MIT-SCREEN-SAVER
[ 266.284] (II) Initializing extension DOUBLE-BUFFER
[ 266.284] (II) Initializing extension RECORD
[ 266.284] (II) Initializing extension DPMS
[ 266.284] (II) Initializing extension Present
[ 266.285] (II) Initializing extension DRI3
[ 266.285] (II) Initializing extension X-Resource
[ 266.285] (II) Initializing extension XVideo
[ 266.285] (II) Initializing extension XVideo-MotionCompensation
[ 266.285] (II) Initializing extension SELinux
[ 266.285] (II) SELinux: Disabled on system
[ 266.285] (II) Initializing extension GLX
[ 266.286] (II) AIGLX: Screen 0 is not DRI2 capable
[ 268.003] (II) IGLX: Loaded and initialized swrast
[ 268.003] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 268.003] (II) Initializing extension XFree86-VidModeExtension
[ 268.003] (II) Initializing extension XFree86-DGA
[ 268.003] (II) Initializing extension XFree86-DRI
[ 268.003] (II) Initializing extension DRI2
[ 268.003] rdpCreateScreenResources:
[ 268.359] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[ 268.359] (**) Option "CorePointer"
[ 268.359] (**) xrdpMouse: always reports core events
[ 268.359] rdpmousePreInit: drv 0x55784e41b2e0 info 0x55784e645540, flags 0x0
[ 268.359] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[ 268.359] rdpmouseControl: what 0
[ 268.360] rdpmouseDeviceInit:
[ 268.360] rdpmouseCtrl:
[ 268.360] rdpRegisterInputCallback: type 1 proc 0x7fbb7c953380
[ 268.360] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[ 268.360] (**) xrdpMouse: (accel) acceleration profile 0
[ 268.360] (**) xrdpMouse: (accel) acceleration factor: 2.000
[ 268.360] (**) xrdpMouse: (accel) acceleration threshold: 4
[ 268.360] rdpmouseControl: what 1
[ 268.360] rdpmouseDeviceOn:
[ 268.360] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[ 268.360] (**) Option "CoreKeyboard"
[ 268.360] (**) xrdpKeyboard: always reports core events
[ 268.360] rdpkeybPreInit: drv 0x55784e42e090 info 0x55784e7b5cd0, flags 0x0
[ 268.360] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[ 268.360] rdpkeybControl: what 0
[ 268.360] rdpkeybDeviceInit:
[ 268.393] rdpkeybChangeKeyboardControl:
[ 268.394] rdpkeybChangeKeyboardControl: autoRepeat on
[ 268.394] rdpRegisterInputCallback: type 0 proc 0x7fbb7c94e7e0
[ 268.394] rdpkeybControl: what 1
[ 268.394] rdpkeybDeviceOn:
[ 268.421] (II) config/udev: Adding input device PC Speaker (/dev/input/event0)
[ 268.421] (II) AutoAddDevices is off - not adding device.
[ 268.438] rdpDeferredRandR:
[ 268.439] rdpResizeSession: width 1024 height 768
[ 268.439] calling RRScreenSizeSet
[ 268.439] rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
[ 268.440] rdpRRGetInfo:
[ 268.440] screen resized to 1024x768
[ 268.447] RRScreenSizeSet ok 1
[ 268.447] rdpResizeSession: width 2560 height 1440
[ 268.447] calling RRScreenSizeSet
[ 268.447] rdpRRScreenSetSize: width 2560 height 1440 mmWidth 677 mmHeight 381
[ 268.449] rdpRRGetInfo:
[ 268.449] screen resized to 2560x1440
[ 268.478] RRScreenSizeSet ok 1
[ 268.479] rdpClientConGotConnection:
[ 268.479] rdpClientConGotConnection: g_sck_accept ok new_sck 9
[ 268.479] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[ 268.479] rdpAddClientConToDev: adding first clientCon 0x55784e7ee420
[ 268.479] rdpClientConProcessMsgVersion: version 0 0 0 1
[ 268.480] rdpClientConProcessScreenSizeMsg: set width 2560 height 1440 bpp 32
[ 268.480] rdpClientConProcessScreenSizeMsg: shmemid 0 shmemptr 0x7fbb371f0000
[ 268.480] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 2560 cy 1440
[ 268.480] KbdSync: toggling num lock
[ 268.480] rdpkeybChangeKeyboardControl:
[ 268.481] rdpkeybChangeKeyboardControl: autoRepeat on
[ 268.481] rdpClientConProcessMsgClientInfo:
[ 268.481] got client info bytes 5752
[ 268.481] jpeg support 0
[ 268.481] offscreen support 0
[ 268.481] offscreen size 0
[ 268.481] offscreen entries 0
[ 268.481] client can not do offscreen to offscreen blits
[ 268.481] client can not do new(color) cursor
[ 268.481] client can not do multimon
[ 268.481] rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
[ 268.481] rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 2560 height 1440
[ 268.481] rdpLoadLayout: keylayout 0x00010800 variant display 10
[ 268.481] rdpkeybChangeKeyboardControl:
[ 268.481] rdpkeybChangeKeyboardControl: autoRepeat on
[ 268.482] rdpkeybChangeKeyboardControl:
[ 268.482] rdpkeybChangeKeyboardControl: autoRepeat on
[ 268.494] rdpInDeferredRepeatCallback:
[ 268.494] rdpkeybChangeKeyboardControl:
[ 268.494] rdpkeybChangeKeyboardControl: autoRepeat off
[ 268.520] rdpCapture1: unimplemented color conversion
[ 268.581] rdpInDeferredRepeatCallback:
[ 268.581] rdpkeybChangeKeyboardControl:
[ 268.581] rdpkeybChangeKeyboardControl: autoRepeat off
[ 268.582] rdpInDeferredRepeatCallback:
[ 268.582] rdpkeybChangeKeyboardControl:
[ 268.582] rdpkeybChangeKeyboardControl: autoRepeat off
[ 268.582] rdpInDeferredRepeatCallback:
[ 268.582] rdpkeybChangeKeyboardControl:
[ 268.582] rdpkeybChangeKeyboardControl: autoRepeat off
[ 272.053] rdpRRGetInfo:
[ 272.260] rdpkeybChangeKeyboardControl:
[ 272.260] rdpkeybChangeKeyboardControl: autoRepeat on
[ 272.260] rdpkeybChangeKeyboardControl:
[ 272.260] rdpkeybChangeKeyboardControl: autoRepeat on
[ 272.262] rdpkeybChangeKeyboardControl:
[ 272.262] rdpkeybChangeKeyboardControl: autoRepeat on
[ 272.262] rdpkeybChangeKeyboardControl:
[ 272.263] rdpkeybChangeKeyboardControl: autoRepeat on
[ 272.270] rdpkeybChangeKeyboardControl:
[ 272.270] rdpkeybChangeKeyboardControl: autoRepeat on
[ 272.270] rdpkeybChangeKeyboardControl:
[ 272.270] rdpkeybChangeKeyboardControl: autoRepeat on
[ 272.361] rdpInDeferredRepeatCallback:
[ 272.361] rdpkeybChangeKeyboardControl:
[ 272.361] rdpkeybChangeKeyboardControl: autoRepeat off
[ 272.361] rdpInDeferredRepeatCallback:
[ 272.361] rdpkeybChangeKeyboardControl:
[ 272.361] rdpkeybChangeKeyboardControl: autoRepeat off
[ 272.362] rdpInDeferredRepeatCallback:
[ 272.362] rdpkeybChangeKeyboardControl:
[ 272.362] rdpkeybChangeKeyboardControl: autoRepeat off
[ 272.363] rdpInDeferredRepeatCallback:
[ 272.363] rdpkeybChangeKeyboardControl:
[ 272.363] rdpkeybChangeKeyboardControl: autoRepeat off
[ 272.370] rdpInDeferredRepeatCallback:
[ 272.371] rdpkeybChangeKeyboardControl:
[ 272.371] rdpkeybChangeKeyboardControl: autoRepeat off
[ 272.371] rdpInDeferredRepeatCallback:
[ 272.371] rdpkeybChangeKeyboardControl:
[ 272.371] rdpkeybChangeKeyboardControl: autoRepeat off
[ 273.165] rdpCapture1: unimplemented color conversion
[ 273.490] rdpRRGetInfo:
[ 273.745] rdpRRGetInfo:
[ 273.745] rdpRRGetInfo:
[ 273.780] rdpCapture1: unimplemented color conversion
[ 273.785] rdpRRGetInfo:
[ 273.785] rdpRRGetInfo:
[ 273.900] rdpCapture1: unimplemented color conversion
[ 273.968] rdpCapture1: unimplemented color conversion
[ 274.473] rdpCapture1: unimplemented color conversion
[ 274.514] rdpCapture1: unimplemented color conversion
[ 274.647] rdpCapture1: unimplemented color conversion
[ 275.319] rdpCapture1: unimplemented color conversion
[ 275.647] rdpCapture1: unimplemented color conversion
[ 275.721] rdpCapture1: unimplemented color conversion
[ 276.238] rdpCapture1: unimplemented color conversion
[ 276.278] rdpCapture1: unimplemented color conversion
[ 276.335] rdpCapture1: unimplemented color conversion
[ 276.383] rdpCapture1: unimplemented color conversion
[ 276.428] rdpCapture1: unimplemented color conversion
[ 276.524] rdpCapture1: unimplemented color conversion
[ 276.610] rdpCapture1: unimplemented color conversion
[ 277.647] rdpCapture1: unimplemented color conversion
[ 278.522] rdpCapture1: unimplemented color conversion
[ 278.574] rdpCapture1: unimplemented color conversion
[ 278.624] rdpCapture1: unimplemented color conversion
[ 278.674] rdpCapture1: unimplemented color conversion
[ 278.724] rdpCapture1: unimplemented color conversion
[ 279.325] rdpCapture1: unimplemented color conversion
[ 279.647] rdpCapture1: unimplemented color conversion
[ 279.725] rdpCapture1: unimplemented color conversion
[ 280.527] rdpCapture1: unimplemented color conversion
[ 280.648] rdpCapture1: unimplemented color conversion
[ 280.865] rdpCapture1: unimplemented color conversion
[ 280.951] rdpCapture1: unimplemented color conversion
[ 281.045] rdpCapture1: unimplemented color conversion
[ 281.091] rdpCapture1: unimplemented color conversion
[ 281.647] rdpCapture1: unimplemented color conversion
[ 281.980] rdpCapture1: unimplemented color conversion
[ 282.647] rdpCapture1: unimplemented color conversion
[ 283.347] KbdSync: toggling num lock
[ 283.347] rdpkeybChangeKeyboardControl:
[ 283.347] rdpkeybChangeKeyboardControl: autoRepeat off
[ 283.348] rdpkeybChangeKeyboardControl:
[ 283.348] rdpkeybChangeKeyboardControl: autoRepeat off
[ 283.400] rdpClientConRecv: g_sck_recv failed(returned 0)
[ 283.400] rdpClientConRecvMsg: error
[ 283.401] rdpClientConCheck: rdpClientConGotData failed
[ 283.401] rdpClientConDisconnect:
[ 283.401] rdpRemoveClientConFromDev: removing clientCon 0x55784e7ee420
[ 436.033] rdpmouseControl: what 2
[ 436.033] rdpmouseDeviceOff:
[ 436.033] rdpkeybControl: what 2
[ 436.033] rdpkeybDeviceOff:
[ 436.035] rdpkeybControl: what 3
[ 436.035] rdpkeybUnInit: drv 0x55784e42e090 info 0x55784e7b5cd0, flags 0x0
[ 436.035] rdpUnregisterInputCallback: proc 0x7fbb7c94e7e0
[ 436.035] rdpmouseControl: what 3
[ 436.035] rdpmouseUnInit: drv 0x55784e41b2e0 info 0x55784e645540, flags 0x0
[ 436.035] rdpUnregisterInputCallback: proc 0x7fbb7c953380
[ 436.048] rdpCloseScreen:
[ 436.048] xorgxrdpDownDown:
[ 436.048] xorgxrdpDownDown: 1
[ 436.048] rdpClientConDeinit:
[ 436.048] rdpClientConDeinit: deleting file /run/xrdp/sockdir/xrdp_display_10
[ 436.048] rdpClientConDeinit: deleting file /run/xrdp/sockdir/xrdp_disconnect_display_10
[ 436.055] (II) Server terminated successfully (0). Closing log file.
Thanks
If Xvnc is working, the problem with your setup is to do with xorgxrdp.
You say you're running xrdp 0.9.21 on Debian 11. Presumably you're building this and also xorgrdp from source? This may be an installation issue.
Thanks for your feedback. I use the same version of xorgxrdp (0.2.12) with xrdp version 0.9.12 (works) and xrdp version 0.9.21 (black screen with cursor).
I have done some test. xrdp 0.9.21.1 works with xorgxrdp 0.9.19 but not with xorgxrdp 0.2.12.
@ndeffayet - how are you building and installing these?
xorgxrdp 0.2.12 is installed using binary package built by Debian 11 (https://packages.debian.org/bullseye/xorgxrdp) xorgxrdp 0.9.19 is build and installed using package by Debian backported from unstable branch to Debian 11 (https://packages.debian.org/sid/xorgxrdp).
I think I see what's going on here.
There is a run-time dependency xrdp and xorgxrdp. We added a check to xorgxrdp to make sure the version of xrdp matched in xrdp PR #1813 and xorgxrdp PR #184.
These checks made it to v0.9.16, so aren't in v0.9.12. I think this is what you are seeing.
The current advice is to use these versions together:-
xrdp version | xorgxrdp version |
---|---|
v0.9.x (x <= 18) | v0.2.x |
v0.9.x (x > 18) | v0.9.x |
There however only very minor changes to xrdp v0.9.20 and v0.9.21, so for both of these, xordxrdp v0.9.19 should work OK.
Is that consistent with your observations?
Thanks for your feedback. Yes, it's consistent with my observations.
That's for the swift reply.
Can we close this one then, or is there something else outstanding I've missed?
The issue can be closed. Thanks
I think I see what's going on here.
There is a run-time dependency xrdp and xorgxrdp. We added a check to xorgxrdp to make sure the version of xrdp matched in xrdp PR #1813 and xorgxrdp PR #184.
These checks made it to v0.9.16, so aren't in v0.9.12. I think this is what you are seeing.
...
There however only very minor changes to xrdp v0.9.20 and v0.9.21, so for both of these, xordxrdp v0.9.19 should work OK.
...
It looks like xrdp 0.9.21
aren't compatible with xorgxrdp 9.19
xorg driver.
I have same problems with black screen after reconnecting (randomly).
I have same errors in xrdp-sesman.log
:
[ERROR] sesman_data_in: scp_process_msg failed
[ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
dpkg -l | grep xrdp
ii xorgxrdp 1:0.9.19-1 amd64 Remote Desktop Protocol (RDP) modules for X.org
ii xrdp 0.9.21.1-1 amd64 Remote Desktop Protocol (RDP) server
cat /etc/debian_version
bookworm/sid
What would you recommend to get my service restored?
Should i try to manual upgrade local xorgxrdp
debian source package from upstream (0.9.21) and rebuild it?
@p5-vbnekit - if your issue is random, it's not this.
The errors you've posted are normally nothing to worry about.
Make sure you don't use the same user for xrdp that you're using to log in to the machine locally. See the FAQ
Make sure you don't use the same user for xrdp that you're using to log in to the machine locally. See the FAQ
This container doesn't have graphical devices. There's no display manager. Users can login only over xrdp
.
BUT: Lingering are enabled (loginctl enable-linger
) for users - if user still not loggged via xrdp
after boot systemd start user services tree (~/.config/systemd
) anyway. dbus
session (as same user) started by systemd --user
at boot (before xrdp
login). May it causing a similar issue? Or is this case (xrdp
+ lingering
) valid?
Black screen doesn't appear when user try to log in for the first time, but when user try to reconnect several times. Mouse cursor works and even changes the icon if it gets into the text field of some previously opened window. I thought it had something to do with the KDE screensaver (because it happens always if plasma screen blocking started). I tried to turned screen blocking (screensaver) off - but the problem still appears.
Could be neutrinolabs/xorgxrdp#171 which was merged for xorgxrdp 0.2.17
After disabling lingering
(no more logins except xrdp
) problem is still active (debian testing
).
I turned off lingering
and turned screensaver back on and got a stable "black screen with cursor" (BSWC).
I have stable "BSWC" after kde plasma
screensaver on debian testing
is started.
I hope you can reproduce it.
But on debian stable
xrdp
works.
ii xorgxrdp 1:0.2.12-1 amd64 Remote Desktop Protocol (RDP) modules for X.org
ii xrdp 0.9.12-1.1 amd64 Remote Desktop Protocol (RDP) server
... 0.9.12: works, not persistant black screen (but it have a short black screen of 2 sec before show desktop) ...
On debian stable
i have same (a short "BSWC" of 2 sec before show desktop). But doesn't depend on screensaver - 2 sec "BSWC" for each reconnect.
Perhaps I need more time to catch infinity "BSWC" on debian stable
.
Debian
(stable
& testing
) systems with systemd
and xrdp
run in lxc
containers.I found a similar problem (2 sec "BSWC") on another host with debian/stable
(not container, direct on host).
Appeared recently (1..2 months? - users report) - after apt
upgrade. Previous version (before apt
upgrade) worked fine.
I think it's possible to find prev. version number and "orig" source package in debian/stable
repository archive. Perhaps it may help to find sensitive/related changes in code.
Could be neutrinolabs/xorgxrdp#171 which was merged for xorgxrdp 0.2.17
If I understand correctly, you are saying that PR's around this issue could break something and lead to this behavior... Could this bug have rised before? I mean since 0.2.12
(not 0.2.17
).
Yup - see #1964.
More info.
I tried to reinstall into "broken" container (with debian:testing
) a version from debian:stable
(rebuilt both debian:stable
packages for debian:testing
). Same result - stable infinity "BSWC" on reconnect.
I tried to install a new debian:testing
on virtual machine (libvirt
qemu
, not a container). Same result - infinity "BSWC" on reconnect (for a while everything worked fine, but then everything degraded to the current state).
New clean VM with debian:stable
(installed too as experiment) works fine.
I think I see what's going on here.
There is a run-time dependency xrdp and xorgxrdp. We added a check to xorgxrdp to make sure the version of xrdp matched in xrdp PR #1813 and xorgxrdp PR #184.
These checks made it to v0.9.16, so aren't in v0.9.12. I think this is what you are seeing.
The current advice is to use these versions together:- xrdp version xorgxrdp version v0.9.x (x <= 18) v0.2.x v0.9.x (x > 18) v0.9.x
There however only very minor changes to xrdp v0.9.20 and v0.9.21, so for both of these, xordxrdp v0.9.19 should work OK.
Is that consistent with your observations?
i also had trouble with a black screen, this was indeed due a version mismatch on debian 11
i also had trouble with a black screen, this was indeed due a version mismatch on debian 11
I had same on debian/bullseye
(11).
I think it's related to recent updates.
My solution: rebuild xrdp
and xorgxrdp
from debian/bookworm
for debian/bullseye
.
debian/bookworm
docker run --rm --tty --interactive --volume=/tmp/xrdp:/mnt debian:bookworm
:
cat >/etc/apt/sources.list.d/debian.sources << EOF
Types: deb deb-src
URIs: http://deb.debian.org/debian
Suites: bookworm bookworm-updates bookworm-proposed-updates bookworm-backports bookworm-backports-sloppy
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Types: deb deb-src URIs: http://deb.debian.org/debian-security Suites: bookworm-security Components: main contrib non-free non-free-firmware Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg EOF
apt update --assume-yes apt install --assume-yes apt-utils dpkg-dev (cd /mnt && apt source xrdp xorgxrdp)
exit
2. rebuild `debian/bookworm` source packages on `debian/bullseye`
`docker run --rm --tty --interactive --volume=/tmp/xrdp:/mnt debian:bullseye`:
rm --force /etc/apt/sources.list
cat >/etc/apt/sources.list.d/debian.sources << EOF Types: deb deb-src URIs: http://deb.debian.org/debian Suites: bullseye bullseye-updates bullseye-proposed-updates bullseye-backports bullseye-backports-sloppy Components: main contrib non-free Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Types: deb deb-src URIs: http://deb.debian.org/debian-security Suites: bullseye-security Components: main contrib non-free Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg EOF
apt update --assume-yes apt install --assume-yes apt-utils devscripts apt build-dep --assume-yes xrdp xorgxrdp
(cd /mnt/xorgxrdp-0.9.19 && debuild -uc -us) (cd /mnt/xrdp-0.9.21.1 && debuild -uc -us)
exit
3. copy `xrdp_0.9.21.1-1_amd64.deb` & `xorgxrdp_0.9.19-1_amd64.deb` to target system (`/tmp/xrdp` directory for example)
4. install it on target system
apt update --assume-yes apt purge --assume-yes xrdp xorgxrdp apt autoremove --assume-yes apt install --assume-yes /tmp/xrdp/xrdp_0.9.21.1-1_amd64.deb /tmp/xrdp/xorgxrdp_0.9.19-1_amd64.deb apt-mark hold xrdp xorgxrdp
Newest Debian 11 update for xorgxrdp (1:0.2.12-1+deb11u1) fixed this problem for me, that was introduced with the update to xrdp 0.9.21.1-1~deb11u1 a few days ago
Version: xrdp_0.9.21 OS: Debian 11 in virtual machine (so no physical hardware)
Login screen for prompt username/password show fine if username/password not supplied by RDP client.
When connecting (after login), I get a black screen with cursor.
I have done the xterm test as suggested in a bug report. Log attached: .xsession-errors (empty) .xorgxrdp.10.log /var/log/xrdp.log /var/log/xrdp-sesman.log xorgxrdp.10.log xrdp-sesman.log xrdp.log
xterm window is not shown but cursor change from arrow to cross when moving it into black screen.
When I check running process, xterm is running: