Skip to content
  • xrdp
  • Linux
  • Hosting
  • Minimalism
  • h264
  • virgl

Purpose

Remote Desktops of course

Test Clients

  • Apache Guacamole via docker compose running in podman on an alpine vm in qemu(proxmox)
  • msct - Windows 11 Home
  • (Dev)olutions RDM - Not used for any logs below

Test environments

Sources

  • Alpine 3.18
  • KDE Plasma, Xorg >= 3.19, Pulseaudio

Default alpine XRDP results

It works everywhere. Compiling the pulseaudio audio module is a bit annoying. This problem remains. Video performance is only acceptable in tiny windows in the corner, is better on some clients than other (guacamole has the worst performance) No h264, no GL by default.

Default alpine with modified APKBUILD to --enable-glamor

Still works everywhere, and now GL works, glxgears is the most fun video game, it gets beat around 55hz. Installed vdpau and mesa for VirGL, was able to get mpv to claim it was hardware decoding.

Client Performance still unacceptable. Fullscreen video is worse than bad.

Looking for progress

There's a fork that's being working on by Nexarian that enables h264.

The place to start seems to be mainline merge branch . This is where the APKBUILDS above start. They download with git and and configure; it all compiles.

After sorting Nexarian's branches by commit date, it seems there was a patch to it not long ago, but there's almost daily commits to the mainline_merge_shm branch. for the past few days! Very awesome!

I tried that yesterday and the results were not good. More segfaults.

Today they're getting better. this is the result.

xrdp_h264_shm

11/17/2023 ~ noon MST

Guacamole xrdp_h264_shm Guacamole is much slower rendering than with regular xrdp + glamor. Still does not use h264. heavily suspect its the enable-debug command lines. Logs

Current Network Visualization MSCT does start h264. Logs

  • 11/17/2023 - Build failed due to FIFO * instead of struct fifo *, manually patched, no screen. Error reports rdpCapture3: WARNING -- Shared memory is not configured. Aborting capture!
  • 11/18/2023 - New commit fixed build error and made some changes, still the same error about Shared Memory from yesterday and a black screen with msct.exe

Logs

Current Issues

  • Alpine's abuild appears to strip symbols by default so symbols are stripped from logs and errors. Very annoying. I've added !strip to the APKBUILDS for future tests.
  • !strip still seems to remove debug symbols.

guacamole_xrdp_h264_shm

$sudo xrdp -ns

Argument 0 - xrdp
Argument 1 - -ns

$sudo xrdp-sesman -ns

X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
Current Operating System: Linux xrdp-testbed-kde 6.1.56-0-virt #1-Alpine SMP PREEMPT_DYNAMIC Fri, 06 Oct 2023 15:07:55 +0000 x86_64
Kernel command line: BOOT_IMAGE=vmlinuz-virt root=/dev/vg0/lv_root modules=sd-mod,usb-storage,ext4 quiet rootfstype=ext4 initrd=initramfs-virt

Current version of pixman: 0.42.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: ".xorgxrdp.12.log", Time: Fri Nov 17 12:15:29 2023
(++) Using config file: "/etc/X11/xrdp/xorg_nvidia.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10
rdpProbe:
rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
rdpProbe: found DRI3 xorg.conf value [1]
rdpPreInit:
rdpPreInit: /dev/dri/renderD128 open ok, fd 9
rdpPreInit: glamor module load ok
rdpPreInit: glamor init ok
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x7f5e33e20120
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000306f4 bx 0x04080800 cx 0xfffab223 dx 0x1f8bfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpScreenInit: glamor_init ok
rdpDri2Init:
rdpScreenInit: rdpDri2Init ok
rdpScreenInit: rdpDri3Init ok
rdpClientConInit: disconnect idle session after [0] sec
rdpClientConInit: kill disconnected [0] timeout [0] sec
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: copy_tex_loc 0 copy_tex_size_loc 1
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: yuv_tex_loc 0 yuv_tex_size_loc 1
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: yuvlp_tex_loc 0 yuvlp_tex_size_loc 1
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: crc_tex_loc 0 crc_tex_size_loc 1
rdpScreenInit: out
rdpCreateScreenResources:
rdpCreateScreenResources: create screen pixmap w 800 h 600
rdpCreateScreenResources: screen_tex 0x00000001
rdpmousePreInit: drv 0x7f5e3fd85650 info 0x7f5e32eab8d0, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x7f5e3f8ec4a8
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x7f5e3fd85bc0 info 0x7f5e32eab970, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x7f5e3f8e7866
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRScreenSetSize: screen_tex 0x00000003
rdpRRGetInfo:
  screen resized to 1024x768
  RRScreenSizeSet ok 1
rdpResizeSession: width 1920 height 947
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1920 height 947 mmWidth 508 mmHeight 251
rdpRRScreenSetSize: screen_tex 0x00000004
rdpRRGetInfo:
  screen resized to 1920x947
  RRScreenSizeSet ok 1
rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1920 height 947
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRGetInfo:
Global configuration:

Security configuration:
    RestrictOutboundClipboard: none
    RestrictInboundClipboard:  none

Chansrv configuration:
    EnableFuseMount            true
    FuseMountName:             thinclient_drives
    FileMask:                  077
    Nautilus 3 Flist Format:   false
chansrv::main: using log file [/home/deadc0de/.local/share/xrdp/xrdp-chansrv.12.log]
rdpClientConGotConnection:
rdpClientConGotConnection: g_sck_accept ok new_sck 7
rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
rdpAddClientConToDev: adding first clientCon 0x7f5e33fd5050
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 1920 height 947 bpp 32
rdpClientConAllocateSharedMemory: shmemfd 22 shmemptr 0x7f5e31ace000 bytes 7272960
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1920 cy 947
rdpClientConProcessMsgClientInfo:fuse: device not found, try 'modprobe fuse' first

  got client info bytes 7192
  jpeg support 0
  offscreen support 0
  offscreen size 0
  offscreen entries 0
  client can not do offscreen to offscreen blits
  client can do new(color) cursor
  client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 1 numOutputs 1 monitorCount 0
rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1920 height 947
rdpRRUpdateOutput:
rdpLoadLayout: keylayout 0x00000409 variant  display 12
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
fuse: device not found, try 'modprobe fuse' first
fuse: device not found, try 'modprobe fuse' first
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1920 cy 947
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
org.kde.startup: "xsetroot" ("-cursor_name", "left_ptr") exited with code 255
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QObject: Cannot create children for a parent that is in a different thread.
(Parent is SplashApp(0x7ffc44b74b10), parent's thread is QThread(0x7fc14f041e50), current thread is QThread(0x7fc14c26e930)
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
Initializing  "/usr/lib/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Initializing  "/usr/lib/qt5/plugins/plasma/kcms/systemsettings/kcm_style.so"
Initializing  "/usr/lib/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
org.kde.plasma.session: process job  "kcminit_startup" finished with exit code  0
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
kcm_touchpad: Using X11 backend
print-manager.kded: unable to register service to dbus
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.8'
rdpRRGetInfo:
rdpRRCrtcGetGamma: 0x7f5e3344a980 0x7f5e33ff3040 0x7f5e33ff3440 0x7f5e33ff3240
kwin_xkbcommon: XKB: inet:323:58: unrecognized keysym "XF86EmojiPicker"
kwin_xkbcommon: XKB: inet:324:58: unrecognized keysym "XF86Dictate"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
rdpDri2GetMSC:
OpenGL vendor string:                   Mesa
OpenGL renderer string:                 virgl (AMD Radeon RX 570 Series (polaris10, LLVM 15.0.6, DR...)
OpenGL version string:                  4.3 (Compatibility Profile) Mesa 23.1.9
OpenGL shading language version string: 4.30
Driver:                                 Unknown
GPU class:                              Unknown
OpenGL version:                         4.3
GLSL version:                           4.30
Mesa version:                           23.1.9
X server version:                       1.21.1
Linux kernel version:                   6.1.56
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
Qt: Session management error: networkIdsList argument is NULL
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
Initializing  "/usr/lib/qt5/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
kcm_touchpad: Using X11 backend
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/kaccess.desktop" ("/usr/bin/kaccess")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.plasmashell.desktop" ("/usr/bin/plasmashell")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xembedsniproxy.desktop" ("/usr/bin/xembedsniproxy")
Xlib XKB extension major= 1  minor= 0
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xdg-user-dirs.desktop" ("/usr/bin/xdg-user-dirs-update")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/gmenudbusmenuproxy.desktop" ("/usr/bin/gmenudbusmenuproxy")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio.desktop" ("/usr/bin/start-pulseaudio-x11")
Failure: Module initialization failed
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpRRCrtcSetGamma:
rdpDri2GetMSC:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 850, resource id: 16777221, major code: 18 (ChangeProperty), minor code: 0
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/spectacle.desktop" ("/usr/bin/spectacle", "--dbus")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio-xrdp.desktop" ("/usr/libexec/pulseaudio-module-xrdp/load_pa_modules.sh")
X server XKB extension major= 1  minor= 0
17
- pulseaudio xrdp-sink loaded
- pulseaudio xrdp-sink set as default
18
- pulseaudio xrdp-source loaded
- pulseaudio xrdp-source set as default
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
No such schema “org.gnome.desktop.a11y.applications”
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
kf.plasma.quick: Applet preload policy set to 1
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1418, resource id: 10485797, major code: 18 (ChangeProperty), minor code: 0
rdpDri2GetMSC:
kwin_core: XCB error: 152 (BadDamage), sequence: 1424, resource id: 20971564, major code: 143 (DAMAGE), minor code: 3 (Subtract)
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" QSharedPointer(0x7f0d260f0f50)
org.kde.plasma.kicker: Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x7f0d260f10e0)
org.kde.plasma.kicker: Entry is not valid "org.kde.discover.desktop" QSharedPointer(0x7f0d260f1450)
org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" QSharedPointer(0x7f0d260f15e0)
org.kde.plasma.kicker: Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x7f0d260f0f00)
org.kde.plasma.kicker: Entry is not valid "org.kde.discover.desktop" QSharedPointer(0x7f0d260f1270)
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:556:5: QML Label: Binding loop detected for property "height"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpRRGetInfo:
libkcups: CUPS-Get-Printers last error: 1030 No destinations added.
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/PulseAudio.qml:9:1: module "org.kde.plasma.private.volume" is not installed
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
Registering "org.kde.StatusNotifierHost-4787" as system tray
libkcups: 0
libkcups: 0
rdpDri2GetMSC:
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
rdpDri2GetMSC:
rdpDri2GetMSC:

msct_xrdp_h264_shm

  • Note: sudo modprobe fuse gets ride of the fuse errors but otherwise no difference.

$sudo xrdp -ns

sudo xrdp -ns
Argument 0 - xrdp
Argument 1 - -ns
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Constrained Baseline, level 4.0, 4:2:0, 8-bit

When I close xrdp with ctrl+c it prints

x264 [info]: frame I:1     Avg QP:20.00  size: 33951
x264 [info]: frame P:84    Avg QP:13.31  size: 52306
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4:  3.5%  0.0%  0.0%  P16..4: 10.3%  0.0%  0.0%  0.0%  0.0%    skip:86.2%
x264 [info]: coded y,uvDC,uvAC intra: 50.3% 50.3% 50.3% inter: 7.9% 8.9% 7.8%
x264 [info]: i16 v,h,dc,p: 99%  0%  1%  0%
x264 [info]: i8c dc,h,v,p:  0%  0% 99%  0%
x264 [info]: kb/s:10001.35

Fresh reboot, connect with msct.exe to trigger h264. Using watch -n 1 bash -c "dmesg | tail" - this error occurs immediatly after I close msct to disconnect the session. $sudo dmesg (with !strip enabled)

[   74.186138] xrdp[3494]: segfault at 7fb0e793d228 ip 00007fb0e7a9cae1 sp 00007ffde45fb9f0 error 4 in libxrdp.so.0.0.0[7fb0e7a97000+57000] likely on CPU 4 (core 4, socket 0)
[   74.186179] Code: 48 89 c6 48 8d 05 df 3b 05 00 48 89 c7 b8 00 00 00 00 e8 92 ae ff ff 48 8b 44 24 18 48 8b 40 20 48 89 44 24 28 48 8b 44 24 28 <48> 8b 40 08 48 89 44 24 30 48 8b 44 24 30 48 8b 40 18 48 89 44 24

$sudo xrdp-sesman -ns

X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
Current Operating System: Linux xrdp-testbed-kde 6.1.56-0-virt #1-Alpine SMP PREEMPT_DYNAMIC Fri, 06 Oct 2023 15:07:55 +0000 x86_64
Kernel command line: BOOT_IMAGE=vmlinuz-virt root=/dev/vg0/lv_root modules=sd-mod,usb-storage,ext4 quiet rootfstype=ext4 initrd=initramfs-virt

Current version of pixman: 0.42.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: ".xorgxrdp.11.log", Time: Fri Nov 17 12:11:58 2023
(++) Using config file: "/etc/X11/xrdp/xorg_nvidia.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10
rdpProbe:
rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
rdpProbe: found DRI3 xorg.conf value [1]
rdpPreInit:
rdpPreInit: /dev/dri/renderD128 open ok, fd 9
rdpPreInit: glamor module load ok
rdpPreInit: glamor init ok
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x7feb93c9d120
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000306f4 bx 0x00080800 cx 0xfffab223 dx 0x1f8bfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpScreenInit: glamor_init ok
rdpDri2Init:
rdpScreenInit: rdpDri2Init ok
rdpScreenInit: rdpDri3Init ok
rdpClientConInit: disconnect idle session after [0] sec
rdpClientConInit: kill disconnected [0] timeout [0] sec
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: copy_tex_loc 0 copy_tex_size_loc 1
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: yuv_tex_loc 0 yuv_tex_size_loc 1
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: yuvlp_tex_loc 0 yuvlp_tex_size_loc 1
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: crc_tex_loc 0 crc_tex_size_loc 1
rdpScreenInit: out
rdpCreateScreenResources:
rdpCreateScreenResources: create screen pixmap w 800 h 600
rdpCreateScreenResources: screen_tex 0x00000001
rdpmousePreInit: drv 0x7feb9fbf7650 info 0x7feb92d1d8d0, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x7feb9f75e4a8
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x7feb9fbf7bc0 info 0x7feb92d1d970, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x7feb9f759866
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRScreenSetSize: screen_tex 0x00000003
rdpRRGetInfo:
  screen resized to 1024x768
  RRScreenSizeSet ok 1
rdpResizeSession: width 1920 height 1080
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1920 height 1080 mmWidth 508 mmHeight 286
rdpRRScreenSetSize: screen_tex 0x00000004
rdpRRGetInfo:
  screen resized to 1920x1080
  RRScreenSizeSet ok 1
rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1920 height 1080
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRGetInfo:
Global configuration:

Security configuration:
    RestrictOutboundClipboard: none
    RestrictInboundClipboard:  none

Chansrv configuration:
    EnableFuseMount            true
    FuseMountName:             thinclient_drives
    FileMask:                  077
    Nautilus 3 Flist Format:   false
chansrv::main: using log file [/home/deadc0de/.local/share/xrdp/xrdp-chansrv.11.log]
rdpClientConGotConnection:
rdpClientConGotConnection: g_sck_accept ok new_sck 7
rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
rdpAddClientConToDev: adding first clientCon 0x7feb93e52090
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 1920 height 1080 bpp 32
rdpClientConAllocateSharedMemory: shmemfd 22 shmemptr 0x7feb9174d000 bytes 8294400
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1920 cy 1080
rdpClientConProcessMsgClientInfo:
  got client info bytes 7192
  jpeg support 0
  offscreen support 1
  offscreen size 10485760
  offscreen entries 100fuse: device not found, try 'modprobe fuse' first

rdpClientConProcessMsgClientInfo: got H264 capture
  cap_width 1920 cap_height 1088
rdpClientConAllocateSharedMemory: shmemfd 22 shmemptr 0x7feb91b3a000 bytes 4177920
  client can not do offscreen to offscreen blits
  client can do new(color) cursor
  client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 1 numOutputs 1 monitorCount 0
rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1920 height 1080
rdpRRUpdateOutput:
rdpLoadLayout: keylayout 0x00000409 variant  display 11
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
fuse: device not found, try 'modprobe fuse' first
fuse: device not found, try 'modprobe fuse' first
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1920 cy 1088
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
org.kde.startup: "xsetroot" ("-cursor_name", "left_ptr") exited with code 255
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
QObject: Cannot create children for a parent that is in a different thread.
(Parent is SplashApp(0x7ffeeea80d20), parent's thread is QThread(0x7fe584735e50), current thread is QThread(0x7fe581dc8930)
QObject::installEventFilter(): Cannot filter events for objects in a different thread.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
Initializing  "/usr/lib/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Initializing  "/usr/lib/qt5/plugins/plasma/kcms/systemsettings/kcm_style.so"
Initializing  "/usr/lib/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
org.kde.plasma.session: process job  "kcminit_startup" finished with exit code  0
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
kcm_touchpad: Using X11 backend
print-manager.kded: unable to register service to dbus
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.8'
rdpRRGetInfo:
rdpRRCrtcGetGamma: 0x7feb932bc980 0x7feb93e70020 0x7feb93e70420 0x7feb93e70220
kwin_xkbcommon: XKB: inet:323:58: unrecognized keysym "XF86EmojiPicker"
kwin_xkbcommon: XKB: inet:324:58: unrecognized keysym "XF86Dictate"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
rdpDri2GetMSC:
OpenGL vendor string:                   Mesa
OpenGL renderer string:                 virgl (AMD Radeon RX 570 Series (polaris10, LLVM 15.0.6, DR...)
OpenGL version string:                  4.3 (Compatibility Profile) Mesa 23.1.9
OpenGL shading language version string: 4.30
Driver:                                 Unknown
GPU class:                              Unknown
OpenGL version:                         4.3
GLSL version:                           4.30
Mesa version:                           23.1.9
X server version:                       1.21.1
Linux kernel version:                   6.1.56
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
Qt: Session management error: networkIdsList argument is NULL
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/kaccess.desktop" ("/usr/bin/kaccess")
Initializing  "/usr/lib/qt5/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xembedsniproxy.desktop" ("/usr/bin/xembedsniproxy")
kcm_touchpad: Using X11 backend
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.plasmashell.desktop" ("/usr/bin/plasmashell")
Xlib XKB extension major= 1  minor= 0
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio.desktop" ("/usr/bin/start-pulseaudio-x11")
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xdg-user-dirs.desktop" ("/usr/bin/xdg-user-dirs-update")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/gmenudbusmenuproxy.desktop" ("/usr/bin/gmenudbusmenuproxy")
Failure: Module initialization failed
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpRRCrtcSetGamma:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 851, resource id: 16777221, major code: 18 (ChangeProperty), minor code: 0
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio-xrdp.desktop" ("/usr/libexec/pulseaudio-module-xrdp/load_pa_modules.sh")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/spectacle.desktop" ("/usr/bin/spectacle", "--dbus")
13
- pulseaudio xrdp-sink loaded
- pulseaudio xrdp-sink set as default
14
- pulseaudio xrdp-source loaded
- pulseaudio xrdp-source set as default
X server XKB extension major= 1  minor= 0
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
No such schema “org.gnome.desktop.a11y.applications”
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
kf.plasma.quick: Applet preload policy set to 1
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
qml: PlasmaExtras.ScrollArea is deprecated. Use PlasmaComponents3.ScrollView instead.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpDri2GetMSC:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1442, resource id: 10485797, major code: 18 (ChangeProperty), minor code: 0
kwin_core: XCB error: 152 (BadDamage), sequence: 1448, resource id: 20971564, major code: 143 (DAMAGE), minor code: 3 (Subtract)
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" QSharedPointer(0x7f52933a1590)
org.kde.plasma.kicker: Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x7f529339d610)
org.kde.plasma.kicker: Entry is not valid "org.kde.discover.desktop" QSharedPointer(0x7f52933a1540)
org.kde.plasma.kicker: Entry is not valid "org.kde.kontact.desktop" QSharedPointer(0x7f529339d770)
org.kde.plasma.kicker: Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x7f529339d610)
org.kde.plasma.kicker: Entry is not valid "org.kde.discover.desktop" QSharedPointer(0x7f52933a15e0)
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:556:5: QML Label: Binding loop detected for property "height"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
rdpRRGetInfo:
libkcups: CUPS-Get-Printers last error: 1030 No destinations added.
libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
libkcups: Get-Jobs last error: 0 successful-ok
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml"
Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/PulseAudio.qml:9:1: module "org.kde.plasma.private.volume" is not installed
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Spawn.ChildExited"
 "Launch helper exited with unknown return code 127"
Registering "org.kde.StatusNotifierHost-4450" as system tray
libkcups: 0
libkcups: 0
rdpDri2GetMSC:
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
rdpDri2GetMSC:
rdpDri2GetMSC:
file:///usr/lib/qt5/qml/org/kde/plasma/workspace/calendar/InfiniteList.qml:43:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt5/qml/org/kde/plasma/workspace/calendar/InfiniteList.qml:43:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt5/qml/org/kde/plasma/workspace/calendar/InfiniteList.qml:43:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt5/qml/org/kde/plasma/workspace/calendar/MonthView.qml:381: TypeError: Cannot read property 'cellHeight' of null
file:///usr/lib/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
file:///usr/lib/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"

mainline_merge

Guacamole works, because it doesn't start h264 encoding. Other clients do, and it doesn't work. The only clues I can seem to get are

dmesg:

[53109.992439] xorgxrdp_helper[3038]: segfault at 0 ip 0000000000000000 sp 00007ffca2639758 error 14 in xorgxrdp_helper[55ea50017000+3000] likely on CPU 0 (core 0, socket 0)
[53109.992472] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
[53111.006785] xrdp[2952]: segfault at 7f3fba578208 ip 00007f3fba6d7ae1 sp 00007fffdc2430a0 error 4 in libxrdp.so.0.0.0[7f3fba6d2000+57000] likely on CPU 6 (core 6, socket 0)
[53111.006824] Code: 48 89 c6 48 8d 05 df 3b 05 00 48 89 c7 b8 00 00 00 00 e8 92 ae ff ff 48 8b 44 24 18 48 8b 40 20 48 89 44 24 28 48 8b 44 24 28 <48> 8b 40 08 48 89 44 24 30 48 8b 44 24 30 48 8b 40 18 48 89 44 24
[53316.853665] xrdp[3286]: segfault at 7f205414f208 ip 00007f205421aae1 sp 00007ffe820a99c0 error 4 in libxrdp.so.0.0.0[7f2054215000+57000] likely on CPU 0 (core 0, socket 0)
[53316.853693] Code: 48 89 c6 48 8d 05 df 3b 05 00 48 89 c7 b8 00 00 00 00 e8 92 ae ff ff 48 8b 44 24 18 48 8b 40 20 48 89 44 24 28 48 8b 44 24 28 <48> 8b 40 08 48 89 44 24 30 48 8b 44 24 30 48 8b 40 18 48 89 44 24
[53334.043582] xorgxrdp_helper[3654]: segfault at 0 ip 0000000000000000 sp 00007ffdc7bc8878 error 14 in xorgxrdp_helper[55eec05c3000+3000] likely on CPU 0 (core 0, socket 0)
[53334.043608] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
[53335.052401] xrdp[3637]: segfault at 7f205414f208 ip 00007f205421aae1 sp 00007ffe820a99c0 error 4 in libxrdp.so.0.0.0[7f2054215000+57000] likely on CPU 4 (core 4, socket 0)
[53335.052431] Code: 48 89 c6 48 8d 05 df 3b 05 00 48 89 c7 b8 00 00 00 00 e8 92 ae ff ff 48 8b 44 24 18 48 8b 40 20 48 89 44 24 28 48 8b 44 24 28 <48> 8b 40 08 48 89 44 24 30 48 8b 44 24 30 48 8b 40 18 48 89 44 24

Output of sudo xrdp -ns

xrdp-testbed-kde:~/pulseaudio-module-xrdp-0.7/tmp/aports/community/xorgxrdp-egl$ sudo xrdp -ns
Argument 0 - xrdp
Argument 1 - -ns
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Constrained Baseline, level 4.0, 4:2:0, 8-bit
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Constrained Baseline, level 4.0, 4:2:0, 8-bit
x264 [info]: frame I:1     Avg QP:20.00  size:  6846
x264 [info]: frame P:1     Avg QP:14.00  size:    12
x264 [info]: mb I  I16..4: 100.0%  0.0%  0.0%
x264 [info]: mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
x264 [info]: coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
x264 [info]: i16 v,h,dc,p: 99%  0%  1%  0%
x264 [info]: i8c dc,h,v,p: 99%  1%  0%  0%
x264 [info]: kb/s:658.37

Output of sudo xrdp-sesman -ns

X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
Current Operating System: Linux xrdp-testbed-kde 6.1.56-0-virt #1-Alpine SMP PREEMPT_DYNAMIC Fri, 06 Oct 2023 15:07:55 +0000 x86_64
Kernel command line: BOOT_IMAGE=vmlinuz-virt root=/dev/vg0/lv_root modules=sd-mod,usb-storage,ext4 quiet rootfstype=ext4 initrd=initramfs-virt

Current version of pixman: 0.42.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: ".xorgxrdp.25.log", Time: Fri Nov 17 10:46:42 2023
(++) Using config file: "/etc/X11/xrdp/xorg_nvidia.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xorgxrdpSetup:
xrdpdevSetup:
rdpmousePlug:
rdpkeybPlug:
rdpIdentify:
rdpDriverFunc: op 10
rdpProbe:
rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
rdpProbe: found DRI3 xorg.conf value [1]
rdpPreInit:
rdpPreInit: /dev/dri/renderD128 open ok, fd 9
rdpPreInit: glamor module load ok
rdpPreInit: glamor init ok
rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
rdpScreenInit: pfbMemory bytes 1920000
rdpScreenInit: pfbMemory 0x7f9983d38120
rdpSimdInit: assigning yuv functions
rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000306f4 bx 0x04080800 cx 0xfffab223 dx 0x1f8bfbff
rdpSimdInit: sse2 amd64 yuv functions assigned
rdpScreenInit: glamor_init ok
rdpDri2Init:
rdpScreenInit: rdpDri2Init ok
rdpScreenInit: rdpDri3Init ok
rdpClientConInit: disconnect idle session after [0] sec
rdpClientConInit: kill disconnected [0] timeout [0] sec
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: copy_tex_loc 0 copy_tex_size_loc 1
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: yuv_tex_loc 0 yuv_tex_size_loc 1
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: yuvlp_tex_loc 0 yuvlp_tex_size_loc 1
rdpEglCreate: vertex_shader compiled 1
rdpEglCreate: fragment_shader compiled 1
rdpEglCreate: linked 1
rdpEglCreate: crc_tex_loc 0 crc_tex_size_loc 1
rdpScreenInit: out
rdpCreateScreenResources:
rdpCreateScreenResources: create screen pixmap w 800 h 600
rdpCreateScreenResources: screen_tex 0x00000001
rdpmousePreInit: drv 0x7f998fc92650 info 0x7f9982db88d0, flags 0x0
rdpmouseControl: what 0
rdpmouseDeviceInit:
rdpmouseCtrl:
rdpRegisterInputCallback: type 1 proc 0x7f998f7f94a8
rdpmouseControl: what 1
rdpmouseDeviceOn:
rdpkeybPreInit: drv 0x7f998fc92bc0 info 0x7f9982db8970, flags 0x0
rdpkeybControl: what 0
rdpkeybDeviceInit:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpRegisterInputCallback: type 0 proc 0x7f998f7f4866
rdpkeybControl: what 1
rdpkeybDeviceOn:
rdpDeferredRandR:
rdpResizeSession: width 1024 height 768
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
rdpRRScreenSetSize: screen_tex 0x00000003
rdpRRGetInfo:
  screen resized to 1024x768
  RRScreenSizeSet ok 1
rdpResizeSession: width 1920 height 1080
  calling RRScreenSizeSet
rdpRRScreenSetSize: width 1920 height 1080 mmWidth 508 mmHeight 286
rdpRRScreenSetSize: screen_tex 0x00000004
rdpRRGetInfo:
  screen resized to 1920x1080
  RRScreenSizeSet ok 1
rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1920 height 1080
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat off
rdpRRGetInfo:
Global configuration:

Security configuration:
    RestrictOutboundClipboard: none
    RestrictInboundClipboard:  none

Chansrv configuration:
    EnableFuseMount            true
    FuseMountName:             thinclient_drives
    FileMask:                  077
    Nautilus 3 Flist Format:   false
chansrv::main: using log file [/home/deadc0de/.local/share/xrdp/xrdp-chansrv.25.log]
rdpClientConGotConnection:
rdpClientConGotConnection: g_sck_accept ok new_sck 7
rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
rdpAddClientConToDev: adding first clientCon 0x7f9983eed050
rdpClientConProcessMsgVersion: version 0 0 0 1
rdpClientConProcessScreenSizeMsg: set width 1920 height 1080 bpp 32
rdpClientConAllocateSharedMemory: shmemid 98339 shmemptr 0x7f99817e8000 bytes 8294400
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1920 cy 1080
rdpClientConProcessMsgClientInfo:
  got client info bytes 7192
  jpeg support 0
  offscreen support 1
  offscreen size 10485760
  offscreen entries 100
rdpClientConProcessMsgClientInfo: got H264 capture
  cap_width 1920 cap_height 1088
rdpClientConAllocateSharedMemory: shmemid 98340 shmemptr 0x7f9981bd5000 bytes 4177920
  client can not do offscreen to offscreen blits
  client can do new(color) cursor
  client can not do multimon
rdpRRSetRdpOutputs: numCrtcs 1 numOutputs 1 monitorCount 0
rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 1920 height 1080
rdpRRUpdateOutput:
rdpLoadLayout: keylayout 0x00000409 variant  display 25
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpkeybChangeKeyboardControl:
rdpkeybChangeKeyboardControl: autoRepeat on
rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1920 cy 1088
rdpInDeferredRepeatCallback:
rdpkeybChangeKeyboardControl:(EE) Segmentation fault at address 0x7ffcc7178000
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at ".xorgxrdp.25.log" for additional information.
(EE)
rdpmouseControl: what 4
rdpkeybControl: what 4
(II) AIGLX: Suspending AIGLX clients for VT switch
rdpLeaveVT:
(EE) Server terminated with error (1). Closing log file.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-deadc0de'
$DISPLAY is not set or cannot connect to the X server.
Running X session wrapper
Loading profile from /etc/profile
Loading xinit script /etc/X11/xinit/xinitrc.d/90-consolekit
X session wrapper complete, running session