neutrinolabs / xrdp

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

Works with PI 4 and 5, but not with PI 3b+ #3201

Closed Perkelatorz closed 3 months ago

Perkelatorz commented 3 months ago

xrdp version

0.9.21.1

Detailed xrdp version, build options

xrdp 0.9.21.1
  A Remote Desktop Protocol Server.
  Copyright (C) 2004-2020 Jay Sorg, Neutrino Labs, and all contributors.
  See https://github.com/neutrinolabs/xrdp for more information.

  Configure options:
      --enable-ipv6
      --enable-jpeg
      --enable-fuse
      --enable-rfxcodec
      --enable-opus
      --enable-painter
      --enable-vsock
      --build=aarch64-linux-gnu
      --prefix=/usr
      --includedir=${prefix}/include
      --mandir=${prefix}/share/man
      --infodir=${prefix}/share/info
      --sysconfdir=/etc
      --localstatedir=/var
      --disable-silent-rules
      --libdir=${prefix}/lib/aarch64-linux-gnu
      --libexecdir=${prefix}/lib/aarch64-linux-gnu
      --disable-maintainer-mode
      --disable-dependency-tracking
      --with-socketdir=/run/xrdp/sockdir
      build_alias=aarch64-linux-gnu
      CFLAGS=-g -O2 -ffile-prefix-map=/build/xrdp-xCPoG3/xrdp-0.9.21.1=. -fstack-protector-strong -Wformat -Werror=format-security
      LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed
      CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
      PKG_CONFIG_PATH=/build/xrdp-xCPoG3/xrdp-0.9.21.1/pkgconfig

  Compiled with OpenSSL 3.0.13 30 Jan 2024

Operating system & version

Debian GNU/Linux 12 (bookworm)

Installation method

dnf / apt / zypper / pkg / etc

Which backend do you use?

xorgxrdp

What desktop environment do you use?

LXDE-pi

Environment xrdp running on

Raspberry Pi Model 3B+ and Raspberry Pi 5

What's your client?

mstsc

Area(s) with issue?

Other

Steps to reproduce

Install Raspberry Pi OS using Raspberry Pi Imager. After booting update repos and install xrdp. This works on the pi 4 and 5, but not the pi 3. Same img works fine on both the 4 and 5

✔️ Expected Behavior

Connect with RDP

❌ Actual Behavior

The attached screenshot is all I get. Screenshot 2024-08-12 193031

Anything else?

xrdp-sesman.log

[20240731-14:08:31] [INFO ] starting xrdp-sesman with pid 2477
[20240731-14:09:29] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 45348
[20240731-14:09:29] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240731-14:09:29] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.57:54888 - socket: 12
[20240731-14:09:29] [INFO ] starting Xorg session...
[20240731-14:09:29] [INFO ] Starting session: session_pid 2542, display :10.0, width 1280, height 800, bpp 24, client ip ::ffff:10.79.0.57:54888 - socket: 12, user name admin
[20240731-14:09:29] [INFO ] [session start] (display 10): calling auth_start_session from pid 2542
[20240731-14:09:29] [ERROR] sesman_data_in: scp_process_msg failed
[20240731-14:09:29] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240731-14:09:30] [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
[20240731-14:09:30] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-14:09:30] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-14:09:30] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-14:09:30] [INFO ] Session started successfully for user admin on display 10
[20240731-14:09:30] [INFO ] Starting the xrdp channel server for display 10
[20240731-14:09:30] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240731-14:09:30] [INFO ] Session in progress on display 10, waiting until the window manager (pid 2543) exits to end the session
[20240731-14:45:50] [WARN ] Window manager (pid 2543, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem
[20240731-14:45:50] [INFO ] Calling auth_stop_session and auth_end from pid 2542
[20240731-14:45:50] [INFO ] Terminating X server (pid 2544) on display 10
[20240731-14:45:50] [INFO ] Terminating the xrdp channel server (pid 2553) on display 10
[20240731-14:45:50] [INFO ] X server on display 10 (pid 2544) returned exit code 0 and signal number 0
[20240731-14:45:50] [INFO ] xrdp channel server for display 10 (pid 2553) exit code 0 and signal number 0
[20240731-14:45:50] [INFO ] cleanup_sockets:
[20240731-14:45:50] [INFO ] Process 2542 has exited
[20240731-14:45:50] [INFO ] ++ terminated session:  username admin, display :10.0, session_pid 2542, ip ::ffff:10.79.0.57:54888 - socket: 12
[20240731-14:46:07] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 41120
[20240731-14:46:07] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240731-14:46:07] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.57:56156 - socket: 12
[20240731-14:46:07] [INFO ] starting Xorg session...
[20240731-14:46:07] [INFO ] Starting session: session_pid 4913, display :10.0, width 1280, height 800, bpp 24, client ip ::ffff:10.79.0.57:56156 - socket: 12, user name admin
[20240731-14:46:07] [INFO ] [session start] (display 10): calling auth_start_session from pid 4913
[20240731-14:46:07] [ERROR] sesman_data_in: scp_process_msg failed
[20240731-14:46:07] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240731-14:46:07] [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
[20240731-14:46:08] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-14:46:08] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-14:46:08] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-14:46:08] [INFO ] Session started successfully for user admin on display 10
[20240731-14:46:08] [INFO ] Starting the xrdp channel server for display 10
[20240731-14:46:08] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240731-14:46:08] [INFO ] Session in progress on display 10, waiting until the window manager (pid 4914) exits to end the session
[20240731-14:48:08] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 49920
[20240731-14:48:09] [INFO ] ++ reconnected session: username admin, display :10.0, session_pid 4913, ip ::ffff:10.79.0.57:56273 - socket: 12
[20240731-14:48:09] [ERROR] sesman_data_in: scp_process_msg failed
[20240731-14:48:09] [INFO ] Starting session reconnection script on display 10: /etc/xrdp/reconnectwm.sh
[20240731-14:48:09] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240731-14:48:09] [INFO ] Process 5341 has exited
[20240731-16:13:47] [WARN ] Window manager (pid 4914, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem
[20240731-16:13:47] [INFO ] Calling auth_stop_session and auth_end from pid 4913
[20240731-16:13:48] [INFO ] Terminating X server (pid 4915) on display 10
[20240731-16:13:49] [INFO ] Terminating the xrdp channel server (pid 4924) on display 10
[20240731-16:13:48] [INFO ] sesman_main_loop: sesman asked to terminate
[20240731-16:13:49] [INFO ] X server on display 10 (pid 4915) returned exit code 0 and signal number 0
[20240731-16:13:49] [INFO ] xrdp channel server for display 10 (pid 4924) exit code 255 and signal number 1
[20240731-16:13:49] [INFO ] cleanup_sockets:
[20240731-16:14:13] [INFO ] starting xrdp-sesman with pid 893
[20240731-16:14:35] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 43872
[20240731-16:14:35] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240731-16:14:35] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.57:60030 - socket: 12
[20240731-16:14:35] [INFO ] starting Xorg session...
[20240731-16:14:35] [INFO ] Starting session: session_pid 1514, display :10.0, width 1280, height 800, bpp 24, client ip ::ffff:10.79.0.57:60030 - socket: 12, user name admin
[20240731-16:14:35] [INFO ] [session start] (display 10): calling auth_start_session from pid 1514
[20240731-16:14:35] [ERROR] sesman_data_in: scp_process_msg failed
[20240731-16:14:35] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240731-16:14:35] [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
[20240731-16:14:35] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-16:14:35] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-16:14:35] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-16:14:35] [INFO ] Session started successfully for user admin on display 10
[20240731-16:14:35] [INFO ] Starting the xrdp channel server for display 10
[20240731-16:14:35] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240731-16:14:35] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1515) exits to end the session
[20240731-17:51:21] [WARN ] Window manager (pid 1515, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem
[20240731-17:51:21] [INFO ] Calling auth_stop_session and auth_end from pid 1514
[20240731-17:51:21] [INFO ] Terminating X server (pid 1516) on display 10
[20240731-17:51:21] [INFO ] Terminating the xrdp channel server (pid 1525) on display 10
[20240731-17:51:21] [INFO ] X server on display 10 (pid 1516) returned exit code 0 and signal number 0
[20240731-17:51:21] [INFO ] xrdp channel server for display 10 (pid 1525) exit code 0 and signal number 0
[20240731-17:51:21] [INFO ] cleanup_sockets:
[20240731-17:51:21] [INFO ] Process 1514 has exited
[20240731-17:51:21] [INFO ] ++ terminated session:  username admin, display :10.0, session_pid 1514, ip ::ffff:10.79.0.57:60030 - socket: 12
[20240731-17:51:28] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 46326
[20240731-17:51:29] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240731-17:51:29] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.57:62964 - socket: 12
[20240731-17:51:29] [INFO ] starting Xorg session...
[20240731-17:51:29] [INFO ] Starting session: session_pid 7783, display :10.0, width 1280, height 800, bpp 24, client ip ::ffff:10.79.0.57:62964 - socket: 12, user name admin
[20240731-17:51:29] [INFO ] [session start] (display 10): calling auth_start_session from pid 7783
[20240731-17:51:29] [ERROR] sesman_data_in: scp_process_msg failed
[20240731-17:51:29] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240731-17:51:29] [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
[20240731-17:51:29] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-17:51:29] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-17:51:29] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-17:51:29] [INFO ] Session started successfully for user admin on display 10
[20240731-17:51:29] [INFO ] Starting the xrdp channel server for display 10
[20240731-17:51:29] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240731-17:51:29] [INFO ] Session in progress on display 10, waiting until the window manager (pid 7784) exits to end the session
[20240731-17:59:45] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 44218
[20240731-17:59:45] [INFO ] ++ reconnected session: username admin, display :10.0, session_pid 7783, ip ::ffff:10.79.0.57:63337 - socket: 12
[20240731-17:59:45] [ERROR] sesman_data_in: scp_process_msg failed
[20240731-17:59:45] [INFO ] Starting session reconnection script on display 10: /etc/xrdp/reconnectwm.sh
[20240731-17:59:45] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240731-17:59:45] [INFO ] Process 8369 has exited
[20240731-18:18:52] [WARN ] Window manager (pid 7784, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem
[20240731-18:18:52] [INFO ] Calling auth_stop_session and auth_end from pid 7783
[20240731-18:18:52] [INFO ] sesman_main_loop: sesman asked to terminate
[20240731-18:18:52] [INFO ] Terminating X server (pid 7785) on display 10
[20240731-18:18:52] [INFO ] Terminating the xrdp channel server (pid 7794) on display 10
[20240731-18:18:52] [INFO ] X server on display 10 (pid 7785) returned exit code 0 and signal number 0
[20240731-18:18:52] [INFO ] xrdp channel server for display 10 (pid 7794) exit code 255 and signal number 1
[20240731-18:18:52] [INFO ] cleanup_sockets:
[20240731-18:19:19] [INFO ] starting xrdp-sesman with pid 901
[20240731-18:19:46] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 49648
[20240731-18:19:46] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240731-18:19:46] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.57:64014 - socket: 12
[20240731-18:19:46] [INFO ] starting Xorg session...
[20240731-18:19:46] [INFO ] Starting session: session_pid 1818, display :10.0, width 1280, height 800, bpp 24, client ip ::ffff:10.79.0.57:64014 - socket: 12, user name admin
[20240731-18:19:46] [INFO ] [session start] (display 10): calling auth_start_session from pid 1818
[20240731-18:19:46] [ERROR] sesman_data_in: scp_process_msg failed
[20240731-18:19:46] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240731-18:19:46] [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
[20240731-18:19:46] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-18:19:46] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-18:19:46] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-18:19:46] [INFO ] Session started successfully for user admin on display 10
[20240731-18:19:46] [INFO ] Starting the xrdp channel server for display 10
[20240731-18:19:46] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240731-18:19:46] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1819) exits to end the session
[20240731-18:24:20] [WARN ] Window manager (pid 1819, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem
[20240731-18:24:21] [INFO ] Calling auth_stop_session and auth_end from pid 1818
[20240731-18:24:21] [INFO ] sesman_main_loop: sesman asked to terminate
[20240731-18:24:21] [INFO ] Terminating X server (pid 1820) on display 10
[20240731-18:24:21] [INFO ] Terminating the xrdp channel server (pid 1828) on display 10
[20240731-18:24:21] [INFO ] X server on display 10 (pid 1820) returned exit code 0 and signal number 0
[20240731-18:24:21] [INFO ] xrdp channel server for display 10 (pid 1828) exit code 255 and signal number 1
[20240731-18:24:21] [INFO ] cleanup_sockets:
[20240731-18:24:48] [INFO ] starting xrdp-sesman with pid 892
[20240731-18:34:53] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 57984
[20240731-18:34:54] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240731-18:34:54] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.57:64387 - socket: 12
[20240731-18:34:54] [INFO ] starting Xorg session...
[20240731-18:34:54] [INFO ] Starting session: session_pid 2275, display :10.0, width 1280, height 800, bpp 24, client ip ::ffff:10.79.0.57:64387 - socket: 12, user name admin
[20240731-18:34:54] [INFO ] [session start] (display 10): calling auth_start_session from pid 2275
[20240731-18:34:54] [ERROR] sesman_data_in: scp_process_msg failed
[20240731-18:34:54] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240731-18:34: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
[20240731-18:34:54] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-18:34:54] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-18:34:54] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-18:34:54] [INFO ] Session started successfully for user admin on display 10
[20240731-18:34:54] [INFO ] Starting the xrdp channel server for display 10
[20240731-18:34:54] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240731-18:34:54] [INFO ] Session in progress on display 10, waiting until the window manager (pid 2276) exits to end the session
[20240731-18:40:11] [WARN ] Window manager (pid 2276, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem
[20240731-18:40:11] [INFO ] Calling auth_stop_session and auth_end from pid 2275
[20240731-18:40:13] [INFO ] Terminating X server (pid 2277) on display 10
[20240731-18:40:13] [INFO ] sesman_main_loop: sesman asked to terminate
[20240731-18:40:16] [INFO ] Terminating the xrdp channel server (pid 2285) on display 10
[20240731-18:40:16] [INFO ] X server on display 10 (pid 2277) returned exit code 0 and signal number 0
[20240731-18:40:16] [INFO ] xrdp channel server for display 10 (pid 2285) exit code 255 and signal number 1
[20240731-18:40:16] [INFO ] cleanup_sockets:
[20240731-18:40:46] [INFO ] starting xrdp-sesman with pid 887
[20240731-18:46:08] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 58780
[20240731-18:46:08] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240731-18:46:08] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.57:64730 - socket: 12
[20240731-18:46:08] [INFO ] starting Xorg session...
[20240731-18:46:08] [INFO ] Starting session: session_pid 2525, display :10.0, width 1280, height 800, bpp 24, client ip ::ffff:10.79.0.57:64730 - socket: 12, user name admin
[20240731-18:46:08] [INFO ] [session start] (display 10): calling auth_start_session from pid 2525
[20240731-18:46:08] [ERROR] sesman_data_in: scp_process_msg failed
[20240731-18:46:08] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240731-18:46:08] [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
[20240731-18:46:08] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-18:46:08] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-18:46:08] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240731-18:46:08] [INFO ] Session started successfully for user admin on display 10
[20240731-18:46:08] [INFO ] Starting the xrdp channel server for display 10
[20240731-18:46:08] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240731-18:46:08] [INFO ] Session in progress on display 10, waiting until the window manager (pid 2526) exits to end the session
[20240731-19:20:14] [WARN ] Window manager (pid 2526, display 10) exited with non-zero exit code 255 and signal 15. This could indicate a window manager config problem
[20240731-19:20:14] [INFO ] Calling auth_stop_session and auth_end from pid 2525
[20240731-19:20:14] [INFO ] sesman_main_loop: sesman asked to terminate
[20240731-19:20:14] [INFO ] Terminating X server (pid 2527) on display 10
[20240731-19:20:14] [INFO ] Terminating the xrdp channel server (pid 2536) on display 10
[20240731-19:20:14] [INFO ] X server on display 10 (pid 2527) returned exit code 0 and signal number 0
[20240731-19:20:14] [INFO ] xrdp channel server for display 10 (pid 2536) exit code 255 and signal number 1
[20240731-19:20:14] [INFO ] cleanup_sockets:
[20240731-19:21:32] [INFO ] starting xrdp-sesman with pid 687
[20240811-21:55:33] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 36388
[20240811-21:55:34] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240811-21:55:34] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.10:60202 - socket: 12
[20240811-21:55:34] [INFO ] starting Xorg session...
[20240811-21:55:34] [INFO ] Starting session: session_pid 2450, display :10.0, width 3440, height 1440, bpp 24, client ip ::ffff:10.79.0.10:60202 - socket: 12, user name admin
[20240811-21:55:34] [INFO ] [session start] (display 10): calling auth_start_session from pid 2450
[20240811-21:55:35] [ERROR] sesman_data_in: scp_process_msg failed
[20240811-21:55:36] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240811-21:55:37] [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
[20240811-21:55:37] [INFO ] Found X server running at /tmp/.X10-lock
[20240811-21:55:37] [INFO ] Found X server running at /tmp/.X10-lock
[20240811-21:55:37] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240811-21:55:37] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240811-21:55:37] [INFO ] Starting the xrdp channel server for display 10
[20240811-21:55:37] [INFO ] Session started successfully for user admin on display 10
[20240811-21:55:37] [INFO ] Session in progress on display 10, waiting until the window manager (pid 2451) exits to end the session
[20240811-21:55:47] [WARN ] Window manager (pid 2451, display 10) exited with non-zero exit code 1 and signal 0. This could indicate a window manager config problem
[20240811-21:55:47] [INFO ] Calling auth_stop_session and auth_end from pid 2450
[20240811-21:55:48] [INFO ] Terminating X server (pid 2452) on display 10
[20240811-21:55:48] [INFO ] Terminating the xrdp channel server (pid 2455) on display 10
[20240811-21:55:48] [INFO ] X server on display 10 (pid 2452) returned exit code 1 and signal number 0
[20240811-21:55:48] [INFO ] xrdp channel server for display 10 (pid 2455) exit code 0 and signal number 0
[20240811-21:55:48] [INFO ] cleanup_sockets:
[20240811-21:55:48] [INFO ] Process 2450 has exited
[20240811-21:55:48] [INFO ] ++ terminated session:  username admin, display :10.0, session_pid 2450, ip ::ffff:10.79.0.10:60202 - socket: 12
[20240811-21:59:34] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 54204
[20240811-21:59:34] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240811-21:59:34] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.10:60202 - socket: 12
[20240811-21:59:34] [INFO ] starting Xvnc session...
[20240811-21:59:34] [INFO ] Starting session: session_pid 2585, display :10.0, width 3440, height 1440, bpp 32, client ip ::ffff:10.79.0.10:60202 - socket: 12, user name admin
[20240811-21:59:34] [INFO ] [session start] (display 10): calling auth_start_session from pid 2585
[20240811-21:59:34] [ERROR] sesman_data_in: scp_process_msg failed
[20240811-21:59:34] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240811-21:59:34] [INFO ] Starting X server on display 10: Xvnc :10 -auth .Xauthority -geometry 3440x1440 -depth 32 -rfbauth /home/admin/.vnc/sesman_passwd-admin@raspberrypi:10 -bs -nolisten tcp -localhost -dpi 96
[20240811-21:59:34] [ERROR] Error calling exec (executable: Xvnc, arguments: Xvnc :10 -auth .Xauthority -geometry 3440x1440 -depth 32 -rfbauth /home/admin/.vnc/sesman_passwd-admin@raspberrypi:10 -bs -nolisten tcp -localhost -dpi 96) returned errno: 2, description: No such file or directory
[20240811-21:59:34] [ERROR] Error starting X server on display 10
[20240811-21:59:34] [ERROR] A fatal error has occurred attempting to start the X server on display 10, aborting connection
[20240811-21:59:44] [WARN ] Timed out waiting for X server on display 10 to startup
[20240811-21:59:44] [INFO ] Session started successfully for user admin on display 10
[20240811-21:59:44] [INFO ] Starting the xrdp channel server for display 10
[20240811-21:59:44] [INFO ] Session in progress on display 10, waiting until the window manager (pid 2586) exits to end the session
[20240811-21:59:44] [WARN ] Timed out waiting for X server on display 10 to startup
[20240811-21:59:44] [ERROR] There is no X server active on display 10
[20240811-21:59:44] [ERROR] A fatal error has occurred attempting to start the window manager on display 10, aborting connection
[20240811-21:59:44] [WARN ] Window manager (pid 2586, display 10) exited quickly (0 secs). This could indicate a window manager config problem
[20240811-21:59:44] [INFO ] Calling auth_stop_session and auth_end from pid 2585
[20240811-21:59:44] [INFO ] Terminating X server (pid 2587) on display 10
[20240811-21:59:44] [INFO ] Terminating the xrdp channel server (pid 2590) on display 10
[20240811-21:59:44] [INFO ] X server on display 10 (pid 2587) returned exit code 1 and signal number 0
[20240811-21:59:44] [INFO ] xrdp channel server for display 10 (pid 2590) exit code 0 and signal number 0
[20240811-21:59:44] [INFO ] cleanup_sockets:
[20240811-21:59:44] [INFO ] Process 2585 has exited
[20240811-21:59:44] [INFO ] ++ terminated session:  username admin, display :10.0, session_pid 2585, ip ::ffff:10.79.0.10:60202 - socket: 12
[20240811-22:07:43] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 37506
[20240811-22:07:44] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240811-22:07:44] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.10:60968 - socket: 12
[20240811-22:07:44] [INFO ] starting Xorg session...
[20240811-22:07:44] [INFO ] Starting session: session_pid 3001, display :10.0, width 3440, height 1440, bpp 24, client ip ::ffff:10.79.0.10:60968 - socket: 12, user name admin
[20240811-22:07:44] [INFO ] [session start] (display 10): calling auth_start_session from pid 3001
[20240811-22:07:44] [ERROR] sesman_data_in: scp_process_msg failed
[20240811-22:07:44] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240811-22:07:44] [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
[20240811-22:07:54] [WARN ] Timed out waiting for X server on display 10 to startup
[20240811-22:07:54] [WARN ] Timed out waiting for X server on display 10 to startup
[20240811-22:07:54] [INFO ] Session started successfully for user admin on display 10
[20240811-22:07:54] [INFO ] Starting the xrdp channel server for display 10
[20240811-22:07:54] [ERROR] There is no X server active on display 10
[20240811-22:07:54] [INFO ] Session in progress on display 10, waiting until the window manager (pid 3002) exits to end the session
[20240811-22:07:54] [ERROR] A fatal error has occurred attempting to start the window manager on display 10, aborting connection
[20240811-22:07:54] [WARN ] Window manager (pid 3002, display 10) exited quickly (0 secs). This could indicate a window manager config problem
[20240811-22:07:54] [INFO ] Calling auth_stop_session and auth_end from pid 3001
[20240811-22:07:54] [INFO ] Terminating X server (pid 3003) on display 10
[20240811-22:07:54] [INFO ] Terminating the xrdp channel server (pid 3006) on display 10
[20240811-22:07:54] [INFO ] X server on display 10 (pid 3003) returned exit code 1 and signal number 0
[20240811-22:07:54] [INFO ] xrdp channel server for display 10 (pid 3006) exit code 0 and signal number 0
[20240811-22:07:54] [INFO ] cleanup_sockets:
[20240811-22:07:54] [INFO ] Process 3001 has exited
[20240811-22:07:54] [INFO ] ++ terminated session:  username admin, display :10.0, session_pid 3001, ip ::ffff:10.79.0.10:60968 - socket: 12
[20240811-22:12:54] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 33372
[20240811-22:12:54] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240811-22:12:54] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.10:60968 - socket: 12
[20240811-22:12:54] [INFO ] starting Xorg session...
[20240811-22:12:54] [INFO ] Starting session: session_pid 3286, display :10.0, width 3440, height 1440, bpp 24, client ip ::ffff:10.79.0.10:60968 - socket: 12, user name admin
[20240811-22:12:54] [INFO ] [session start] (display 10): calling auth_start_session from pid 3286
[20240811-22:12:54] [ERROR] sesman_data_in: scp_process_msg failed
[20240811-22:12:54] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240811-22:12: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
[20240811-22:12:55] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240811-22:12:55] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240811-22:12:55] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240811-22:12:55] [INFO ] Session started successfully for user admin on display 10
[20240811-22:12:55] [INFO ] Starting the xrdp channel server for display 10
[20240811-22:12:55] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240811-22:12:55] [INFO ] Session in progress on display 10, waiting until the window manager (pid 3287) exits to end the session
[20240811-22:12:59] [WARN ] Window manager (pid 3287, display 10) exited with non-zero exit code 1 and signal 0. This could indicate a window manager config problem
[20240811-22:13:00] [WARN ] Window manager (pid 3287, display 10) exited quickly (4 secs). This could indicate a window manager config problem
[20240811-22:13:00] [INFO ] Calling auth_stop_session and auth_end from pid 3286
[20240811-22:13:00] [INFO ] Terminating X server (pid 3288) on display 10
[20240811-22:13:00] [INFO ] Terminating the xrdp channel server (pid 3292) on display 10
[20240811-22:13:00] [INFO ] X server on display 10 (pid 3288) returned exit code 1 and signal number 0
[20240811-22:13:00] [INFO ] xrdp channel server for display 10 (pid 3292) exit code 0 and signal number 0
[20240811-22:13:00] [INFO ] cleanup_sockets:
[20240811-22:13:00] [INFO ] Process 3286 has exited
[20240811-22:13:00] [INFO ] ++ terminated session:  username admin, display :10.0, session_pid 3286, ip ::ffff:10.79.0.10:60968 - socket: 12
[20240811-22:13:47] [INFO ] sesman_main_loop: sesman asked to terminate
[20240811-22:14:06] [INFO ] starting xrdp-sesman with pid 689
[20240811-22:15:30] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 38118
[20240811-22:15:31] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240811-22:15:31] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.10:61233 - socket: 12
[20240811-22:15:31] [INFO ] starting Xorg session...
[20240811-22:15:31] [INFO ] Starting session: session_pid 1512, display :10.0, width 3440, height 1440, bpp 24, client ip ::ffff:10.79.0.10:61233 - socket: 12, user name admin
[20240811-22:15:31] [INFO ] [session start] (display 10): calling auth_start_session from pid 1512
[20240811-22:15:31] [ERROR] sesman_data_in: scp_process_msg failed
[20240811-22:15:31] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240811-22:15:35] [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
[20240811-22:15:35] [INFO ] Found X server running at /tmp/.X10-lock
[20240811-22:15:35] [INFO ] Found X server running at /tmp/.X10-lock
[20240811-22:15:35] [INFO ] Session started successfully for user admin on display 10
[20240811-22:15:35] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1534) exits to end the session
[20240811-22:15:35] [INFO ] Starting the xrdp channel server for display 10
[20240811-22:15:35] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240811-22:15:36] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240811-22:15:38] [WARN ] Window manager (pid 1534, display 10) exited with non-zero exit code 1 and signal 0. This could indicate a window manager config problem
[20240811-22:15:38] [WARN ] Window manager (pid 1534, display 10) exited quickly (2 secs). This could indicate a window manager config problem
[20240811-22:15:38] [INFO ] Calling auth_stop_session and auth_end from pid 1512
[20240811-22:15:38] [INFO ] Terminating X server (pid 1535) on display 10
[20240811-22:15:38] [INFO ] Terminating the xrdp channel server (pid 1542) on display 10
[20240811-22:15:38] [INFO ] X server on display 10 (pid 1535) returned exit code 1 and signal number 0
[20240811-22:15:38] [INFO ] xrdp channel server for display 10 (pid 1542) exit code 0 and signal number 0
[20240811-22:15:38] [INFO ] cleanup_sockets:
[20240811-22:15:38] [INFO ] Process 1512 has exited
[20240811-22:15:38] [INFO ] ++ terminated session:  username admin, display :10.0, session_pid 1512, ip ::ffff:10.79.0.10:61233 - socket: 12
[20240811-22:18:06] [INFO ] sesman_main_loop: sesman asked to terminate
[20240811-22:18:22] [INFO ] starting xrdp-sesman with pid 683
[20240812-19:13:23] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 50536
[20240812-19:13:23] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240812-19:13:23] [INFO ] ++ created session (access granted): username admin, ip ::ffff:10.79.0.10:49781 - socket: 12
[20240812-19:13:23] [INFO ] starting Xorg session...
[20240812-19:13:23] [INFO ] Starting session: session_pid 1535, display :10.0, width 3440, height 1440, bpp 24, client ip ::ffff:10.79.0.10:49781 - socket: 12, user name admin
[20240812-19:13:23] [INFO ] [session start] (display 10): calling auth_start_session from pid 1535
[20240812-19:13:23] [ERROR] sesman_data_in: scp_process_msg failed
[20240812-19:13:23] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240812-19:13:26] [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
[20240812-19:13:26] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240812-19:13:26] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240812-19:13:26] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240812-19:13:26] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240812-19:13:26] [INFO ] Starting the xrdp channel server for display 10
[20240812-19:13:26] [INFO ] Session started successfully for user admin on display 10
[20240812-19:13:26] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1557) exits to end the session
[20240812-19:13:28] [WARN ] Window manager (pid 1557, display 10) exited with non-zero exit code 1 and signal 0. This could indicate a window manager config problem
[20240812-19:13:28] [WARN ] Window manager (pid 1557, display 10) exited quickly (2 secs). This could indicate a window manager config problem
[20240812-19:13:28] [INFO ] Calling auth_stop_session and auth_end from pid 1535
[20240812-19:13:28] [INFO ] Terminating X server (pid 1558) on display 10
[20240812-19:13:28] [INFO ] Terminating the xrdp channel server (pid 1569) on display 10
[20240812-19:13:28] [INFO ] X server on display 10 (pid 1558) returned exit code 1 and signal number 0
[20240812-19:13:28] [INFO ] xrdp channel server for display 10 (pid 1569) exit code 0 and signal number 0
[20240812-19:13:28] [INFO ] cleanup_sockets:
[20240812-19:13:28] [INFO ] Process 1535 has exited
[20240812-19:13:28] [INFO ] ++ terminated session:  username admin, display :10.0, session_pid 1535, ip ::ffff:10.79.0.10:49781 - socket: 12

.xsession.log

Xsession: X session started for admin at Wed 31 Jul 19:21:59 EDT 2024
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/admin/.Xauthority
localuser:admin being added to access control list
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
** Message: 21:55:08.263: main.vala:103: Session is LXDE-pi
** Message: 21:55:08.263: main.vala:104: DE is LXDE
** Message: 21:55:08.504: main.vala:135: log directory: /home/admin/.cache/lxsession/LXDE-pi
** Message: 21:55:08.504: main.vala:136: log path: /home/admin/.cache/lxsession/LXDE-pi/run.log
Xsession: X session started for admin at Sun 11 Aug 21:55:46 EDT 2024
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:10.0
xrdb: Connection refused
xrdb: Can't open display ':10.0'
xhost:  unable to open display ":10.0"
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
** Message: 21:55:47.918: main.vala:103: Session is LXDE-pi
** Message: 21:55:47.918: main.vala:104: DE is LXDE

(lxsession:2451): Gtk-WARNING **: 21:55:47.952: cannot open display: :10.0
Xsession: X session started for admin at Sun 11 Aug 22:12:56 EDT 2024
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:10.0
xrdb: Connection refused
xrdb: Can't open display ':10.0'
xhost:  unable to open display ":10.0"
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
** Message: 22:12:56.767: main.vala:103: Session is LXDE-pi
** Message: 22:12:56.767: main.vala:104: DE is LXDE

(lxsession:3287): Gtk-WARNING **: 22:12:58.671: cannot open display: :10.0
Xsession: X session started for admin at Sun 11 Aug 22:15:36 EDT 2024
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:10.0
xrdb: Connection refused
xrdb: Can't open display ':10.0'
xhost:  unable to open display ":10.0"
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
** Message: 22:15:38.133: main.vala:103: Session is LXDE-pi
** Message: 22:15:38.133: main.vala:104: DE is LXDE

(lxsession:1534): Gtk-WARNING **: 22:15:38.307: cannot open display: :10.0
Xsession: X session started for admin at Mon 12 Aug 19:13:27 EDT 2024
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:10.0
xrdb: Connection refused
xrdb: Can't open display ':10.0'
xhost:  unable to open display ":10.0"
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
** Message: 19:13:28.241: main.vala:103: Session is LXDE-pi
** Message: 19:13:28.248: main.vala:104: DE is LXDE

(lxsession:1557): Gtk-WARNING **: 19:13:28.386: cannot open display: :10.0

.xorgxrdp.10.log

[    67.494]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[    67.494] Current Operating System: Linux raspberrypi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64
[    67.494] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=9907bc31-02 rootfstype=ext4 fsck.repair=yes rootwait
[    67.495] xorg-server 2:21.1.7-3+rpt2+deb12u7 (https://www.debian.org/support)
[    67.495] Current version of pixman: 0.42.2
[    67.495]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    67.495] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    67.495] (++) Log file: ".xorgxrdp.10.log", Time: Mon Aug 12 19:13:26 2024
[    67.655] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[    67.655] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    67.655] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    67.757] (**) Option "defaultserverlayout" "X11 Server"
[    67.758] (**) ServerLayout "X11 Server"
[    67.758] (**) |-->Screen "Screen (xrdpdev)" (0)
[    67.758] (**) |   |-->Monitor "Monitor"
[    67.759] (**) |   |-->Device "Video Card (xrdpdev)"
[    67.759] (**) |   |-->GPUDevice "kms"
[    67.759] (**) |-->Input Device "xrdpMouse"
[    67.759] (**) |-->Input Device "xrdpKeyboard"
[    67.759] (**) Option "DontVTSwitch" "on"
[    67.759] (**) Option "AutoAddDevices" "off"
[    67.759] (**) Not automatically adding devices
[    67.759] (==) Automatically enabling devices
[    67.759] (==) Automatically adding GPU devices
[    67.759] (==) Automatically binding GPU devices
[    67.759] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    67.774] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    67.774]    Entry deleted from font path.
[    67.814] (==) 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
[    67.814] (==) ModulePath set to "/usr/lib/xorg/modules"
[    67.814] (II) Loader magic: 0x5595790ef0
[    67.814] (II) Module ABI versions:
[    67.814]    X.Org ANSI C Emulation: 0.4
[    67.814]    X.Org Video Driver: 25.2
[    67.814]    X.Org XInput driver : 24.4
[    67.814]    X.Org Server Extension : 10.0
[    67.821] (--) using VT number 2

[    67.822] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    67.848] (II) xfree86: Adding drm device (/dev/dri/card0)
[    67.848] (II) Platform probe for /sys/devices/platform/soc/soc:gpu/drm/card0
[    67.849] (II) no primary bus or device found
[    67.849] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    67.849] (II) LoadModule: "dbe"
[    67.850] (II) Module "dbe" already built-in
[    67.850] (II) LoadModule: "ddc"
[    67.850] (II) Module "ddc" already built-in
[    67.850] (II) LoadModule: "extmod"
[    67.850] (II) Module "extmod" already built-in
[    67.850] (II) LoadModule: "glx"
[    67.883] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    67.938] (II) Module glx: vendor="X.Org Foundation"
[    67.938]    compiled for 1.21.1.7, module version = 1.0.0
[    67.938]    ABI class: X.Org Server Extension, version 10.0
[    67.938] (II) LoadModule: "int10"
[    67.939] (II) Loading /usr/lib/xorg/modules/libint10.so
[    67.956] (II) Module int10: vendor="X.Org Foundation"
[    67.956]    compiled for 1.21.1.7, module version = 1.0.0
[    67.956]    ABI class: X.Org Video Driver, version 25.2
[    67.956] (II) LoadModule: "record"
[    67.956] (II) Module "record" already built-in
[    67.956] (II) LoadModule: "vbe"
[    67.957] (II) Loading /usr/lib/xorg/modules/libint10.so
[    67.959] (II) Module int10: vendor="X.Org Foundation"
[    67.959]    compiled for 1.21.1.7, module version = 1.0.0
[    67.959]    ABI class: X.Org Video Driver, version 25.2
[    67.959] (II) LoadModule: "glamoregl"
[    67.960] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    68.068] (II) Module glamoregl: vendor="X.Org Foundation"
[    68.068]    compiled for 1.21.1.7, module version = 1.0.1
[    68.068]    ABI class: X.Org ANSI C Emulation, version 0.4
[    68.068] (II) LoadModule: "xorgxrdp"
[    68.069] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[    68.086] (II) Module XORGXRDP: vendor="X.Org Foundation"
[    68.086]    compiled for 1.21.1.5, module version = 0.9.19
[    68.086]    ABI class: X.Org Video Driver, version 25.2
[    68.086] xorgxrdpSetup:
[    68.086] (II) LoadModule: "fb"
[    68.086] (II) Module "fb" already built-in
[    68.086] (II) LoadModule: "xrdpdev"
[    68.087] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[    68.096] (II) Module XRDPDEV: vendor="X.Org Foundation"
[    68.097]    compiled for 1.21.1.5, module version = 0.9.19
[    68.097]    ABI class: X.Org Video Driver, version 25.2
[    68.097] xrdpdevSetup:
[    68.097] (II) LoadModule: "modesetting"
[    68.097] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    68.100] (II) Module modesetting: vendor="X.Org Foundation"
[    68.100]    compiled for 1.21.1.7, module version = 1.21.1
[    68.100]    Module class: X.Org Video Driver
[    68.100]    ABI class: X.Org Video Driver, version 25.2
[    68.101] (II) LoadModule: "xrdpmouse"
[    68.101] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[    68.106] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[    68.106]    compiled for 1.21.1.5, module version = 0.9.19
[    68.106]    Module class: X.Org XInput Driver
[    68.106]    ABI class: X.Org XInput driver, version 24.4
[    68.106] rdpmousePlug:
[    68.107] (II) LoadModule: "xrdpkeyb"
[    68.107] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[    68.116] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[    68.116]    compiled for 1.21.1.5, module version = 0.9.19
[    68.116]    Module class: X.Org XInput Driver
[    68.116]    ABI class: X.Org XInput driver, version 24.4
[    68.116] rdpkeybPlug:
[    68.116] rdpIdentify:
[    68.116] (II) XRDPDEV: driver for xrdp: XRDPDEV
[    68.116] rdpDriverFunc: op 10
[    68.117] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    68.119] (EE)
Fatal server error:
[    68.120] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
[    68.120] (EE)
[    68.120] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    68.120] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
[    68.120] (EE)
[    68.123] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[    68.124] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[    68.124] (EE) Server terminated with error (1). Closing log file.
matt335672 commented 3 months ago

See neutrinolabs/xorgxrdp#241

Try making the changes in neutrinolabs/xorgxrdp@b7002eee91b104dee8d9b9479e306419eaff5b8d to /etc/X11/xrdp/xorg.conf and report back.

Perkelatorz commented 3 months ago

Did not seem to have fix it

Also did try commenting out Option "DRMDevice" ""

/etc/X11/xrdp/xorg.conf

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 "glamoregl"
    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 "DRMDevice" ""
    Option "DRI3" "1"
EndSection

Section "Screen"
    Identifier "Screen (xrdpdev)"
    Device "Video Card (xrdpdev)"
    Monitor "Monitor"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "640x480" "800x600" "1024x768" "1280x720" "1280x1024" "1600x900" "1920x1080"
    EndSubSection
EndSection
matt335672 commented 3 months ago

Could you provide .xorgxrdp.10.log after making the changes?

Perkelatorz commented 3 months ago

.xorgxrdp.10.log

[    39.759]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[    39.760] Current Operating System: Linux raspberrypi 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64
[    39.760] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=9907bc31-02 rootfstype=ext4 fsck.repair=yes rootwait
[    39.760] xorg-server 2:21.1.7-3+rpt2+deb12u7 (https://www.debian.org/support)
[    39.760] Current version of pixman: 0.42.2
[    39.760]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    39.760] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    39.760] (++) Log file: ".xorgxrdp.10.log", Time: Tue Aug 13 20:18:16 2024
[    39.762] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[    39.762] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    39.762] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    39.763] (**) Option "defaultserverlayout" "X11 Server"
[    39.763] (**) ServerLayout "X11 Server"
[    39.763] (**) |-->Screen "Screen (xrdpdev)" (0)
[    39.763] (**) |   |-->Monitor "Monitor"
[    39.764] (**) |   |-->Device "Video Card (xrdpdev)"
[    39.764] (**) |   |-->GPUDevice "kms"
[    39.764] (**) |-->Input Device "xrdpMouse"
[    39.764] (**) |-->Input Device "xrdpKeyboard"
[    39.764] (**) Option "DontVTSwitch" "on"
[    39.764] (**) Option "AutoAddDevices" "off"
[    39.764] (**) Option "AutoAddGPU" "off"
[    39.764] (**) Not automatically adding devices
[    39.764] (==) Automatically enabling devices
[    39.764] (**) Not automatically adding GPU devices
[    39.764] (==) Automatically binding GPU devices
[    39.764] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    39.765] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    39.765]    Entry deleted from font path.
[    39.765] (==) 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
[    39.765] (==) ModulePath set to "/usr/lib/xorg/modules"
[    39.765] (II) Loader magic: 0x556f2e0ef0
[    39.765] (II) Module ABI versions:
[    39.765]    X.Org ANSI C Emulation: 0.4
[    39.765]    X.Org Video Driver: 25.2
[    39.765]    X.Org XInput driver : 24.4
[    39.765]    X.Org Server Extension : 10.0
[    39.768] (--) using VT number 2

[    39.768] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    39.771] (II) xfree86: Adding drm device (/dev/dri/card0)
[    39.771] (II) Platform probe for /sys/devices/platform/soc/soc:gpu/drm/card0
[    39.771] (II) no primary bus or device found
[    39.771] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    39.771] (II) LoadModule: "dbe"
[    39.772] (II) Module "dbe" already built-in
[    39.772] (II) LoadModule: "ddc"
[    39.772] (II) Module "ddc" already built-in
[    39.772] (II) LoadModule: "extmod"
[    39.772] (II) Module "extmod" already built-in
[    39.772] (II) LoadModule: "glx"
[    39.775] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    39.779] (II) Module glx: vendor="X.Org Foundation"
[    39.780]    compiled for 1.21.1.7, module version = 1.0.0
[    39.780]    ABI class: X.Org Server Extension, version 10.0
[    39.780] (II) LoadModule: "int10"
[    39.780] (II) Loading /usr/lib/xorg/modules/libint10.so
[    39.793] (II) Module int10: vendor="X.Org Foundation"
[    39.793]    compiled for 1.21.1.7, module version = 1.0.0
[    39.793]    ABI class: X.Org Video Driver, version 25.2
[    39.793] (II) LoadModule: "record"
[    39.793] (II) Module "record" already built-in
[    39.793] (II) LoadModule: "vbe"
[    39.793] (II) Loading /usr/lib/xorg/modules/libint10.so
[    39.793] (II) Module int10: vendor="X.Org Foundation"
[    39.793]    compiled for 1.21.1.7, module version = 1.0.0
[    39.793]    ABI class: X.Org Video Driver, version 25.2
[    39.793] (II) LoadModule: "glamoregl"
[    39.794] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    39.830] (II) Module glamoregl: vendor="X.Org Foundation"
[    39.831]    compiled for 1.21.1.7, module version = 1.0.1
[    39.831]    ABI class: X.Org ANSI C Emulation, version 0.4
[    39.831] (II) LoadModule: "xorgxrdp"
[    39.831] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[    39.840] (II) Module XORGXRDP: vendor="X.Org Foundation"
[    39.840]    compiled for 1.21.1.5, module version = 0.9.19
[    39.840]    ABI class: X.Org Video Driver, version 25.2
[    39.840] xorgxrdpSetup:
[    39.840] (II) LoadModule: "fb"
[    39.840] (II) Module "fb" already built-in
[    39.840] (II) LoadModule: "xrdpdev"
[    39.840] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[    39.845] (II) Module XRDPDEV: vendor="X.Org Foundation"
[    39.845]    compiled for 1.21.1.5, module version = 0.9.19
[    39.845]    ABI class: X.Org Video Driver, version 25.2
[    39.845] xrdpdevSetup:
[    39.845] (II) LoadModule: "modesetting"
[    39.845] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    39.846] (II) Module modesetting: vendor="X.Org Foundation"
[    39.846]    compiled for 1.21.1.7, module version = 1.21.1
[    39.846]    Module class: X.Org Video Driver
[    39.846]    ABI class: X.Org Video Driver, version 25.2
[    39.846] (II) LoadModule: "xrdpmouse"
[    39.846] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[    39.851] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[    39.851]    compiled for 1.21.1.5, module version = 0.9.19
[    39.851]    Module class: X.Org XInput Driver
[    39.851]    ABI class: X.Org XInput driver, version 24.4
[    39.851] rdpmousePlug:
[    39.851] (II) LoadModule: "xrdpkeyb"
[    39.851] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[    39.856] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[    39.856]    compiled for 1.21.1.5, module version = 0.9.19
[    39.856]    Module class: X.Org XInput Driver
[    39.856]    ABI class: X.Org XInput driver, version 24.4
[    39.856] rdpkeybPlug:
[    39.856] rdpIdentify:
[    39.856] (II) XRDPDEV: driver for xrdp: XRDPDEV
[    39.856] rdpDriverFunc: op 10
[    39.856] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    39.856] (EE)
Fatal server error:
[    39.856] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
[    39.856] (EE)
[    39.856] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    39.856] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
[    39.856] (EE)
[    39.857] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[    39.857] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[    39.857] (EE) Server terminated with error (1). Closing log file.
Perkelatorz commented 3 months ago

Never mind, I am an idiot. I had Option "GPUDevice" "" not just GPUDevice "" that works completely normally sorry about that. Need to test it on pi 5 and 4 to make sure it still works. Thank you so much for the help I have been banging my head into this for like 2 weeks.

matt335672 commented 3 months ago

That's cool - I'm sure I've made exactly the same mistake myself in the past!

jk-85 commented 2 months ago

Just want to inform you guys that don't work with pi 2. After I set the DRMDevice to "" (and carefully watched that no typo is there) and restarting the xrdp service my new log-entries are these:

/var/log/xrdp-sesman.log
[...]
[20240916-17:25:20] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 35442
[20240916-17:25:20] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20240916-17:25:20] [INFO ] ++ created session (access granted): username hubert, ip ::ffff:192.168.1.61:20749 - socket: 12
[20240916-17:25:20] [INFO ] starting Xorg session...
[20240916-17:25:20] [INFO ] Starting session: session_pid 1465, display :10.0, width 1680, height 1050, bpp 24, client ip ::ffff:192.168.1.61:20749 - socket: 12, user name hubert
[20240916-17:25:20] [INFO ] [session start] (display 10): calling auth_start_session from pid 1465
[20240916-17:25:20] [ERROR] sesman_data_in: scp_process_msg failed
[20240916-17:25:20] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240916-17:25:22] [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
[20240916-17:25:22] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240916-17:25:22] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240916-17:25:22] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20240916-17:25:22] [INFO ] Session started successfully for user hubert on display 10
[20240916-17:25:22] [INFO ] Starting the xrdp channel server for display 10
[20240916-17:25:22] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20240916-17:25:22] [INFO ] Session in progress on display 10, waiting until the window manager (pid 1492) exits to end the session
[20240916-17:25:23] [WARN ] Window manager (pid 1492, display 10) exited with non-zero exit code 1 and signal 0. This could indicate a window manager config problem
[20240916-17:25:23] [WARN ] Window manager (pid 1492, display 10) exited quickly (1 secs). This could indicate a window manager config problem
[20240916-17:25:23] [INFO ] Calling auth_stop_session and auth_end from pid 1465
[20240916-17:25:23] [INFO ] Terminating X server (pid 1493) on display 10
[20240916-17:25:23] [INFO ] Terminating the xrdp channel server (pid 1512) on display 10
[20240916-17:25:23] [INFO ] X server on display 10 (pid 1493) returned exit code 1 and signal number 0
[20240916-17:25:23] [INFO ] xrdp channel server for display 10 (pid 1512) exit code 0 and signal number 0
[20240916-17:25:23] [INFO ] cleanup_sockets:
[20240916-17:25:23] [INFO ] Process 1465 has exited
[20240916-17:25:23] [INFO ] ++ terminated session:  username hubert, display :10.0, session_pid 1465, ip ::ffff:192.168.1.61:20749 - socket: 12

Yeah, I really have the old fart pi 2 here, but it's more a useless playing around at the moemnt with it but nevertheless it would be nice if a real xrdp works as with my newer pi systems and I don't have to use the workaround (vnc by commenting out the [Xorg] section).

jk-85 commented 2 months ago

I will try This stated and suggested by matt335672.

jk-85 commented 2 months ago

Yeah, this really works with the pi 2 !!!