You are not logged in.

#1 2024-09-08 14:48:51

darionis
Member
Registered: 2017-03-19
Posts: 5

[SOLVED] xrdp - Xorg fails to start

Hello,

I am trying to setup xrdp, but i get the error

[DEBUG] Calling exec (excutable: /usr/lib/Xorg, arguments: /usr/lib/Xorg :10 -auth .Xauthority -config /etc/X11/xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log)
...
[INFO ] xrdp_wm_log_msg: Can't create session for user dario - X server could not be started

I have xfce that runs fine, but X fails to start when connecting from remote machine. This log file ".xorgxrdp.10.log" says something about drivers not available and no screens found (at the end). What drivers? Is there anything I could try?

[  2687.593] 
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[  2687.593] Current Operating System: Linux sagan 6.10.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000 x86_64
[  2687.593] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e2ece0ce-023b-4541-a85d-20d18b0a0d74 rw loglevel=3 quiet
[  2687.593]  
[  2687.593] Current version of pixman: 0.43.4
[  2687.593] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2687.593] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2687.593] (++) Log file: ".xorgxrdp.10.log", Time: Sun Sep  8 16:33:26 2024
[  2687.594] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[  2687.594] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2687.594] (==) ServerLayout "X11 Server"
[  2687.594] (**) |-->Screen "Screen (xrdpdev)" (0)
[  2687.594] (**) |   |-->Monitor "Monitor"
[  2687.594] (**) |   |-->Device "Video Card (xrdpdev)"
[  2687.594] (**) |-->Input Device "xrdpMouse"
[  2687.594] (**) |-->Input Device "xrdpKeyboard"
[  2687.594] (**) Option "DontVTSwitch" "on"
[  2687.594] (**) Option "AutoAddDevices" "off"
[  2687.594] (**) Allowing byte-swapped clients
[  2687.594] (**) Not automatically adding devices
[  2687.594] (==) Automatically enabling devices
[  2687.594] (==) Automatically adding GPU devices
[  2687.594] (==) Automatically binding GPU devices
[  2687.594] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2687.594] (WW) The directory "/usr/share/fonts/misc" does not exist.
[  2687.594] 	Entry deleted from font path.
[  2687.594] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  2687.594] 	Entry deleted from font path.
[  2687.594] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  2687.594] 	Entry deleted from font path.
[  2687.594] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[  2687.594] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2687.594] (II) Module ABI versions:
[  2687.594] 	X.Org ANSI C Emulation: 0.4
[  2687.594] 	X.Org Video Driver: 25.2
[  2687.594] 	X.Org XInput driver : 24.4
[  2687.594] 	X.Org Server Extension : 10.0
[  2687.596] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_311
[  2687.598] (II) xfree86: Adding drm device (/dev/dri/card2)
[  2687.598] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card2
[  2687.598] (EE) systemd-logind: failed to take device /dev/dri/card2: Operation not permitted
[  2687.599] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2687.599] (II) Platform probe for /sys/devices/pci0000:00/0000:00:1c.0/0000:01:00.0/drm/card1
[  2687.600] (EE) systemd-logind: failed to take device /dev/dri/card1: Operation not permitted
[  2687.979] (--) PCI:*(0@0:2:0) 8086:5916:1043:15a0 rev 2, Mem @ 0xed000000/16777216, 0xc0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[  2687.979] (--) PCI: (1@0:0:0) 10de:134d:1043:12ee rev 162, Mem @ 0xee000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  2687.979] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2687.979] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  2687.979] (II) LoadModule: "dbe"
[  2687.980] (II) Module "dbe" already built-in
[  2687.980] (II) LoadModule: "ddc"
[  2687.980] (II) Module "ddc" already built-in
[  2687.980] (II) LoadModule: "extmod"
[  2687.980] (II) Module "extmod" already built-in
[  2687.980] (II) LoadModule: "glx"
[  2687.980] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2687.981] (II) Module glx: vendor="X.Org Foundation"
[  2687.981] 	compiled for 1.21.1.13, module version = 1.0.0
[  2687.981] 	ABI class: X.Org Server Extension, version 10.0
[  2687.981] (II) LoadModule: "int10"
[  2687.981] (II) Loading /usr/lib/xorg/modules/libint10.so
[  2687.981] (II) Module int10: vendor="X.Org Foundation"
[  2687.981] 	compiled for 1.21.1.13, module version = 1.0.0
[  2687.981] 	ABI class: X.Org Video Driver, version 25.2
[  2687.981] (II) LoadModule: "record"
[  2687.981] (II) Module "record" already built-in
[  2687.981] (II) LoadModule: "vbe"
[  2687.981] (II) Loading /usr/lib/xorg/modules/libint10.so
[  2687.981] (II) Module int10: vendor="X.Org Foundation"
[  2687.981] 	compiled for 1.21.1.13, module version = 1.0.0
[  2687.981] 	ABI class: X.Org Video Driver, version 25.2
[  2687.981] (II) LoadModule: "xorgxrdp"
[  2687.981] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[  2687.981] (II) Module XORGXRDP: vendor="X.Org Foundation"
[  2687.981] 	compiled for 1.20.7, module version = 0.2.12
[  2687.981] 	ABI class: X.Org Video Driver, version 24.1
[  2687.981] (EE) xorgxrdp: module ABI major version (24) doesn't match the server's version (25)
[  2687.981] (EE) Failed to load module "xorgxrdp" (module requirement mismatch, 0)
[  2687.981] (II) LoadModule: "fb"
[  2687.981] (II) Module "fb" already built-in
[  2687.981] (II) LoadModule: "xrdpdev"
[  2687.981] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[  2687.982] (II) Module XRDPDEV: vendor="X.Org Foundation"
[  2687.982] 	compiled for 1.20.7, module version = 0.2.12
[  2687.982] 	ABI class: X.Org Video Driver, version 24.1
[  2687.982] (EE) xrdpdev: module ABI major version (24) doesn't match the server's version (25)
[  2687.982] (EE) Failed to load module "xrdpdev" (module requirement mismatch, 0)
[  2687.982] (II) LoadModule: "xrdpmouse"
[  2687.982] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[  2687.982] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[  2687.982] 	compiled for 1.20.7, module version = 0.2.12
[  2687.982] 	Module class: X.Org XInput Driver
[  2687.982] 	ABI class: X.Org XInput driver, version 24.1
[  2687.982] rdpmousePlug:
[  2687.982] (II) LoadModule: "xrdpkeyb"
[  2687.982] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[  2687.982] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[  2687.982] 	compiled for 1.20.7, module version = 0.2.12
[  2687.982] 	Module class: X.Org XInput Driver
[  2687.982] 	ABI class: X.Org XInput driver, version 24.1
[  2687.982] rdpkeybPlug:
[  2687.982] (EE) No drivers available.
[  2687.982] (EE) 
Fatal server error:
[  2687.982] (EE) no screens found(EE) 
[  2687.982] (EE) 
Please consult the The X.Org Foundation support 
[  2687.983] (EE) Server terminated with error (1). Closing log file.

Last edited by darionis (2024-09-08 15:46:07)

Offline

#2 2024-09-08 15:21:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] xrdp - Xorg fails to start

The relevant error is this

(EE) xrdpdev: module ABI major version (24) doesn't match the server's version (25)

Typically that is due to the xorg and xrdp packages being out of sync (aka partial upgrade).  What versions of each package do you have installed?  A potential workaround is to add the "-ignoreABI" flag for Xorg, though it'd be better to get the proper package versions.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-09-08 15:47:34

darionis
Member
Registered: 2017-03-19
Posts: 5

Re: [SOLVED] xrdp - Xorg fails to start

Thanks Trilby, it turnd out I had to reinstall "xorgxrdp", that is actualy drivers that were missing. Works great now.

Offline

#4 2024-09-08 16:46:14

dakota
Member
Registered: 2016-05-20
Posts: 362

Re: [SOLVED] xrdp - Xorg fails to start

Or, perhaps reinstalling xorgxrdp allowed the system to fully upgrade, which in turn cleared the error that Trilby noted and allowed the drivers to load?


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

Board footer

Powered by FluxBB