Closed InverseDa closed 1 year ago
Problem seems to be here:-
[20230228-13:36:12] [INFO ] Starting X server on display 10: /usr/lib/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20230228-13:36:22] [WARN ] Timed out waiting for X server on display 10 to startup
Can you append the following:-
1) ls -l /usr/lib/Xorg
2) Contents of /home/rdp/.xorgxrdp.10.log
ls -l /usr/lib/Xorg
-rwxr-xr-x 1 root root 2507080 2月 7日 15:58 /usr/lib/Xorg
cat /home/rdp/.xorgxrdp.10.log
[ 158.837]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[ 158.837] Current Operating System: Linux myarch 6.2.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 26 Feb 2023 03:39:23 +0000 x86_64
[ 158.837] Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=84d69013-c894-4f5d-a56e-5aed0e69676f rw rootflags=subvol=@ loglevel=5 nowatchdog intel_iommu=on iommu=pt
[ 158.837]
[ 158.837] Current version of pixman: 0.42.2
[ 158.837] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 158.837] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 158.837] (++) Log file: ".xorgxrdp.10.log", Time: Tue Feb 28 17:13:25 2023
[ 158.837] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[ 158.837] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 158.837] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 158.837] (**) Option "defaultserverlayout" "X11 Server"
[ 158.837] (**) ServerLayout "X11 Server"
[ 158.837] (**) |-->Screen "Screen (xrdpdev)" (0)
[ 158.837] (**) | |-->Monitor "Monitor"
[ 158.837] (**) | |-->Device "Video Card (xrdpdev)"
[ 158.837] (**) | |-->GPUDevice "nvidia"
[ 158.837] (**) | |-->GPUDevice "integrated"
[ 158.837] (**) |-->Input Device "xrdpMouse"
[ 158.837] (**) |-->Input Device "xrdpKeyboard"
[ 158.837] (**) Option "DontVTSwitch" "on"
[ 158.837] (**) Option "AutoAddDevices" "off"
[ 158.837] (**) Not automatically adding devices
[ 158.837] (==) Automatically enabling devices
[ 158.837] (==) Automatically adding GPU devices
[ 158.837] (==) Automatically binding GPU devices
[ 158.837] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 158.837] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 158.837] Entry deleted from font path.
[ 158.837] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 158.837] Entry deleted from font path.
[ 158.837] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 158.837] Entry deleted from font path.
[ 158.837] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 158.837] (**) ModulePath set to "/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[ 158.837] (II) Module ABI versions:
[ 158.837] X.Org ANSI C Emulation: 0.4
[ 158.837] X.Org Video Driver: 25.2
[ 158.837] X.Org XInput driver : 24.4
[ 158.837] X.Org Server Extension : 10.0
[ 158.837] (--) using VT number 2
[ 158.837] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 158.838] (II) xfree86: Adding drm device (/dev/dri/card1) [ 158.838] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1 [ 158.838] (II) xfree86: Adding drm device (/dev/dri/card0) [ 158.838] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0 [ 158.839] (--) PCI:*(0@0:2:0) 8086:9bc4:1d05:1097 rev 5, Mem @ 0xc4000000/16777216, 0xa0000000/268435456, I/O @ 0x00007000/64, BIOS @ 0x????????/131072 [ 158.839] (--) PCI: (1@0:0:0) 10de:1f15:1d05:1097 rev 161, Mem @ 0xc5000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00006000/128, BIOS @ 0x????????/524288 [ 158.839] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) [ 158.839] (II) "glx" will be loaded. This was enabled by default and also specified in the config file. [ 158.839] (II) LoadModule: "dbe" [ 158.839] (II) Module "dbe" already built-in [ 158.839] (II) LoadModule: "ddc" [ 158.839] (II) Module "ddc" already built-in [ 158.839] (II) LoadModule: "extmod" [ 158.839] (II) Module "extmod" already built-in [ 158.839] (II) LoadModule: "glx" [ 158.839] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [ 158.840] (II) Module glx: vendor="X.Org Foundation" [ 158.840] compiled for 1.21.1.7, module version = 1.0.0 [ 158.840] ABI class: X.Org Server Extension, version 10.0 [ 158.840] (II) LoadModule: "int10" [ 158.840] (II) Loading /usr/lib64/xorg/modules/libint10.so [ 158.841] (II) Module int10: vendor="X.Org Foundation" [ 158.841] compiled for 1.21.1.7, module version = 1.0.0 [ 158.841] ABI class: X.Org Video Driver, version 25.2 [ 158.841] (II) LoadModule: "record" [ 158.841] (II) Module "record" already built-in [ 158.841] (II) LoadModule: "vbe" [ 158.841] (II) Loading /usr/lib64/xorg/modules/libint10.so [ 158.841] (II) Module int10: vendor="X.Org Foundation" [ 158.841] compiled for 1.21.1.7, module version = 1.0.0 [ 158.841] ABI class: X.Org Video Driver, version 25.2 [ 158.841] (II) LoadModule: "xorgxrdp" [ 158.841] (II) Loading /usr/lib64/xorg/modules/libxorgxrdp.so [ 158.842] (II) Module XORGXRDP: vendor="X.Org Foundation" [ 158.842] compiled for 1.21.1.7, module version = 0.9.19 [ 158.842] ABI class: X.Org Video Driver, version 25.2 [ 158.842] xorgxrdpSetup: [ 158.842] (II) LoadModule: "fb" [ 158.842] (II) Module "fb" already built-in [ 158.842] (II) LoadModule: "xrdpdev" [ 158.842] (II) Loading /usr/lib64/xorg/modules/drivers/xrdpdev_drv.so [ 158.842] (II) Module XRDPDEV: vendor="X.Org Foundation" [ 158.842] compiled for 1.21.1.7, module version = 0.9.19 [ 158.842] ABI class: X.Org Video Driver, version 25.2 [ 158.842] xrdpdevSetup: [ 158.842] (II) LoadModule: "nvidia" [ 158.842] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so [ 158.842] (II) Module nvidia: vendor="NVIDIA Corporation" [ 158.842] compiled for 1.6.99.901, module version = 1.0.0 [ 158.842] Module class: X.Org Video Driver [ 158.842] (II) LoadModule: "modesetting" [ 158.842] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so [ 158.843] (II) Module modesetting: vendor="X.Org Foundation" [ 158.843] compiled for 1.21.1.7, module version = 1.21.1 [ 158.843] Module class: X.Org Video Driver [ 158.843] ABI class: X.Org Video Driver, version 25.2 [ 158.843] (II) LoadModule: "xrdpmouse" [ 158.843] (II) Loading /usr/lib64/xorg/modules/input/xrdpmouse_drv.so [ 158.843] (II) Module XRDPMOUSE: vendor="X.Org Foundation" [ 158.843] compiled for 1.21.1.7, module version = 0.9.19 [ 158.843] Module class: X.Org XInput Driver [ 158.843] ABI class: X.Org XInput driver, version 24.4 [ 158.843] rdpmousePlug: [ 158.843] (II) LoadModule: "xrdpkeyb" [ 158.843] (II) Loading /usr/lib64/xorg/modules/input/xrdpkeyb_drv.so [ 158.843] (II) Module XRDPKEYB: vendor="X.Org Foundation" [ 158.843] compiled for 1.21.1.7, module version = 0.9.19 [ 158.843] Module class: X.Org XInput Driver [ 158.843] ABI class: X.Org XInput driver, version 24.4 [ 158.843] rdpkeybPlug: [ 158.843] rdpIdentify: [ 158.843] (II) XRDPDEV: driver for xrdp: XRDPDEV [ 158.843] rdpDriverFunc: op 10 [ 158.843] (II) NVIDIA dlloader X Driver 525.89.02 Wed Feb 1 23:14:37 UTC 2023 [ 158.843] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs [ 158.843] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 158.843] (EE) Fatal server error: [ 158.843] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied) [ 158.843] (EE) [ 158.843] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 158.843] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information. [ 158.843] (EE) [ 158.843] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor [ 158.843] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor [ 158.843] (EE) Server terminated with error (1). Closing log file.
Looks a bit like https://github.com/neutrinolabs/xorgxrdp/pull/241
Have a look in /etc/X11/xrdp/xorg.conf and see if these entries are present:-
Option "AutoAddGPU" "off"
GPUDevice ""
If they aren't add them. The first one goes in the "ServerFlags" section and the second one goes in the "Screen" section. See https://github.com/neutrinolabs/xorgxrdp/pull/241/files
It works. But still I can't start the gnome desktop. The session closed after I connected to the Xorg.
Here's the /var/log/xrdp.log
:
[20230228-20:32:25] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230228-20:32:25] [INFO ] listening to port 3389 on 0.0.0.0
[20230228-20:32:25] [INFO ] xrdp_listen_pp done
[20230228-20:32:27] [INFO ] starting xrdp with pid 711
[20230228-20:32:27] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230228-20:32:27] [INFO ] listening to port 3389 on 0.0.0.0
[20230228-20:32:27] [INFO ] xrdp_listen_pp done
[20230228-20:33:16] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:127.0.0.1 port 44234
[20230228-20:33:16] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230228-20:33:16] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230228-20:33:16] [INFO ] Security protocol: configured [SSL|RDP], requested [SSL|HYBRID|HYBRID_EX|RDP], selected [SSL]
[20230228-20:33:23] [INFO ] Connected client computer name: idsmac
[20230228-20:33:23] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[20230228-20:33:23] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[20230228-20:33:24] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x00000000]
[20230228-20:33:24] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [us] options []
[20230228-20:33:24] [INFO ] TLS connection established from ::ffff:127.0.0.1 port 44234: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
[20230228-20:33:24] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[20230228-20:33:24] [INFO ] xrdp_process_offscreen_bmpcache: support level 0 cache size 0 MB cache entries 0
[20230228-20:33:24] [INFO ] xrdp_caps_process_codecs: nscodec, codec id 1, properties len 3
[20230228-20:33:24] [WARN ] Cannot find keymap file /etc/xrdp/km-00000000.ini
[20230228-20:33:24] [WARN ] Cannot find keymap file /etc/xrdp/km-00000000.ini
[20230228-20:33:24] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini
[20230228-20:33:24] [WARN ] local keymap file for 0x00000000 found and doesn't match built in keymap, using local keymap file
[20230228-20:33:24] [INFO ] connecting to sesman on 127.0.0.1:3350
[20230228-20:33:24] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20230228-20:33:24] [INFO ] sesman connect ok
[20230228-20:33:24] [INFO ] sending login info to session manager. Please wait...
[20230228-20:33:24] [INFO ] xrdp_wm_log_msg: login successful for user rdp on display 10
[20230228-20:33:24] [INFO ] login successful for user rdp on display 10
[20230228-20:33:24] [INFO ] loaded module 'libxup.so' ok, interface size 10296, version 4
[20230228-20:33:24] [INFO ] started connecting
[20230228-20:33:24] [INFO ] lib_mod_connect: connecting via UNIX socket
[20230228-20:33:24] [INFO ] lib_mod_log_peer: xrdp_pid=2155 connected to X11rdp_pid=2164 X11rdp_uid=1001 X11rdp_gid=1001 client_ip=::ffff:127.0.0.1 client_port=44234
[20230228-20:33:24] [INFO ] connected ok
[20230228-20:33:28] [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
[20230228-20:33:32] [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
[20230228-20:33:36] [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
[20230228-20:33:40] [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
[20230228-20:33:40] [ERROR] xrdp_mm_chansrv_connect: error in trans_connect chan
[20230228-20:33:40] [ERROR] SSL_shutdown: Failure in SSL library (protocol error?)
[20230228-20:33:40] [ERROR] SSL: error:0A000123:SSL routines::application data after close notify
and /var/log/xrdp-sesman.log
:
[20230228-20:32:25] [INFO ] starting xrdp-sesman with pid 634
[20230228-20:33:24] [INFO ] Socket 12: AF_INET6 connection received from ::1 port 50998
[20230228-20:33:24] [INFO ] Terminal Server Users group is disabled, allowing authentication
[20230228-20:33:24] [INFO ] ++ created session (access granted): username rdp, ip ::ffff:127.0.0.1:44234 - socket: 12
[20230228-20:33:24] [INFO ] starting Xorg session...
[20230228-20:33:24] [INFO ] Starting session: session_pid 2162, display :10.0, width 1440, height 900, bpp 24, client ip ::ffff:127.0.0.1:44234 - socket: 12, user name rdp
[20230228-20:33:24] [ERROR] sesman_data_in: scp_process_msg failed
[20230228-20:33:24] [INFO ] [session start] (display 10): calling auth_start_session from pid 2162
[20230228-20:33:24] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20230228-20:33:24] [INFO ] Starting X server on display 10: /usr/lib/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20230228-20:33:24] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230228-20:33:24] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230228-20:33:24] [INFO ] Found X server running at /tmp/.X11-unix/X10
[20230228-20:33:24] [INFO ] Session started successfully for user rdp on display 10
[20230228-20:33:24] [INFO ] Session in progress on display 10, waiting until the window manager (pid 2163) exits to end the session
[20230228-20:33:24] [INFO ] Starting the xrdp channel server for display 10
[20230228-20:33:24] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20230228-20:33:24] [WARN ] Window manager (pid 2163, display 10) exited with non-zero exit code 127 and signal 0. This could indicate a window manager config problem
[20230228-20:33:24] [WARN ] Window manager (pid 2163, display 10) exited quickly (0 secs). This could indicate a window manager config problem
[20230228-20:33:24] [INFO ] Calling auth_stop_session and auth_end from pid 2162
[20230228-20:33:24] [INFO ] Terminating X server (pid 2164) on display 10
[20230228-20:33:24] [INFO ] Terminating the xrdp channel server (pid 2169) on display 10
[20230228-20:33:24] [INFO ] X server on display 10 (pid 2164) returned exit code 0 and signal number 0
[20230228-20:33:24] [INFO ] xrdp channel server for display 10 (pid 2169) exit code 0 and signal number 0
[20230228-20:33:24] [INFO ] cleanup_sockets:
[20230228-20:33:24] [INFO ] Process 2162 has exited
[20230228-20:33:24] [INFO ] ++ terminated session: username rdp, display :10.0, session_pid 2162, ip ::ffff:127.0.0.1:44234 - socket: 12
Also, the /home/rdp/.xorgxrdp.10.log
:
[ 64.296]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[ 64.296] Current Operating System: Linux myarch 6.2.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 26 Feb 2023 03:39:23 +0000 x86_64
[ 64.296] Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=84d69013-c894-4f5d-a56e-5aed0e69676f rw rootflags=subvol=@ loglevel=5 nowatchdog intel_iommu=on iommu=pt
[ 64.296]
[ 64.296] Current version of pixman: 0.42.2
[ 64.296] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 64.296] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 64.296] (++) Log file: ".xorgxrdp.10.log", Time: Tue Feb 28 20:33:24 2023
[ 64.296] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[ 64.296] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 64.296] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 64.296] (**) Option "defaultserverlayout" "X11 Server"
[ 64.296] (**) ServerLayout "X11 Server"
[ 64.296] (**) |-->Screen "Screen (xrdpdev)" (0)
[ 64.296] (**) | |-->Monitor "Monitor"
[ 64.296] (**) | |-->Device "Video Card (xrdpdev)"
[ 64.296] (**) |-->Input Device "xrdpMouse"
[ 64.296] (**) |-->Input Device "xrdpKeyboard"
[ 64.296] (**) Option "DontVTSwitch" "on"
[ 64.296] (**) Option "AutoAddDevices" "off"
[ 64.296] (**) Option "AutoAddGPU" "off"
[ 64.296] (**) Not automatically adding devices
[ 64.296] (==) Automatically enabling devices
[ 64.296] (**) Not automatically adding GPU devices
[ 64.296] (==) Automatically binding GPU devices
[ 64.296] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 64.296] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 64.296] Entry deleted from font path.
[ 64.296] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 64.296] Entry deleted from font path.
[ 64.296] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 64.296] Entry deleted from font path.
[ 64.296] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 64.296] (**) ModulePath set to "/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[ 64.296] (II) Module ABI versions:
[ 64.296] X.Org ANSI C Emulation: 0.4
[ 64.296] X.Org Video Driver: 25.2
[ 64.296] X.Org XInput driver : 24.4
[ 64.296] X.Org Server Extension : 10.0
[ 64.297] (--) using VT number 2
[ 64.297] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 64.298] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 64.298] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[ 64.298] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 64.298] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 64.299] (--) PCI:*(0@0:2:0) 8086:9bc4:1d05:1097 rev 5, Mem @ 0xc4000000/16777216, 0xa0000000/268435456, I/O @ 0x00007000/64, BIOS @ 0x????????/131072
[ 64.299] (--) PCI: (1@0:0:0) 10de:1f15:1d05:1097 rev 161, Mem @ 0xc5000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00006000/128, BIOS @ 0x????????/524288
[ 64.299] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 64.299] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 64.299] (II) LoadModule: "dbe"
[ 64.299] (II) Module "dbe" already built-in
[ 64.299] (II) LoadModule: "ddc"
[ 64.299] (II) Module "ddc" already built-in
[ 64.299] (II) LoadModule: "extmod"
[ 64.299] (II) Module "extmod" already built-in
[ 64.299] (II) LoadModule: "glx"
[ 64.299] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 64.300] (II) Module glx: vendor="X.Org Foundation"
[ 64.300] compiled for 1.21.1.7, module version = 1.0.0
[ 64.300] ABI class: X.Org Server Extension, version 10.0
[ 64.300] (II) LoadModule: "int10"
[ 64.300] (II) Loading /usr/lib64/xorg/modules/libint10.so
[ 64.301] (II) Module int10: vendor="X.Org Foundation"
[ 64.301] compiled for 1.21.1.7, module version = 1.0.0
[ 64.301] ABI class: X.Org Video Driver, version 25.2
[ 64.301] (II) LoadModule: "record"
[ 64.301] (II) Module "record" already built-in
[ 64.301] (II) LoadModule: "vbe"
[ 64.301] (II) Loading /usr/lib64/xorg/modules/libint10.so
[ 64.301] (II) Module int10: vendor="X.Org Foundation"
[ 64.301] compiled for 1.21.1.7, module version = 1.0.0
[ 64.301] ABI class: X.Org Video Driver, version 25.2
[ 64.301] (II) LoadModule: "xorgxrdp"
[ 64.301] (II) Loading /usr/lib64/xorg/modules/libxorgxrdp.so
[ 64.302] (II) Module XORGXRDP: vendor="X.Org Foundation"
[ 64.302] compiled for 1.21.1.7, module version = 0.9.19
[ 64.302] ABI class: X.Org Video Driver, version 25.2
[ 64.302] xorgxrdpSetup:
[ 64.302] (II) LoadModule: "fb"
[ 64.302] (II) Module "fb" already built-in
[ 64.302] (II) LoadModule: "xrdpdev"
[ 64.302] (II) Loading /usr/lib64/xorg/modules/drivers/xrdpdev_drv.so
[ 64.302] (II) Module XRDPDEV: vendor="X.Org Foundation"
[ 64.302] compiled for 1.21.1.7, module version = 0.9.19
[ 64.302] ABI class: X.Org Video Driver, version 25.2
[ 64.302] xrdpdevSetup:
[ 64.302] (II) LoadModule: "xrdpmouse"
[ 64.302] (II) Loading /usr/lib64/xorg/modules/input/xrdpmouse_drv.so
[ 64.303] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[ 64.303] compiled for 1.21.1.7, module version = 0.9.19
[ 64.303] Module class: X.Org XInput Driver
[ 64.303] ABI class: X.Org XInput driver, version 24.4
[ 64.303] rdpmousePlug:
[ 64.303] (II) LoadModule: "xrdpkeyb"
[ 64.303] (II) Loading /usr/lib64/xorg/modules/input/xrdpkeyb_drv.so
[ 64.303] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[ 64.303] compiled for 1.21.1.7, module version = 0.9.19
[ 64.303] Module class: X.Org XInput Driver
[ 64.303] ABI class: X.Org XInput driver, version 24.4
[ 64.303] rdpkeybPlug:
[ 64.303] rdpIdentify:
[ 64.303] (II) XRDPDEV: driver for xrdp: XRDPDEV
[ 64.303] rdpDriverFunc: op 10
[ 64.303] (WW) Falling back to old probe method for XRDPDEV
[ 64.303] rdpProbe:
[ 64.303] (II) Loading sub module "fb"
[ 64.303] (II) LoadModule: "fb"
[ 64.303] (II) Module "fb" already built-in
[ 64.303] (II) XRDPDEV(0): using default device
[ 64.303] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 64.303] rdpPreInit:
[ 64.303] (**) XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[ 64.303] (==) XRDPDEV(0): RGB weight 888
[ 64.303] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 64.303] (==) XRDPDEV(0): Default visual is TrueColor
[ 64.303] (==) XRDPDEV(0): DPI set to (96, 96)
[ 64.303] (II) XRDPDEV(0): mode "640x480" ok
[ 64.303] (II) XRDPDEV(0): mode "800x600" ok
[ 64.303] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[ 64.303] (**) XRDPDEV(0): Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[ 64.303] (II) XRDPDEV(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 64.303] rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
[ 64.303] rdpScreenInit: pfbMemory bytes 1920000
[ 64.303] rdpScreenInit: pfbMemory 0x7eff0af88010
[ 64.303] rdpSimdInit: assigning yuv functions
[ 64.303] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000a0652 bx 0x05100800 cx 0x7ffafbff dx 0xbfebfbff
[ 64.303] rdpSimdInit: sse2 amd64 yuv functions assigned
[ 64.303] (==) XRDPDEV(0): Backing store enabled
[ 64.303] rdpClientConInit: disconnect idle session after [0] sec
[ 64.303] rdpClientConInit: kill disconnected [0] timeout [0] sec
[ 64.303] rdpClientConInit: do_touchpad_scroll_hack [0]
[ 64.303] rdpXvInit: depth 24
[ 64.303] rdpScreenInit: out
[ 64.303] (II) Initializing extension Generic Event Extension
[ 64.303] (II) Initializing extension SHAPE
[ 64.303] (II) Initializing extension MIT-SHM
[ 64.303] (II) Initializing extension XInputExtension
[ 64.303] (II) Initializing extension XTEST
[ 64.303] (II) Initializing extension BIG-REQUESTS
[ 64.303] (II) Initializing extension SYNC
[ 64.303] (II) Initializing extension XKEYBOARD
[ 64.303] (II) Initializing extension XC-MISC
[ 64.303] (II) Initializing extension SECURITY
[ 64.303] (II) Initializing extension XFIXES
[ 64.304] (II) Initializing extension RENDER
[ 64.304] (II) Initializing extension RANDR
[ 64.304] (II) Initializing extension COMPOSITE
[ 64.304] (II) Initializing extension DAMAGE
[ 64.304] (II) Initializing extension MIT-SCREEN-SAVER
[ 64.304] (II) Initializing extension DOUBLE-BUFFER
[ 64.304] (II) Initializing extension RECORD
[ 64.304] (II) Initializing extension DPMS
[ 64.304] (II) Initializing extension Present
[ 64.304] (II) Initializing extension DRI3
[ 64.304] (II) Initializing extension X-Resource
[ 64.304] (II) Initializing extension XVideo
[ 64.304] (II) Initializing extension XVideo-MotionCompensation
[ 64.304] (II) Initializing extension GLX
[ 64.304] (II) AIGLX: Screen 0 is not DRI2 capable
[ 64.318] (II) IGLX: Loaded and initialized swrast
[ 64.318] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 64.318] (II) Initializing extension XFree86-VidModeExtension
[ 64.318] (II) Initializing extension XFree86-DGA
[ 64.318] (II) Initializing extension XFree86-DRI
[ 64.318] (II) Initializing extension DRI2
[ 64.318] rdpCreateScreenResources:
[ 64.348] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[ 64.348] (**) Option "CorePointer"
[ 64.348] (**) xrdpMouse: always reports core events
[ 64.348] rdpmousePreInit: drv 0x55c1271667d0 info 0x55c1276b1050, flags 0x0
[ 64.348] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[ 64.348] rdpmouseControl: what 0
[ 64.348] rdpmouseDeviceInit:
[ 64.348] rdpmouseCtrl:
[ 64.348] rdpRegisterInputCallback: type 1 proc 0x7eff0c3fd2c0
[ 64.348] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[ 64.348] (**) xrdpMouse: (accel) acceleration profile 0
[ 64.348] (**) xrdpMouse: (accel) acceleration factor: 2.000
[ 64.348] (**) xrdpMouse: (accel) acceleration threshold: 4
[ 64.348] rdpmouseControl: what 1
[ 64.348] rdpmouseDeviceOn:
[ 64.348] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[ 64.348] (**) Option "CoreKeyboard"
[ 64.348] (**) xrdpKeyboard: always reports core events
[ 64.348] rdpkeybPreInit: drv 0x55c127162430 info 0x55c1276b4160, flags 0x0
[ 64.348] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[ 64.348] rdpkeybControl: what 0
[ 64.348] rdpkeybDeviceInit:
[ 64.354] rdpkeybChangeKeyboardControl:
[ 64.354] rdpkeybChangeKeyboardControl: autoRepeat on
[ 64.354] rdpRegisterInputCallback: type 0 proc 0x7eff0b15e920
[ 64.354] rdpkeybControl: what 1
[ 64.354] rdpkeybDeviceOn:
[ 64.363] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 64.363] (II) AutoAddDevices is off - not adding device.
[ 64.363] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
[ 64.363] (II) AutoAddDevices is off - not adding device.
[ 64.364] (II) config/udev: Adding input device Video Bus (/dev/input/event12)
[ 64.364] (II) AutoAddDevices is off - not adding device.
[ 64.364] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 64.364] (II) AutoAddDevices is off - not adding device.
[ 64.364] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[ 64.364] (II) AutoAddDevices is off - not adding device.
[ 64.364] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[ 64.364] (II) AutoAddDevices is off - not adding device.
[ 64.364] (II) config/udev: Adding drm device (/dev/dri/card1)
[ 64.364] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 64.364] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[ 64.364] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event15)
[ 64.364] (II) AutoAddDevices is off - not adding device.
[ 64.365] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event16)
[ 64.365] (II) AutoAddDevices is off - not adding device.
[ 64.365] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event17)
[ 64.365] (II) AutoAddDevices is off - not adding device.
[ 64.365] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event18)
[ 64.365] (II) AutoAddDevices is off - not adding device.
[ 64.365] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 64.365] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 64.365] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 64.365] (II) config/udev: Adding input device Logitech G502 HERO Gaming Mouse (/dev/input/event9)
[ 64.365] (II) AutoAddDevices is off - not adding device.
[ 64.365] (II) config/udev: Adding input device Logitech G502 HERO Gaming Mouse (/dev/input/mouse1)
[ 64.365] (II) AutoAddDevices is off - not adding device.
[ 64.366] (II) config/udev: Adding input device Logitech G502 HERO Gaming Mouse Keyboard (/dev/input/event10)
[ 64.366] (II) AutoAddDevices is off - not adding device.
[ 64.366] (II) config/udev: Adding input device HD Webcam: HD Webcam (/dev/input/event14)
[ 64.366] (II) AutoAddDevices is off - not adding device.
[ 64.366] (II) config/udev: Adding input device CX 2.4G Wireless Receiver (/dev/input/event5)
[ 64.366] (II) AutoAddDevices is off - not adding device.
[ 64.367] (II) config/udev: Adding input device CX 2.4G Wireless Receiver Mouse (/dev/input/event6)
[ 64.367] (II) AutoAddDevices is off - not adding device.
[ 64.367] (II) config/udev: Adding input device CX 2.4G Wireless Receiver Mouse (/dev/input/mouse0)
[ 64.367] (II) AutoAddDevices is off - not adding device.
[ 64.367] (II) config/udev: Adding input device CX 2.4G Wireless Receiver (/dev/input/event7)
[ 64.367] (II) AutoAddDevices is off - not adding device.
[ 64.367] (II) config/udev: Adding input device CX 2.4G Wireless Receiver Keyboard (/dev/input/event8)
[ 64.367] (II) AutoAddDevices is off - not adding device.
[ 64.368] (II) config/udev: Adding input device UNIW0001:00 093A:0255 Mouse (/dev/input/event19)
[ 64.368] (II) AutoAddDevices is off - not adding device.
[ 64.368] (II) config/udev: Adding input device UNIW0001:00 093A:0255 Mouse (/dev/input/mouse2)
[ 64.368] (II) AutoAddDevices is off - not adding device.
[ 64.368] (II) config/udev: Adding input device UNIW0001:00 093A:0255 Touchpad (/dev/input/event20)
[ 64.368] (II) AutoAddDevices is off - not adding device.
[ 64.368] (II) config/udev: Adding input device UNIW0001:00 093A:0255 Touchpad (/dev/input/mouse3)
[ 64.368] (II) AutoAddDevices is off - not adding device.
[ 64.368] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event21)
[ 64.368] (II) AutoAddDevices is off - not adding device.
[ 64.369] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event22)
[ 64.369] (II) AutoAddDevices is off - not adding device.
[ 64.369] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event23)
[ 64.369] (II) AutoAddDevices is off - not adding device.
[ 64.369] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event24)
[ 64.369] (II) AutoAddDevices is off - not adding device.
[ 64.369] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event25)
[ 64.369] (II) AutoAddDevices is off - not adding device.
[ 64.369] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[ 64.369] (II) AutoAddDevices is off - not adding device.
[ 64.369] (II) config/udev: Adding input device PC Speaker (/dev/input/event13)
[ 64.369] (II) AutoAddDevices is off - not adding device.
[ 64.372] rdpDeferredRandR:
[ 64.372] rdpResizeSession: width 1024 height 768
[ 64.372] calling RRScreenSizeSet
[ 64.372] rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
[ 64.372] rdpRRGetInfo:
[ 64.372] screen resized to 1024x768
[ 64.373] RRScreenSizeSet ok 1
[ 64.373] rdpResizeSession: width 1440 height 900
[ 64.373] calling RRScreenSizeSet
[ 64.373] rdpRRScreenSetSize: width 1440 height 900 mmWidth 381 mmHeight 238
[ 64.373] rdpRRGetInfo:
[ 64.373] screen resized to 1440x900
[ 64.373] RRScreenSizeSet ok 1
[ 64.391] rdpClientConGotConnection:
[ 64.391] rdpClientConGotConnection: g_sck_accept ok new_sck 9
[ 64.391] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[ 64.391] rdpAddClientConToDev: adding first clientCon 0x55c12772d520
[ 64.391] rdpClientConProcessMsgVersion: version 0 0 0 1
[ 64.392] rdpClientConProcessScreenSizeMsg: set width 1440 height 900 bpp 32
[ 64.392] rdpClientConAllocateSharedMemory: shmemid 17 shmemptr 0x7efefe21b000 bytes 5184000
[ 64.392] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1440 cy 900
[ 64.455] rdpInDeferredRepeatCallback:
[ 64.455] rdpkeybChangeKeyboardControl:
[ 64.455] rdpkeybChangeKeyboardControl: autoRepeat off
[ 64.574] rdpmouseControl: what 2
[ 64.574] rdpmouseDeviceOff:
[ 64.574] rdpkeybControl: what 2
[ 64.574] rdpkeybDeviceOff:
[ 64.574] xorgxrdpDamageDestroy:
[ 64.575] rdpkeybControl: what 3
[ 64.575] rdpkeybUnInit: drv 0x55c127162430 info 0x55c1276b4160, flags 0x0
[ 64.575] rdpUnregisterInputCallback: proc 0x7eff0b15e920
[ 64.575] rdpmouseControl: what 3
[ 64.575] rdpmouseUnInit: drv 0x55c1271667d0 info 0x55c1276b1050, flags 0x0
[ 64.575] rdpUnregisterInputCallback: proc 0x7eff0c3fd2c0
[ 64.575] rdpCloseScreen:
[ 64.575] xorgxrdpDownDown:
[ 64.575] xorgxrdpDownDown: 1
[ 64.575] rdpClientConDeinit:
[ 64.575] rdpClientConDeinit: disconnecting clientCon
[ 64.575] rdpClientConDisconnect:
[ 64.575] rdpRemoveClientConFromDev: removing clientCon 0x55c12772d520
[ 64.575] rdpClientConDeinit: deleting file /tmp/.xrdp/xrdp_display_10
[ 64.575] rdpClientConDeinit: deleting file /tmp/.xrdp/xrdp_disconnect_display_10
[ 64.576] (II) Server terminated successfully (0). Closing log file.
The X server seems OK now, but GNOME is exiting very quickly:-
[20230228-20:33:24] [INFO ] Starting the default window manager on display 10: /etc/xrdp/startwm.sh
[20230228-20:33:24] [WARN ] Window manager (pid 2163, display 10) exited with non-zero exit code 127 and signal 0. This could indicate a window manager config problem
[20230228-20:33:24] [WARN ] Window manager (pid 2163, display 10) exited quickly (0 secs). This could indicate a window manager config problem
The most common reason is that you're logged in to the console as the same user (rdp
). This won't work - see this FAQ.
Check there are no processes running as rdp
and try again. If GNOME still isn't starting you can get a system log for the last two minutes with sudo journalctl -S -2m
. That might contain some useful info.
Hi there! Recently I have a need for windows OS to remote Arch Linux gnome desktop. But there are some troubles.
After installed
xrdp
,xorgxrdp
andpulseaudio-module-xrdp
. I start thexrdp.service
andxrdp-sesman.service
. Then I try to remote Arch Linux Gnome Desktop. After I login via Xorg, It seems no any responses. Stucking in the blue screen.Here's my
/var/log/xrdp.log
:/var/log/xrdp-sesman.log
:Here's my configuration of xrdp and xrdp-sesman:
/etc/xrdp/xrdp.ini
/etc/xrdp/sesman.ini