You are not logged in.

#1 2026-03-25 01:43:10

reiikz
Member
Registered: 2025-11-01
Posts: 6
Website

XRDP black screen. [Solved]

[Look at the latest reply for the solution]

I've been trying to get xrdp to work I've tried any combination of settings and AUR packages.
Sometimes I'm able to launch I3 and I can use some muscle memory to open apps and even exit the session, but in all of my attempts I see a black screen.
There's never a display output.

My machine is has a GTX 1060 and I'm using legacy drivers from the AUR.

Around mid 2025 xrdp worked out of the box from the AUR.
Then some upstream changes relating to displays happened in the X display server that forced me to retain packages due to a bug.
xrdp hasn't worked for me since.

I'm attaching log files in case you have any insigt that might help me, looking at them I haven't been able to spot what the actual problem is.

I need xrdp to work with hardware acceleration as I use it for remote game development, mainly Blender and Unity.

The following logs were collected using the xorgxrdp-nvidia aur package
X server logs:

[   100.815] 
X.Org X Server 1.21.1.21
X Protocol Version 11, Revision 0
[   100.815] Current Operating System: Linux RZ-MAIN 6.19.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 19 Mar 2026 16:33:17 +0000 x86_64
[   100.815] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a866a72e-7321-4f96-be77-602ffd9b5664 rw rootflags=subvol=@root loglevel=3 quiet
[   100.815]  
[   100.815] Current version of pixman: 0.46.4
[   100.815] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   100.815] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   100.815] (++) Log file: ".xorgxrdp.10.log", Time: Tue Mar 24 21:07:33 2026
[   100.815] (++) Using config file: "/etc/X11/xrdp/xorg_nvidia.conf"
[   100.815] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   100.815] (**) Option "defaultserverlayout" "XRDP GPU Server"
[   100.815] (**) ServerLayout "XRDP GPU Server"
[   100.815] (**) |-->Screen "dGPU" (0)
[   100.815] (**) |   |-->Monitor "<default monitor>"
[   100.815] (**) |   |-->Device "dGPU"
[   100.815] (==) No monitor specified for screen "dGPU".
	Using a default monitor configuration.
[   100.815] (**) |-->Input Device "xrdpMouse"
[   100.815] (**) |-->Input Device "xrdpKeyboard"
[   100.815] (**) Option "DontVTSwitch" "on"
[   100.815] (**) Option "AutoAddDevices" "off"
[   100.815] (**) Allowing byte-swapped clients
[   100.815] (**) Not automatically adding devices
[   100.815] (==) Automatically enabling devices
[   100.815] (==) Automatically adding GPU devices
[   100.815] (==) Automatically binding GPU devices
[   100.815] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   100.815] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   100.815] 	Entry deleted from font path.
[   100.815] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[   100.815] 	Entry deleted from font path.
[   100.815] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[   100.815] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   100.815] 	Entry deleted from font path.
[   100.815] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   100.815] 	Entry deleted from font path.
[   100.815] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   100.815] 	Entry deleted from font path.
[   100.815] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   100.815] 	Entry deleted from font path.
[   100.815] (==) FontPath set to:
	
[   100.815] (==) ModulePath set to "/usr/lib/xorg/modules"
[   100.815] (II) Module ABI versions:
[   100.815] 	X.Org ANSI C Emulation: 0.4
[   100.815] 	X.Org Video Driver: 25.2
[   100.815] 	X.Org XInput driver : 24.4
[   100.815] 	X.Org Server Extension : 10.0
[   100.816] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_34
[   100.818] (II) xfree86: Adding drm device (/dev/dri/card2)
[   100.818] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card2
[   100.818] (EE) systemd-logind: failed to take device /dev/dri/card2: Operation not permitted
[   100.818] (II) xfree86: Adding drm device (/dev/dri/card1)
[   100.818] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:09:00.0/drm/card1
[   100.819] (EE) systemd-logind: failed to take device /dev/dri/card1: Operation not permitted
[   100.821] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   100.821] (--) PCI:*(1@0:0:0) 10de:1c02:1458:3724 rev 161, Mem @ 0xfb000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[   100.821] (--) PCI: (9@0:0:0) 1002:1638:1043:8809 rev 200, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfc500000/524288, I/O @ 0x0000d000/256
[   100.821] (II) "glx" will be loaded by default.
[   100.821] (II) LoadModule: "xorgxrdp"
[   100.821] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[   100.822] (II) Module XORGXRDP: vendor="X.Org Foundation"
[   100.822] 	compiled for 1.21.1.21, module version = 0.9.80
[   100.822] 	ABI class: X.Org Video Driver, version 25.2
[   100.822] xorgxrdpSetup:
[   100.822] (II) LoadModule: "glx"
[   100.822] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   100.823] (II) Module glx: vendor="X.Org Foundation"
[   100.823] 	compiled for 1.21.1.21, module version = 1.0.0
[   100.823] 	ABI class: X.Org Server Extension, version 10.0
[   100.823] (II) LoadModule: "nvidia"
[   100.823] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   100.823] (II) Module nvidia: vendor="NVIDIA Corporation"
[   100.823] 	compiled for 1.6.99.901, module version = 1.0.0
[   100.823] 	Module class: X.Org Video Driver
[   100.823] (II) LoadModule: "xrdpmouse"
[   100.823] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[   100.823] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[   100.823] 	compiled for 1.21.1.21, module version = 0.9.80
[   100.823] 	Module class: X.Org XInput Driver
[   100.823] 	ABI class: X.Org XInput driver, version 24.4
[   100.823] rdpmousePlug:
[   100.823] (II) LoadModule: "xrdpkeyb"
[   100.823] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[   100.824] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[   100.824] 	compiled for 1.21.1.21, module version = 0.9.80
[   100.824] 	Module class: X.Org XInput Driver
[   100.824] 	ABI class: X.Org XInput driver, version 24.4
[   100.824] rdpkeybPlug:
[   100.824] xorgxrdpCheckWrap: NVIDIA driver found
[   100.824] (II) NVIDIA dlloader X Driver  580.142  Tue Mar  3 19:02:19 UTC 2026
[   100.824] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   100.824] xorgxrdpDriverFunc:
[   100.824] xorgxrdpPlatformProbe:
[   100.824] (II) Loading sub module "fb"
[   100.824] (II) LoadModule: "fb"
[   100.824] (II) Module "fb" already built-in
[   100.824] (II) Loading sub module "wfb"
[   100.824] (II) LoadModule: "wfb"
[   100.824] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   100.824] (II) Module wfb: vendor="X.Org Foundation"
[   100.824] 	compiled for 1.21.1.21, module version = 1.0.0
[   100.824] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   100.824] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   100.824] xorgxrdpPreInit:
[   100.824] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   100.824] (==) NVIDIA(0): RGB weight 888
[   100.824] (==) NVIDIA(0): Default visual is TrueColor
[   100.824] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   100.824] (II) Applying OutputClass "nvidia" options to /dev/dri/card2
[   100.824] (**) NVIDIA(0): Option "DPI" "96 x 96"
[   100.824] (**) NVIDIA(0): Option "ConnectToAcpid" "false"
[   100.824] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   100.824] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[   100.824] (**) NVIDIA(0): Enabling 2D acceleration
[   100.824] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[   100.824] (**) NVIDIA(0):     mode
[   100.824] (II) Loading sub module "glxserver_nvidia"
[   100.824] (II) LoadModule: "glxserver_nvidia"
[   100.824] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   100.837] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   100.837] 	compiled for 1.6.99.901, module version = 1.0.0
[   100.837] 	Module class: X.Org Server Extension
[   100.837] (II) NVIDIA GLX Module  580.142  Tue Mar  3 19:04:44 UTC 2026
[   100.837] (II) NVIDIA: The X server supports PRIME Render Offload.
[   100.838] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce GTX 1060 3GB (GP106-A) at PCI:1:0:0
[   100.838] (II) NVIDIA(0):     (GPU-0)
[   100.838] (--) NVIDIA(0): Memory: 3145728 kBytes
[   100.838] (--) NVIDIA(0): VideoBIOS: 86.06.3c.00.8e
[   100.838] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   100.838] (II) NVIDIA(0): Validated MetaModes:
[   100.838] (II) NVIDIA(0):     "NULL"
[   100.838] (**) NVIDIA(0): Virtual screen size configured to be 1920 x 1080
[   100.838] (**) NVIDIA(0): DPI set to (96, 96); computed from "DPI" X config option
[   100.838] xorgxrdpScreenInit:
[   100.838] (WW) NVIDIA: Failed to bind sideband socket to
[   100.838] (WW) NVIDIA:     '/var/run/nvidia-xdriver-d95afade' Permission denied
[   100.838] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[   100.838] (II) NVIDIA:     access.
[   100.845] (II) NVIDIA(GPU-0): Implicit sync not fully supported.
[   100.855] (II) NVIDIA(0): Setting mode "NULL"
[   100.857] (==) NVIDIA(0): Disabling shared memory pixmaps
[   100.857] (==) NVIDIA(0): Backing store enabled
[   100.857] (==) NVIDIA(0): Silken mouse enabled
[   100.857] (==) NVIDIA(0): DPMS enabled
[   100.857] (II) Loading sub module "dri2"
[   100.857] (II) LoadModule: "dri2"
[   100.857] (II) Module "dri2" already built-in
[   100.857] (II) NVIDIA(0): [DRI2] Setup complete
[   100.857] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   100.857] xorgxrdpScreenInit: width 1920 height 1080
[   100.857] rdpClientConInit: disconnect idle session after [0] sec
[   100.857] rdpClientConInit: kill disconnected [0] timeout [0] sec
[   100.857] rdpSimdInit: assigning yuv functions
[   100.857] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x00a50f00 bx 0x00100800 cx 0x7ef8320b dx 0x178bfbff
[   100.857] rdpSimdInit: sse2 amd64 yuv functions assigned
[   100.857] (II) Initializing extension Generic Event Extension
[   100.857] (II) Initializing extension SHAPE
[   100.857] (II) Initializing extension MIT-SHM
[   100.858] (II) Initializing extension XInputExtension
[   100.858] (II) Initializing extension XTEST
[   100.858] (II) Initializing extension BIG-REQUESTS
[   100.858] (II) Initializing extension SYNC
[   100.858] (II) Initializing extension XKEYBOARD
[   100.858] (II) Initializing extension XC-MISC
[   100.858] (II) Initializing extension SECURITY
[   100.858] (II) Initializing extension XFIXES
[   100.858] (II) Initializing extension RENDER
[   100.858] (II) Initializing extension RANDR
[   100.858] (II) Initializing extension COMPOSITE
[   100.858] (II) Initializing extension DAMAGE
[   100.858] (II) Initializing extension MIT-SCREEN-SAVER
[   100.858] (II) Initializing extension DOUBLE-BUFFER
[   100.858] (II) Initializing extension RECORD
[   100.859] (II) Initializing extension DPMS
[   100.859] (II) Initializing extension Present
[   100.859] (II) Initializing extension DRI3
[   100.859] (II) Initializing extension X-Resource
[   100.859] (II) Initializing extension XVideo
[   100.859] (II) Initializing extension XVideo-MotionCompensation
[   100.859] (II) Initializing extension GLX
[   100.859] (II) Initializing extension GLX
[   100.859] (II) Indirect GLX disabled.
[   100.859] (II) GLX: Another vendor is already registered for screen 0
[   100.859] (II) Initializing extension XFree86-VidModeExtension
[   100.859] (II) Initializing extension XFree86-DGA
[   100.859] (II) Initializing extension XFree86-DRI
[   100.859] (II) Initializing extension DRI2
[   100.859] (II) Initializing extension NV-GLX
[   100.859] (II) Initializing extension NV-CONTROL
[   100.859] rdpCreateScreenResources:
[   100.898] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[   100.898] (**) Option "CorePointer"
[   100.898] (**) xrdpMouse: always reports core events
[   100.898] rdpmousePreInit: drv 0x55d1327e5e00 info 0x55d132c759c0, flags 0x0
[   100.898] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[   100.898] rdpmouseControl: what 0
[   100.898] rdpmouseDeviceInit:
[   100.898] rdpmouseCtrl:
[   100.898] rdpRegisterInputCallback: type 1 proc 0x7f2ee3c75370
[   100.898] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[   100.898] (**) xrdpMouse: (accel) acceleration profile 0
[   100.898] (**) xrdpMouse: (accel) acceleration factor: 2.000
[   100.898] (**) xrdpMouse: (accel) acceleration threshold: 4
[   100.898] rdpmouseControl: what 1
[   100.898] rdpmouseDeviceOn:
[   100.898] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[   100.898] (**) Option "CoreKeyboard"
[   100.898] (**) xrdpKeyboard: always reports core events
[   100.898] rdpkeybPreInit: drv 0x55d1327e8720 info 0x55d1327b6690, flags 0x0
[   100.898] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[   100.898] rdpkeybControl: what 0
[   100.898] rdpkeybDeviceInit:
[   100.911] rdpkeybChangeKeyboardControl:
[   100.911] rdpkeybChangeKeyboardControl: autoRepeat on
[   100.911] rdpRegisterInputCallback: type 0 proc 0x7f2ee3c70ca0
[   100.911] rdpkeybControl: what 1
[   100.911] rdpkeybDeviceOn:
[   100.949] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   100.949] (II) AutoAddDevices is off - not adding device.
[   100.949] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   100.949] (II) AutoAddDevices is off - not adding device.
[   100.950] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event11)
[   100.950] (II) AutoAddDevices is off - not adding device.
[   100.951] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event12)
[   100.951] (II) AutoAddDevices is off - not adding device.
[   100.951] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event13)
[   100.951] (II) AutoAddDevices is off - not adding device.
[   100.952] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event14)
[   100.952] (II) AutoAddDevices is off - not adding device.
[   100.952] (II) config/udev: Adding input device Microsoft LifeCam VX-5000: Micr (/dev/input/event20)
[   100.952] (II) AutoAddDevices is off - not adding device.
[   100.953] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=7 (/dev/input/event10)
[   100.953] (II) AutoAddDevices is off - not adding device.
[   100.954] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event9)
[   100.954] (II) AutoAddDevices is off - not adding device.
[   100.955] (II) config/udev: Adding input device   USB Keyboard (/dev/input/event2)
[   100.955] (II) AutoAddDevices is off - not adding device.
[   100.956] (II) config/udev: Adding input device   USB Keyboard System Control (/dev/input/event3)
[   100.956] (II) AutoAddDevices is off - not adding device.
[   100.956] (II) config/udev: Adding input device   USB Keyboard Consumer Control (/dev/input/event4)
[   100.956] (II) AutoAddDevices is off - not adding device.
[   100.957] (II) config/udev: Adding input device 2.4G Mouse (/dev/input/event5)
[   100.957] (II) AutoAddDevices is off - not adding device.
[   100.959] (II) config/udev: Adding input device 2.4G Mouse (/dev/input/event6)
[   100.959] (II) AutoAddDevices is off - not adding device.
[   100.960] (II) config/udev: Adding input device 2.4G Mouse (/dev/input/mouse0)
[   100.960] (II) AutoAddDevices is off - not adding device.
[   100.960] (II) config/udev: Adding input device HD-Audio Generic Rear Mic (/dev/input/event15)
[   100.960] (II) AutoAddDevices is off - not adding device.
[   100.961] (II) config/udev: Adding input device HD-Audio Generic Front Mic (/dev/input/event16)
[   100.961] (II) AutoAddDevices is off - not adding device.
[   100.961] (II) config/udev: Adding input device HD-Audio Generic Line (/dev/input/event17)
[   100.961] (II) AutoAddDevices is off - not adding device.
[   100.962] (II) config/udev: Adding input device HD-Audio Generic Line Out (/dev/input/event18)
[   100.962] (II) AutoAddDevices is off - not adding device.
[   100.962] (II) config/udev: Adding input device HD-Audio Generic Front Headphone (/dev/input/event19)
[   100.962] (II) AutoAddDevices is off - not adding device.
[   100.963] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event8)
[   100.963] (II) AutoAddDevices is off - not adding device.
[   100.963] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[   100.963] (II) AutoAddDevices is off - not adding device.
[   100.971] xorgxrdpDeferredStartup:
[   100.971] xorgxrdpSetupDamage: DamageRegister ok
[   101.011] rdpInDeferredRepeatCallback:
[   101.011] rdpkeybChangeKeyboardControl:
[   101.011] rdpkeybChangeKeyboardControl: autoRepeat off
[   111.814] rdpmouseControl: what 2
[   111.814] rdpmouseDeviceOff:
[   111.814] rdpkeybControl: what 2
[   111.814] rdpkeybDeviceOff:
[   111.815] xorgxrdpDamageDestroy:
[   111.816] rdpkeybControl: what 3
[   111.816] rdpkeybUnInit: drv 0x55d1327e8720 info 0x55d1327b6690, flags 0x0
[   111.816] rdpUnregisterInputCallback: proc 0x7f2ee3c70ca0
[   111.816] rdpmouseControl: what 3
[   111.816] rdpmouseUnInit: drv 0x55d1327e5e00 info 0x55d132c759c0, flags 0x0
[   111.816] rdpUnregisterInputCallback: proc 0x7f2ee3c75370
[   111.816] rdpCloseScreen:
[   111.820] (II) NVIDIA(GPU-0): Deleting GPU-0
[   111.820] xorgxrdpDownDown:
[   111.820] xorgxrdpDownDown: 1
[   111.820] rdpClientConDeinit:
[   111.820] rdpClientConDeinit: deleting file /var/run/xrdp/1000/xrdp_display_10
[   111.820] rdpClientConDeinit: deleting file /var/run/xrdp/1000/xrdp_disconnect_display_10
[   111.820] (II) Server terminated successfully (0). Closing log file.

worthy of note is that when I use the "xrdp" package rather than the xorgxrdp-nvidia the warning
[   100.838] (WW) NVIDIA:     '/var/run/nvidia-xdriver-d95afade' Permission denied
then becomes an error and the path changes, which is a path that exists and as I understand it it's just the graphics card driver which is owned by root:video.
I also get an error relating to not being able to access /dev/tty0 when running the xrdp package.

Sessman log snippet:

[2026-03-24T21:00:39.810-0300] [ERROR] waitforx: Unable to open display :10
[2026-03-24T21:00:39.812-0300] [ERROR] X server failed to start
[2026-03-24T21:00:39.812-0300] [INFO ] Session on display 10 has finished.
[2026-03-24T21:04:27.394-0300] [INFO ] sesman_main_loop: sesman asked to terminate
[2026-03-24T21:04:27.416-0300] [INFO ] starting xrdp-sesman with pid 59603
[2026-03-24T21:04:27.417-0300] [INFO ] Sesman now listening on /var/run/xrdp/sesman.socket
[2026-03-24T21:04:29.890-0300] [INFO ] sesman_main_loop: sesman asked to terminate
[2026-03-24T21:04:29.904-0300] [INFO ] starting xrdp-sesman with pid 59652
[2026-03-24T21:04:29.904-0300] [INFO ] Sesman now listening on /var/run/xrdp/sesman.socket
[2026-03-24T21:04:45.508-0300] [INFO ] Socket 13: connection accepted from AF_UNIX
[2026-03-24T21:04:45.524-0300] [INFO ] Received system login request from xrdp for user: reiikz IP: ::ffff:127.0.0.1
[2026-03-24T21:04:45.550-0300] [INFO ] starting xrdp-sesexec with pid 66973
[2026-03-24T21:04:45.106-0300] [INFO ] TerminalServerUsers group tsusers doesn't exist. Access granted for reiikz
[2026-03-24T21:04:45.107-0300] [INFO ] Access permitted for user: reiikz
[2026-03-24T21:04:45.107-0300] [INFO ] Received sys login status for reiikz : logged in
[2026-03-24T21:04:45.108-0300] [INFO ] Received request from xrdp to create a session for user reiikz
[2026-03-24T21:04:45.127-0300] [INFO ] Starting X server on display 10: /usr/lib/Xorg :10 -auth .Xauthority -config xrdp/xorg_nvidia.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log 
[2026-03-24T21:04:56.129-0300] [ERROR] waitforx: Unable to find any RandR outputs
[2026-03-24T21:04:56.130-0300] [ERROR] An error occurred waiting for the X server
[2026-03-24T21:04:56.140-0300] [INFO ] Session on display 10 has finished.
[2026-03-24T21:05:32.272-0300] [INFO ] sesman_main_loop: sesman asked to terminate
[2026-03-24T21:06:51.527-0300] [INFO ] starting xrdp-sesman with pid 21515
[2026-03-24T21:06:51.528-0300] [INFO ] Sesman now listening on /var/run/xrdp/sesman.socket
[2026-03-24T21:07:33.310-0300] [INFO ] Socket 13: connection accepted from AF_UNIX
[2026-03-24T21:07:33.312-0300] [INFO ] Received system login request from xrdp for user: reiikz IP: ::ffff:127.0.0.1
[2026-03-24T21:07:33.315-0300] [INFO ] starting xrdp-sesexec with pid 25662
[2026-03-24T21:07:33.365-0300] [INFO ] TerminalServerUsers group tsusers doesn't exist. Access granted for reiikz
[2026-03-24T21:07:33.365-0300] [INFO ] Access permitted for user: reiikz
[2026-03-24T21:07:33.366-0300] [INFO ] Received sys login status for reiikz : logged in
[2026-03-24T21:07:33.367-0300] [INFO ] Received request from xrdp to create a session for user reiikz
[2026-03-24T21:07:33.384-0300] [INFO ] Starting X server on display 10: /usr/lib/Xorg :10 -auth .Xauthority -config xrdp/xorg_nvidia.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log 
[2026-03-24T21:07:44.386-0300] [ERROR] waitforx: Unable to find any RandR outputs
[2026-03-24T21:07:44.387-0300] [ERROR] An error occurred waiting for the X server
[2026-03-24T21:07:44.397-0300] [INFO ] Session on display 10 has finished.

XRDP log snippet:

[2026-03-24T21:01:30.326-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:01:32.497-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:01:32.908-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:03:18.649-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:03:20.853-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:03:37.988-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:03:38.825-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:03:49.242-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:04:21.800-0300] [INFO ] TConfig: Loading GFX config file /etc/xrdp/gfx.toml
[2026-03-24T21:04:21.813-0300] [WARN ] Ignoring unlikely physical session size 1000 for height of 700 pixels
[2026-03-24T21:04:21.819-0300] [WARN ] No DPI value is available to find login font
[2026-03-24T21:04:21.825-0300] [WARN ] Using the default_dpi of 96
[2026-03-24T21:04:27.390-0300] [INFO ] Received termination signal, stopping the server accept new connections thread
[2026-03-24T21:04:27.427-0300] [INFO ] address [0.0.0.0] port [3389] mode 1
[2026-03-24T21:04:27.428-0300] [INFO ] listening to port 3389 on 0.0.0.0
[2026-03-24T21:04:27.428-0300] [INFO ] xrdp_listen_pp done
[2026-03-24T21:04:27.429-0300] [CORE ] You are running xrdp as uid=0 gid=0. This is not recommended.
[2026-03-24T21:04:27.430-0300] [INFO ] starting xrdp with pid 59604
[2026-03-24T21:04:29.887-0300] [INFO ] Received termination signal, stopping the server accept new connections thread
[2026-03-24T21:04:29.916-0300] [INFO ] address [0.0.0.0] port [3389] mode 1
[2026-03-24T21:04:29.916-0300] [INFO ] listening to port 3389 on 0.0.0.0
[2026-03-24T21:04:29.917-0300] [INFO ] xrdp_listen_pp done
[2026-03-24T21:04:29.917-0300] [CORE ] You are running xrdp as uid=0 gid=0. This is not recommended.
[2026-03-24T21:04:29.918-0300] [INFO ] starting xrdp with pid 59653
[2026-03-24T21:04:44.940-0300] [INFO ] Socket 14: connection accepted from [::ffff:127.0.0.1]:37322
[2026-03-24T21:04:44.941-0300] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[2026-03-24T21:04:44.942-0300] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[2026-03-24T21:04:44.943-0300] [INFO ] Client requested security types (RDP assumed) : SSL|HYBRID
[2026-03-24T21:04:44.943-0300] [INFO ] Selected TLS security
[2026-03-24T21:04:44.954-0300] [INFO ] Connected client computer name: RZ-MAIN
[2026-03-24T21:04:44.955-0300] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x0000040A]
[2026-03-24T21:04:44.956-0300] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [es] options []
[2026-03-24T21:04:44.956-0300] [INFO ] client supports gfx protocol
[2026-03-24T21:04:44.957-0300] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[2026-03-24T21:04:44.958-0300] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[2026-03-24T21:04:44.958-0300] [INFO ] TLS connection established from [::ffff:127.0.0.1]:37322 TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
[2026-03-24T21:04:44.959-0300] [INFO ] Client supports single-screen resizes by xrdp
[2026-03-24T21:04:44.960-0300] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[2026-03-24T21:04:44.960-0300] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 7864320 bytes cache entries 2000
[2026-03-24T21:04:44.961-0300] [INFO ] xrdp_caps_process_codecs: RemoteFX(76772F12-BD72-4463-AFB3-B73C9C6F7886), codec id [3], properties len [49]
[2026-03-24T21:04:44.961-0300] [WARN ] Client Capability: not enough orders supported by client, client wants off screen bitmap but offscreen bitmaps disabled
[2026-03-24T21:04:44.962-0300] [INFO ] Client Capability: LARGE_POINTER_FLAG_96x96 supported
[2026-03-24T21:04:44.965-0300] [INFO ] Loading keymap file /etc/xrdp/km-0000040a.ini
[2026-03-24T21:04:44.966-0300] [WARN ] local keymap file for 0x0000040a found and doesn't match built in keymap, using local keymap file
[2026-03-24T21:04:44.966-0300] [INFO ] TConfig: Loading GFX config file /etc/xrdp/gfx.toml
[2026-03-24T21:04:44.967-0300] [WARN ] Ignoring unlikely physical session size 1000 for height of 700 pixels
[2026-03-24T21:04:44.967-0300] [WARN ] No DPI value is available to find login font
[2026-03-24T21:04:44.968-0300] [WARN ] Using the default_dpi of 96
[2026-03-24T21:04:44.970-0300] [INFO ] xrdp_egfx_create: error 0 channel_id 1
[2026-03-24T21:04:45.360-0300] [INFO ] xrdp_mm_egfx_caps_advertise:
[2026-03-24T21:04:45.367-0300] [INFO ]   version 0x00080004 flags 0x00000002 (index: 0)
[2026-03-24T21:04:45.373-0300] [INFO ]   version 0x00080105 flags 0x00000012 (index: 1)
[2026-03-24T21:04:45.379-0300] [INFO ]   version 0x000a0002 flags 0x00000002 (index: 2)
[2026-03-24T21:04:45.384-0300] [INFO ]   version 0x000a0200 flags 0x00000002 (index: 3)
[2026-03-24T21:04:45.390-0300] [INFO ]   version 0x000a0301 flags 0x00000000 (index: 4)
[2026-03-24T21:04:45.396-0300] [INFO ]   version 0x000a0400 flags 0x00000002 (index: 5)
[2026-03-24T21:04:45.402-0300] [INFO ]   version 0x000a0502 flags 0x00000002 (index: 6)
[2026-03-24T21:04:45.408-0300] [INFO ]   version 0x000a0600 flags 0x00000002 (index: 7)
[2026-03-24T21:04:45.414-0300] [INFO ]   version 0x000a0601 flags 0x00000002 (index: 8)
[2026-03-24T21:04:45.420-0300] [INFO ] unknown version 0x000a0601
[2026-03-24T21:04:45.425-0300] [INFO ]   version 0x000a0701 flags 0x00000002 (index: 9)
[2026-03-24T21:04:45.431-0300] [INFO ] Codec search order is H264, RFX
[2026-03-24T21:04:45.437-0300] [INFO ] Matched H264 mode
[2026-03-24T21:04:45.442-0300] [INFO ]   replying version 0x000a0701 flags 0x00000002
[2026-03-24T21:04:45.448-0300] [INFO ] xrdp_mm_egfx_caps_advertise: xrdp_egfx_send_capsconfirm error 0 best_index 9
[2026-03-24T21:04:45.454-0300] [INFO ] xrdp_egfx_reset_graphics:
[2026-03-24T21:04:45.460-0300] [INFO ] xrdp_egfx_reset_graphics: width 1316 height 700 monitorcount 1
[2026-03-24T21:04:45.466-0300] [INFO ] xrdp_mm_egfx_caps_advertise: xrdp_egfx_send_reset_graphics error 0 monitorCount 0
[2026-03-24T21:04:45.472-0300] [INFO ] xrdp_mm_egfx_create_surfaces: map surface_id 0 left 0 top 0 width 1316 height 700
[2026-03-24T21:04:45.478-0300] [INFO ] xrdp_encoder_create: starting h264 codec session gfx
[2026-03-24T21:04:45.484-0300] [INFO ] xrdp_encoder_create: using x264 for software encoder
[2026-03-24T21:04:45.490-0300] [INFO ] xrdp_mm_egfx_invalidate_wm_screen:
[2026-03-24T21:04:45.496-0300] [INFO ] xrdp_mm_egfx_caps_advertise: egfx created.
[2026-03-24T21:04:45.502-0300] [WARN ] Ignoring obsolete SCP port value '3350'
[2026-03-24T21:04:45.508-0300] [INFO ] xrdp_wm_log_msg: sesman connect ok
[2026-03-24T21:04:45.514-0300] [INFO ] xrdp_wm_log_msg: Performing login request for reiikz
[2026-03-24T21:04:45.107-0300] [INFO ] xrdp_wm_log_msg: login was successful - creating session
[2026-03-24T21:04:56.140-0300] [INFO ] xrdp_wm_log_msg: Can't create session for user reiikz - X server could not be started
[2026-03-24T21:04:59.290-0300] [INFO ] TConfig: Loading GFX config file /etc/xrdp/gfx.toml
[2026-03-24T21:04:59.291-0300] [WARN ] Ignoring unlikely physical session size 1000 for height of 700 pixels
[2026-03-24T21:04:59.292-0300] [WARN ] No DPI value is available to find login font
[2026-03-24T21:04:59.292-0300] [WARN ] Using the default_dpi of 96
[2026-03-24T21:05:32.253-0300] [INFO ] Received termination signal, stopping the server accept new connections thread
[2026-03-24T21:06:51.540-0300] [INFO ] address [0.0.0.0] port [3389] mode 1
[2026-03-24T21:06:51.540-0300] [INFO ] listening to port 3389 on 0.0.0.0
[2026-03-24T21:06:51.541-0300] [INFO ] xrdp_listen_pp done
[2026-03-24T21:06:51.541-0300] [CORE ] You are running xrdp as uid=0 gid=0. This is not recommended.
[2026-03-24T21:06:51.542-0300] [INFO ] starting xrdp with pid 21516
[2026-03-24T21:07:33.169-0300] [INFO ] Socket 14: connection accepted from [::ffff:127.0.0.1]:58150
[2026-03-24T21:07:33.171-0300] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[2026-03-24T21:07:33.171-0300] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[2026-03-24T21:07:33.172-0300] [INFO ] Client requested security types (RDP assumed) : SSL|HYBRID
[2026-03-24T21:07:33.173-0300] [INFO ] Selected TLS security
[2026-03-24T21:07:33.213-0300] [INFO ] Connected client computer name: RZ-MAIN
[2026-03-24T21:07:33.214-0300] [INFO ] xrdp_load_keyboard_layout: Keyboard information sent by the RDP client, keyboard_type:[0x04], keyboard_subtype:[0x00], keylayout:[0x0000040A]
[2026-03-24T21:07:33.215-0300] [INFO ] xrdp_load_keyboard_layout: model [] variant [] layout [es] options []
[2026-03-24T21:07:33.215-0300] [INFO ] client supports gfx protocol
[2026-03-24T21:07:33.216-0300] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc006 is unknown (ignored)
[2026-03-24T21:07:33.216-0300] [WARN ] Received [MS-RDPBCGR] TS_UD_HEADER type 0xc00a is unknown (ignored)
[2026-03-24T21:07:33.217-0300] [INFO ] TLS connection established from [::ffff:127.0.0.1]:58150 TLSv1.3 with cipher TLS_AES_256_GCM_SHA384
[2026-03-24T21:07:33.218-0300] [INFO ] Client supports single-screen resizes by xrdp
[2026-03-24T21:07:33.218-0300] [INFO ] xrdp_caps_process_pointer: client supports new(color) cursor
[2026-03-24T21:07:33.219-0300] [INFO ] xrdp_process_offscreen_bmpcache: support level 1 cache size 7864320 bytes cache entries 2000
[2026-03-24T21:07:33.220-0300] [INFO ] xrdp_caps_process_codecs: RemoteFX(76772F12-BD72-4463-AFB3-B73C9C6F7886), codec id [3], properties len [49]
[2026-03-24T21:07:33.220-0300] [WARN ] Client Capability: not enough orders supported by client, client wants off screen bitmap but offscreen bitmaps disabled
[2026-03-24T21:07:33.221-0300] [INFO ] Client Capability: LARGE_POINTER_FLAG_96x96 supported
[2026-03-24T21:07:33.223-0300] [INFO ] Loading keymap file /etc/xrdp/km-0000040a.ini
[2026-03-24T21:07:33.224-0300] [WARN ] local keymap file for 0x0000040a found and doesn't match built in keymap, using local keymap file
[2026-03-24T21:07:33.224-0300] [INFO ] TConfig: Loading GFX config file /etc/xrdp/gfx.toml
[2026-03-24T21:07:33.225-0300] [WARN ] Ignoring unlikely physical session size 1000 for height of 700 pixels
[2026-03-24T21:07:33.226-0300] [WARN ] No DPI value is available to find login font
[2026-03-24T21:07:33.226-0300] [WARN ] Using the default_dpi of 96
[2026-03-24T21:07:33.229-0300] [INFO ] xrdp_egfx_create: error 0 channel_id 1
[2026-03-24T21:07:33.294-0300] [INFO ] xrdp_mm_egfx_caps_advertise:
[2026-03-24T21:07:33.294-0300] [INFO ]   version 0x00080004 flags 0x00000002 (index: 0)
[2026-03-24T21:07:33.295-0300] [INFO ]   version 0x00080105 flags 0x00000012 (index: 1)
[2026-03-24T21:07:33.296-0300] [INFO ]   version 0x000a0002 flags 0x00000002 (index: 2)
[2026-03-24T21:07:33.296-0300] [INFO ]   version 0x000a0200 flags 0x00000002 (index: 3)
[2026-03-24T21:07:33.297-0300] [INFO ]   version 0x000a0301 flags 0x00000000 (index: 4)
[2026-03-24T21:07:33.297-0300] [INFO ]   version 0x000a0400 flags 0x00000002 (index: 5)
[2026-03-24T21:07:33.298-0300] [INFO ]   version 0x000a0502 flags 0x00000002 (index: 6)
[2026-03-24T21:07:33.300-0300] [INFO ]   version 0x000a0600 flags 0x00000002 (index: 7)
[2026-03-24T21:07:33.300-0300] [INFO ]   version 0x000a0601 flags 0x00000002 (index: 8)
[2026-03-24T21:07:33.301-0300] [INFO ] unknown version 0x000a0601
[2026-03-24T21:07:33.301-0300] [INFO ]   version 0x000a0701 flags 0x00000002 (index: 9)
[2026-03-24T21:07:33.302-0300] [INFO ] Codec search order is H264, RFX
[2026-03-24T21:07:33.303-0300] [INFO ] Matched H264 mode
[2026-03-24T21:07:33.303-0300] [INFO ]   replying version 0x000a0701 flags 0x00000002
[2026-03-24T21:07:33.304-0300] [INFO ] xrdp_mm_egfx_caps_advertise: xrdp_egfx_send_capsconfirm error 0 best_index 9
[2026-03-24T21:07:33.305-0300] [INFO ] xrdp_egfx_reset_graphics:
[2026-03-24T21:07:33.305-0300] [INFO ] xrdp_egfx_reset_graphics: width 1316 height 700 monitorcount 1
[2026-03-24T21:07:33.306-0300] [INFO ] xrdp_mm_egfx_caps_advertise: xrdp_egfx_send_reset_graphics error 0 monitorCount 0
[2026-03-24T21:07:33.306-0300] [INFO ] xrdp_mm_egfx_create_surfaces: map surface_id 0 left 0 top 0 width 1316 height 700
[2026-03-24T21:07:33.307-0300] [INFO ] xrdp_encoder_create: starting h264 codec session gfx
[2026-03-24T21:07:33.308-0300] [INFO ] xrdp_encoder_create: using x264 for software encoder
[2026-03-24T21:07:33.308-0300] [INFO ] xrdp_mm_egfx_invalidate_wm_screen:
[2026-03-24T21:07:33.309-0300] [INFO ] xrdp_mm_egfx_caps_advertise: egfx created.
[2026-03-24T21:07:33.309-0300] [WARN ] Ignoring obsolete SCP port value '3350'
[2026-03-24T21:07:33.310-0300] [INFO ] xrdp_wm_log_msg: sesman connect ok
[2026-03-24T21:07:33.311-0300] [INFO ] xrdp_wm_log_msg: Performing login request for reiikz
[2026-03-24T21:07:33.366-0300] [INFO ] xrdp_wm_log_msg: login was successful - creating session
[2026-03-24T21:07:44.397-0300] [INFO ] xrdp_wm_log_msg: Can't create session for user reiikz - X server could not be started
[2026-03-24T21:07:47.317-0300] [INFO ] TConfig: Loading GFX config file /etc/xrdp/gfx.toml
[2026-03-24T21:07:47.318-0300] [WARN ] Ignoring unlikely physical session size 1000 for height of 700 pixels
[2026-03-24T21:07:47.318-0300] [WARN ] No DPI value is available to find login font
[2026-03-24T21:07:47.319-0300] [WARN ] Using the default_dpi of 96
[2026-03-24T21:13:51.705-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:15:29.352-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:15:39.416-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:15:59.576-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:21:26.296-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T21:22:08.420-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T22:20:04.763-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T22:20:29.838-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T22:23:31.681-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T22:23:31.817-0300] [ERROR] xrdp_rdp_recv: xrdp_channel_process failed
[2026-03-24T22:23:54.852-0300] [ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[2026-03-24T22:23:54.853-0300] [ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[2026-03-24T22:23:54.854-0300] [ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[2026-03-24T22:23:54.854-0300] [ERROR] xrdp_process_data_in: xrdp_process_loop failed
[2026-03-24T22:23:54.855-0300] [ERROR] SSL_shutdown: I/O error
[2026-03-24T22:23:54.856-0300] [ERROR] SSL: error:80000020:system library::Broken pipe
[2026-03-24T22:23:54.856-0300] [ERROR] SSL: error:80000020:system library::Broken pipe

I see those xrdp_rdp_recv: xrdp_channel_process failed but I don't know what they're about.

_> cat /etc/X11/Xwrapper.config 
allowed_users=anybody

I don't fully uderstand  the Xwrapper.config mentioned in other posts is it like a file X reads or is it soemthing else I'm missing and have to install.
I'm confused because it wasn't there, I created it and it's not in a conf.d directory which makes me think I'm doing something wrong.

lastly my ~/.xinitrc

#!/bin/bash

# Start i3 as the window manager
exec dbus-launch --exit-with-session i3

I also followed the arch section of this guide -> https://gist.github.com/valorad/7fd3e4a … d42a72537d mentioned in a different post and had much the same results, black screen then message: X-server could not be started.

~/.xsession used during said attempt:

#!/bin/sh

prefix="/usr"
exec_prefix="${prefix}"
xrdb="xrdb"
xinitdir="/etc/X11/xinit"
xclock="xclock"
xterm="xterm"
twm="twm"
xmodmap="xmodmap"

userresources="$HOME/.Xresources"
usermodmap="$HOME/.Xmodmap"
sysresources="$xinitdir/.Xresources"
sysmodmap="$xinitdir/.Xmodmap"

# merge in defaults and keymaps

if [ -f "$sysresources" ]; then
    if [ -x /usr/bin/cpp ] ; then
        "$xrdb" -merge "$sysresources"
    else
        "$xrdb" -nocpp -merge "$sysresources"
    fi
fi

if [ -f "$sysmodmap" ]; then
    "$xmodmap" "$sysmodmap"
fi

if [ -f "$userresources" ]; then
    if [ -x /usr/bin/cpp ] ; then
        "$xrdb" -merge "$userresources"
    else
        "$xrdb" -nocpp -merge "$userresources"
    fi
fi

if [ -f "$usermodmap" ]; then
    "$xmodmap" "$usermodmap"
fi

# start some nice programs

if [ -d "$xinitdir"/xinitrc.d ] ; then
	for f in "$xinitdir/xinitrc.d"/?*.sh ; do
		[ -x "$f" ] && . "$f"
	done
	unset f
fi

# "$twm" &
# "$xclock" -geometry 50x50-1+1 &
# "$xterm" -geometry 80x50+494+51 &
# "$xterm" -geometry 80x20+494-0 &
# exec "$xterm" -geometry 80x66+0+0 -name login
# Start Desktop Environment
exec dbus-run-session -- i3

it is also unclear whether I should be using ~/.xinitrc which is what I was using earlier when it worked in mid 2025 or ~/.xsession some places say one thing others a different thing D:

Plz help I've been trying to get my remote desktop back for months T.T I'm out of ideas and I don't wanna go back to debian D:

Last edited by reiikz (2026-03-25 13:21:55)


Balloon extraordinarie

Offline

#2 2026-03-25 08:06:06

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,257

Re: XRDP black screen. [Solved]

Then some upstream changes relating to displays happened in the X display server that forced me to retain packages due to a bug.
xrdp hasn't worked for me since.

So this is a partial update situation?
What packages do you "retain"?

pacman-conf

Does it work if you downgrade xorg-server to older versions ( https://gitlab.archlinux.org/archlinux/ … mmits/main )?

exec dbus-launch --exit-with-session i3

Don't dbus-launch, it breaks session integration - rather see the last link below, second blue note.

Do you use xinit or startx?
Notably for xinit also see the xserverc wiki about preserving the active VT?

Offline

#3 2026-03-25 12:09:12

reiikz
Member
Registered: 2025-11-01
Posts: 6
Website

Re: XRDP black screen. [Solved]

seth wrote:

So this is a partial update situation?

No. Sorry I was trying to give a timeline, I forgot to mention I've since re installed Arch when that bug in X was fixed.

pacman-conf

[options]
RootDir = /
DBPath = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
HookDir = /etc/pacman.d/hooks/
GPGDir = /etc/pacman.d/gnupg/
LogFile = /var/log/pacman.log
DownloadUser = alpm
HoldPkg = pacman
HoldPkg = glibc
Architecture = x86_64
CheckSpace
ParallelDownloads = 5
CleanMethod = KeepInstalled
SigLevel = PackageRequired
SigLevel = PackageTrustedOnly
SigLevel = DatabaseOptional
SigLevel = DatabaseTrustedOnly
LocalFileSigLevel = PackageOptional
LocalFileSigLevel = PackageTrustedOnly
[core]
Usage = All
Server = https://mirror.osbeck.com/archlinux/core/os/x86_64
Server = https://arch.mirror.constant.com/core/os/x86_64
Server = https://mirror.csclub.uwaterloo.ca/archlinux/core/os/x86_64
Server = https://de.arch.mirror.kescher.at/core/os/x86_64
Server = https://at.arch.mirror.kescher.at/core/os/x86_64
Server = https://mirror.telepoint.bg/archlinux/core/os/x86_64
Server = https://fastly.mirror.pkgbuild.com/core/os/x86_64
Server = https://mirror.pseudoform.org/core/os/x86_64
Server = https://berlin.mirror.pkgbuild.com/core/os/x86_64
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/core/os/x86_64
Server = https://losangeles.mirror.pkgbuild.com/core/os/x86_64
Server = https://london.mirror.pkgbuild.com/core/os/x86_64
Server = https://taipei.mirror.pkgbuild.com/core/os/x86_64
Server = https://frankfurt.mirror.pkgbuild.com/core/os/x86_64
Server = https://umea.mirror.pkgbuild.com/core/os/x86_64
Server = https://singapore.mirror.pkgbuild.com/core/os/x86_64
Server = https://mirror.kumi.systems/archlinux/core/os/x86_64
Server = https://geo.mirror.pkgbuild.com/core/os/x86_64
Server = https://mirror.moson.org/arch/core/os/x86_64
Server = https://archlinux.thaller.ws/core/os/x86_64
[extra]
Usage = All
Server = https://mirror.osbeck.com/archlinux/extra/os/x86_64
Server = https://arch.mirror.constant.com/extra/os/x86_64
Server = https://mirror.csclub.uwaterloo.ca/archlinux/extra/os/x86_64
Server = https://de.arch.mirror.kescher.at/extra/os/x86_64
Server = https://at.arch.mirror.kescher.at/extra/os/x86_64
Server = https://mirror.telepoint.bg/archlinux/extra/os/x86_64
Server = https://fastly.mirror.pkgbuild.com/extra/os/x86_64
Server = https://mirror.pseudoform.org/extra/os/x86_64
Server = https://berlin.mirror.pkgbuild.com/extra/os/x86_64
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/extra/os/x86_64
Server = https://losangeles.mirror.pkgbuild.com/extra/os/x86_64
Server = https://london.mirror.pkgbuild.com/extra/os/x86_64
Server = https://taipei.mirror.pkgbuild.com/extra/os/x86_64
Server = https://frankfurt.mirror.pkgbuild.com/extra/os/x86_64
Server = https://umea.mirror.pkgbuild.com/extra/os/x86_64
Server = https://singapore.mirror.pkgbuild.com/extra/os/x86_64
Server = https://mirror.kumi.systems/archlinux/extra/os/x86_64
Server = https://geo.mirror.pkgbuild.com/extra/os/x86_64
Server = https://mirror.moson.org/arch/extra/os/x86_64
Server = https://archlinux.thaller.ws/extra/os/x86_64
[multilib]
Usage = All
Server = https://mirror.osbeck.com/archlinux/multilib/os/x86_64
Server = https://arch.mirror.constant.com/multilib/os/x86_64
Server = https://mirror.csclub.uwaterloo.ca/archlinux/multilib/os/x86_64
Server = https://de.arch.mirror.kescher.at/multilib/os/x86_64
Server = https://at.arch.mirror.kescher.at/multilib/os/x86_64
Server = https://mirror.telepoint.bg/archlinux/multilib/os/x86_64
Server = https://fastly.mirror.pkgbuild.com/multilib/os/x86_64
Server = https://mirror.pseudoform.org/multilib/os/x86_64
Server = https://berlin.mirror.pkgbuild.com/multilib/os/x86_64
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/multilib/os/x86_64
Server = https://losangeles.mirror.pkgbuild.com/multilib/os/x86_64
Server = https://london.mirror.pkgbuild.com/multilib/os/x86_64
Server = https://taipei.mirror.pkgbuild.com/multilib/os/x86_64
Server = https://frankfurt.mirror.pkgbuild.com/multilib/os/x86_64
Server = https://umea.mirror.pkgbuild.com/multilib/os/x86_64
Server = https://singapore.mirror.pkgbuild.com/multilib/os/x86_64
Server = https://mirror.kumi.systems/archlinux/multilib/os/x86_64
Server = https://geo.mirror.pkgbuild.com/multilib/os/x86_64
Server = https://mirror.moson.org/arch/multilib/os/x86_64
Server = https://archlinux.thaller.ws/multilib/os/x86_64

Do you think I should still try downgrading X?

seth wrote:

Do you use xinit or startx?

No idea, It was my understanding that the xrdp package took care of starting X I touched nothing in regard to that.
Except that when you install xorgxrdp-nvidia it tells you to change the settings file location for X in the xrdp-sesman configuration at /etc/xrdp/sesman.ini.
From

[Xorg]
param=xrdp/xorg.conf

to

[Xorg]
param=xrdp/xorg_nvidia.conf

Sesman launches X using command /usr/lib/Xorg it seems as the configuration has param=/usr/lib/Xorg
I followed the instructions, I also tried it without touching anything.
Like I said any number of settings have the same result, either X launches and gracefully quits, or just doesn't launch.

xrdp is supposed to start your session via /etc/xrdp/startwm.sh which I also tried editing so it explicitly runs ~/.xinitrc

The problem isn't that X doesn't start, it does, I see the cursor.
The problem is that I can't see anything besides the cursor, it's all black.
I also can't figure out when it even launches my window manager.
It's either wait and it closes because there's nothing open I think.
Or just stays black because I3 has started but the screen is still black.

Like you've told me I removed dbus launch from ~/.xsession and  ~/.xinitrc
~/.xsession

#!/bin/sh

prefix="/usr"
exec_prefix="${prefix}"
xrdb="xrdb"
xinitdir="/etc/X11/xinit"
xclock="xclock"
xterm="xterm"
twm="twm"
xmodmap="xmodmap"

userresources="$HOME/.Xresources"
usermodmap="$HOME/.Xmodmap"
sysresources="$xinitdir/.Xresources"
sysmodmap="$xinitdir/.Xmodmap"

# merge in defaults and keymaps

if [ -f "$sysresources" ]; then
    if [ -x /usr/bin/cpp ] ; then
        "$xrdb" -merge "$sysresources"
    else
        "$xrdb" -nocpp -merge "$sysresources"
    fi
fi

if [ -f "$sysmodmap" ]; then
    "$xmodmap" "$sysmodmap"
fi

if [ -f "$userresources" ]; then
    if [ -x /usr/bin/cpp ] ; then
        "$xrdb" -merge "$userresources"
    else
        "$xrdb" -nocpp -merge "$userresources"
    fi
fi

if [ -f "$usermodmap" ]; then
    "$xmodmap" "$usermodmap"
fi

# start some nice programs

if [ -d "$xinitdir"/xinitrc.d ] ; then
	for f in "$xinitdir/xinitrc.d"/?*.sh ; do
		[ -x "$f" ] && . "$f"
	done
	unset f
fi

# "$twm" &
# "$xclock" -geometry 50x50-1+1 &
# "$xterm" -geometry 80x50+494+51 &
# "$xterm" -geometry 80x20+494-0 &
# exec "$xterm" -geometry 80x66+0+0 -name login
# Start Desktop Environment
exec i3

~/.xinitrc

#!/bin/bash

# Start i3 as the window manager
exec i3

I've tried again with the regular xrdp package, here's the X log using that instead:

[  1944.737] 
X.Org X Server 1.21.1.21
X Protocol Version 11, Revision 0
[  1944.737] Current Operating System: Linux RZ-MAIN 6.19.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 19 Mar 2026 16:33:17 +0000 x86_64
[  1944.737] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a866a72e-7321-4f96-be77-602ffd9b5664 rw rootflags=subvol=@root loglevel=3 quiet
[  1944.737]  
[  1944.737] Current version of pixman: 0.46.4
[  1944.737] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1944.737] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1944.737] (++) Log file: ".xorgxrdp.10.log", Time: Wed Mar 25 09:02:15 2026
[  1944.737] (EE) Unable to locate/open config file: "xrdp/xorg.conf"
[  1944.737] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1944.737] (==) No Layout section.  Using the first Screen section.
[  1944.737] (==) No screen section available. Using defaults.
[  1944.737] (**) |-->Screen "Default Screen Section" (0)
[  1944.737] (**) |   |-->Monitor "<default monitor>"
[  1944.737] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1944.737] (**) Allowing byte-swapped clients
[  1944.737] (==) Automatically adding devices
[  1944.737] (==) Automatically enabling devices
[  1944.737] (==) Automatically adding GPU devices
[  1944.737] (==) Automatically binding GPU devices
[  1944.737] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1944.738] (WW) The directory "/usr/share/fonts/misc" does not exist.
[  1944.738] 	Entry deleted from font path.
[  1944.738] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[  1944.738] 	Entry deleted from font path.
[  1944.738] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[  1944.738] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  1944.738] 	Entry deleted from font path.
[  1944.738] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1944.738] 	Entry deleted from font path.
[  1944.738] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  1944.738] 	Entry deleted from font path.
[  1944.738] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  1944.738] 	Entry deleted from font path.
[  1944.738] (==) FontPath set to:
	
[  1944.738] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1944.738] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1944.738] (II) Module ABI versions:
[  1944.738] 	X.Org ANSI C Emulation: 0.4
[  1944.738] 	X.Org Video Driver: 25.2
[  1944.738] 	X.Org XInput driver : 24.4
[  1944.738] 	X.Org Server Extension : 10.0
[  1944.738] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_36
[  1944.740] (II) xfree86: Adding drm device (/dev/dri/card2)
[  1944.740] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card2
[  1944.740] (EE) systemd-logind: failed to take device /dev/dri/card2: Operation not permitted
[  1944.741] (II) xfree86: Adding drm device (/dev/dri/card1)
[  1944.741] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:09:00.0/drm/card1
[  1944.741] (EE) systemd-logind: failed to take device /dev/dri/card1: Operation not permitted
[  1944.743] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[  1944.743] (--) PCI:*(1@0:0:0) 10de:1c02:1458:3724 rev 161, Mem @ 0xfb000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[  1944.743] (--) PCI: (9@0:0:0) 1002:1638:1043:8809 rev 200, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfc500000/524288, I/O @ 0x0000d000/256
[  1944.743] (II) LoadModule: "glx"
[  1944.743] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1944.744] (II) Module glx: vendor="X.Org Foundation"
[  1944.744] 	compiled for 1.21.1.21, module version = 1.0.0
[  1944.744] 	ABI class: X.Org Server Extension, version 10.0
[  1944.744] (II) Applying OutputClass "nvidia" to /dev/dri/card2
[  1944.744] 	loading driver: nvidia
[  1944.744] (==) Matched nvidia as autoconfigured driver 0
[  1944.744] (==) Matched nouveau as autoconfigured driver 1
[  1944.744] (==) Matched nv as autoconfigured driver 2
[  1944.744] (==) Matched ati as autoconfigured driver 3
[  1944.744] (==) Matched modesetting as autoconfigured driver 4
[  1944.744] (==) Matched fbdev as autoconfigured driver 5
[  1944.744] (==) Matched vesa as autoconfigured driver 6
[  1944.744] (==) Assigned the driver to the xf86ConfigLayout
[  1944.744] (II) LoadModule: "nvidia"
[  1944.744] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  1944.744] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1944.744] 	compiled for 1.6.99.901, module version = 1.0.0
[  1944.744] 	Module class: X.Org Video Driver
[  1944.744] (II) LoadModule: "nouveau"
[  1944.745] (WW) Warning, couldn't open module nouveau
[  1944.745] (EE) Failed to load module "nouveau" (module does not exist, 0)
[  1944.745] (II) LoadModule: "nv"
[  1944.745] (WW) Warning, couldn't open module nv
[  1944.745] (EE) Failed to load module "nv" (module does not exist, 0)
[  1944.745] (II) LoadModule: "ati"
[  1944.745] (WW) Warning, couldn't open module ati
[  1944.745] (EE) Failed to load module "ati" (module does not exist, 0)
[  1944.745] (II) LoadModule: "modesetting"
[  1944.745] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  1944.745] (II) Module modesetting: vendor="X.Org Foundation"
[  1944.745] 	compiled for 1.21.1.21, module version = 1.21.1
[  1944.745] 	Module class: X.Org Video Driver
[  1944.745] 	ABI class: X.Org Video Driver, version 25.2
[  1944.745] (II) LoadModule: "fbdev"
[  1944.745] (WW) Warning, couldn't open module fbdev
[  1944.745] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1944.745] (II) LoadModule: "vesa"
[  1944.745] (WW) Warning, couldn't open module vesa
[  1944.745] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1944.745] (II) NVIDIA dlloader X Driver  580.142  Tue Mar  3 19:02:19 UTC 2026
[  1944.745] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1944.745] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1944.746] (EE) 
Fatal server error:
[  1944.746] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[  1944.746] (EE) 
[  1944.746] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  1944.746] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
[  1944.746] (EE) 
[  1944.746] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[  1944.746] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[  1944.746] (EE) Server terminated with error (1). Closing log file.

There's that can't open /dev/tty0 error I was talking about.
And this time crashes.

There was no changes using xorgxrdp-nvidia instead either (same log I posted earlier).


Balloon extraordinarie

Offline

#4 2026-03-25 13:29:25

reiikz
Member
Registered: 2025-11-01
Posts: 6
Website

Re: XRDP black screen. [Solved]

After some more poking around at the packages it turns out you need to install the xorg driver for xrdp.
Which silly me for not realizing.

Also you need to install a specific one.
xorgxrdp-nvidia which is supposedly an nvidia patched xorg driver for xrdp doesn't work with my graphics card (GTX 1060 3GB) using legacy drivers.

Another detail is that installing both xrdp & xrogxrdp will work but openGL won't be available and rendering is buggy.

Turns out the correct combination of packages is all the git packages.

yay -Syuu --noconfirm xorgxrdp-git xrdp-git

If you want audio support you'll need to install either pipewire-module-xrdp-git or pulseaudio-module-xrdp-git  depending whether your system runs puleaudio or pipewire, these are incompatible, you can't have both.

yay -Syuu --noconfirm  pipewire-module-xrdp-git
# or 
yay -Syuu --noconfirm  pulseaudio-module-xrdp-git

If you use the Reminna remote desktop client for the RDP client you must enable audio in advanced connection settings.

Like I mentioned earlier in the thread it is not necessary to mess with xorg xrdp launches it on its own and /etc/xrdp/startwm.sh comes pre patched to run your ~/.xinitrc.
Like Seth said, don't dbus-launch the DE as that causes problems.

The guide at https://gist.github.com/valorad/7fd3e4a … d42a72537d is incorrect as it calls for installing xrdp and xorgxrdp-git which depends on xrdp-git and conflicts with xrdp.

I was able to get blender to use both GPU & CPU graphcis for rendering with no further input on my part it just worked.

Thank you seth and sorry for wasting your time a bit! <3

Last edited by reiikz (2026-03-25 13:31:50)


Balloon extraordinarie

Offline

Board footer

Powered by FluxBB