Bug 500805

Summary: KRDP Server fails to start: member "NotifyKeyboardKeycode": Marshalling failed: Invalid object path passed in arguments
Product: [Plasma] KRdp Reporter: gtpepi
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: REPORTED ---    
Severity: crash CC: ahiemstra, ctrlaltca, nate
Priority: NOR    
Version First Reported In: 6.3.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gtpepi 2025-02-27 10:14:02 UTC
KRDP does not start after updating to Plasma 6.3


STEPS TO REPRODUCE
1. Enable RDP server in the standard port config
2. run systemctl --user status app-org.kde.krdpserver.service
3. 

OBSERVED RESULT

Feb 27 07:02:12 archnote krdpserver[6879]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Desktop"
path "/org/freedesktop/portal/desktop" interface "org.freedesktop.portal.RemoteDesktop" member "NotifyKeyboardKeycode": Marshalling failed: Invalid object path passed in arguments
Feb 27 07:02:12 archnote krdpserver[6879]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Desktop"
path "/org/freedesktop/portal/desktop" interface "org.freedesktop.portal.RemoteDesktop" member "NotifyKeyboardKeycode": Marshalling failed: Invalid object path passed in arguments
Feb 27 07:02:12 archnote krdpserver[6879]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Desktop"
path "/org/freedesktop/portal/desktop" interface "org.freedesktop.portal.RemoteDesktop" member "NotifyKeyboardKeycode": Marshalling failed: Invalid object path passed in arguments
Feb 27 07:02:12 archnote krdpserver[6879]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Desktop"
path "/org/freedesktop/portal/desktop" interface "org.freedesktop.portal.RemoteDesktop" member "NotifyKeyboardKeycode": Marshalling failed: Invalid object path passed in arguments
Feb 27 07:02:12 archnote krdpserver[6879]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Desktop"
path "/org/freedesktop/portal/desktop" interface "org.freedesktop.portal.RemoteDesktop" member "NotifyKeyboardKeycode": Marshalling failed: Invalid object path passed in arguments
Feb 27 07:02:12 archnote krdpserver[6879]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Desktop"
path "/org/freedesktop/portal/desktop" interface "org.freedesktop.portal.RemoteDesktop" member "NotifyKeyboardKeycode": Marshalling failed: Invalid object path passed in arguments
Feb 27 07:02:12 archnote krdpserver[6879]: qt.dbus.integration: QDBusConnection: error: could not send message to service "org.freedesktop.portal.Desktop"
path "" interface "org.freedesktop.portal.Session" member "Close": Object path cannot be empty
Feb 27 07:02:12 archnote krdpserver[6879]: org.kde.krdp: Closing Freedesktop Portal Session
Feb 27 07:02:12 archnote systemd[1230]: app-org.kde.krdpserver.service: Main process exited, code=exited, status=255/EXCEPTION
Feb 27 07:02:12 archnote systemd[1230]: app-org.kde.krdpserver.service: Failed with result 'exit-code'.      


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 6.13.4-zen1-1-zen (64-bit)
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Last working state was a few weeks ago before updating to 6.3, although I cannot pinpoint if this exact update was the culprit
Comment 1 Fabio 2025-02-27 16:00:26 UTC
Moving bug to the correct component
Comment 2 Nate Graham 2025-02-28 22:51:20 UTC
I can reproduce that turning on the server from the system Settings page fails to launch the `krdpserver` binary. However I can't get any output from the systemd unit for it, and running `krdpserver` manually by hand seems to work fine.

This needs further investigation.