Bug 492722 - Unable to start krdp server
Summary: Unable to start krdp server
Status: REPORTED
Alias: None
Product: KRdp
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-06 15:50 UTC by Marcelo Bossoni
Modified: 2024-10-12 08:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Bossoni 2024-09-06 15:50:15 UTC
SUMMARY
I have a manual archlinux install and installed the krdp package but I can't get it started from the KDE settings page.

STEPS TO REPRODUCE
1. Set an user on krdp settings page
2. Toggle the button to enable it

OBSERVED RESULT
Toggle go back to off

EXPECTED RESULT
Toggle keep on and I can connect to it

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.8-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6750 XT

ADDITIONAL INFORMATION
I do not use NetworkManager since I'm on cable + static IP, so package is not even installed.

Error that show on journal

set 06 12:46:03 URSO systemsettings[3727]: org.kde.krdp.kcm: Toggling KRDP Server to  true over QDBus
set 06 12:46:03 URSO systemd[760]: Starting KRDP Server...
set 06 12:46:03 URSO systemd[760]: Started KRDP Server.
set 06 12:46:03 URSO krdpserver[4027]: org.kde.krdp: Initializing Freedesktop Portal Session
set 06 12:46:03 URSO krdpserver[4027]: org.kde.krdp: Unable to listen for connections on QHostAddress("") 0
set 06 12:46:03 URSO krdpserver[4027]: 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
set 06 12:46:03 URSO krdpserver[4027]: 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
set 06 12:46:03 URSO krdpserver[4027]: 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
set 06 12:46:03 URSO krdpserver[4027]: 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
set 06 12:46:03 URSO krdpserver[4027]: 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
set 06 12:46:03 URSO krdpserver[4027]: 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
set 06 12:46:03 URSO krdpserver[4027]: 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
set 06 12:46:03 URSO krdpserver[4027]: 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
set 06 12:46:03 URSO krdpserver[4027]: 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
set 06 12:46:03 URSO krdpserver[4027]: org.kde.krdp: Closing Freedesktop Portal Session
set 06 12:46:03 URSO kded6[939]: Registering ":1.110/StatusNotifierItem" to system tray
set 06 12:46:03 URSO kded6[939]: Service  ":1.110" unregistered
set 06 12:46:03 URSO systemd[760]: plasma-krdp_server.service: Main process exited, code=exited, status=255/EXCEPTION
set 06 12:46:03 URSO systemd[760]: plasma-krdp_server.service: Failed with result 'exit-code'.
Comment 1 Marcelo Bossoni 2024-09-06 15:54:11 UTC
Running manually give the same result, even setting the IP address

krdpserver --address 192.168.15.201 --port 3389
org.kde.krdp: Initializing Freedesktop Portal Session
org.kde.krdp: Unable to listen for connections on QHostAddress("") 0
Comment 2 Pietro Devò 2024-10-12 08:52:59 UTC
I am also facing this same issue.

running systemctl --user status plasma-krdp_server.service after trying to start it (both from GUI and terminal) i get this outputs

[ ... ]
ott 12 10:43:59 PC-Z690 krdpserver[14230]: 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
[ ...]

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.12.0-rc2-2-MANJARO (64 bit)
Graphics Platform: X11
Processors: 12 × 12th Gen Intel® Core™ i5-12500
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® Arc