Bug 489343

Summary: 'No such file or directory' error starting dbus service for kdeconnect
Product: [Applications] kdeconnect Reporter: pallaswept <pallaswept>
Component: plasmoidAssignee: Albert Vaca Cintora <albertvaka>
Status: REPORTED ---    
Severity: normal CC: asturm, sam
Priority: NOR    
Version: 24.05.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description pallaswept 2024-06-27 22:53:38 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
KDE connect fails to start, with error:
error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.Spawn.ExecFailed", "Failed to execute program org.kde.kdeconnect: No such file or directory")

This can be 'fixed, by editing the dbus service, changing the path to the kdeconnect binary, to be a full absolute path; ie, edit /usr/share/dbus-1/services/org.kde.kdeconnect.service , changing the 'kdeconnect' to be '/usr/bin/kdeconnect'

STEPS TO REPRODUCE
1. Upgrade from a working system to KDE 6.1
 

OBSERVED RESULT
KDE Connect fails to start, with error:
 "error activating kdeconnectd: QDBusError("org.freedesktop.DBus.Error.Spawn.ExecFailed", "Failed to execute program org.kde.kdeconnect: No such file or directory")"

EXPECTED RESULT
KDE Connect continues to start at boot without any interaction.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.10
KDE Frameworks Version: 6.3
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I'm on Tumbleweed, but found the 'fix' for this via a gentoo bug report: https://bugs.gentoo.org/934785 and have seen various reports of it on other distros.
Comment 1 Andreas Sturmlechner 2024-06-29 13:39:39 UTC
Likely regressed in: https://invent.kde.org/network/kdeconnect-kde/-/merge_requests/647