| Summary: | KAuth always returns DBus backend error | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kauth | Reporter: | Jasem Mutlaq <mutlaqja> |
| Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | sitter |
| Priority: | NOR | ||
| Version First Reported In: | 5.40.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Screenshot of error | ||
Is this still a problem? Sounds a bit like a setup problem, for polkit to work correctly there need to be 3 different files in the correct paths (the dbus policy to allow claiming the service name, the dbus service for dbus-invocation, the polkit actions to setup the actual auth). The file you mention is only the second bit and will not work without the first bit. We stopped using it, so I'll close this. |
Created attachment 109062 [details] Screenshot of error Using KDE Neon with latest KF5: Qt: 5.9.1 KDE Frameworks: 5.40.0 In KStars, we use KAuth to download files to /usr/share/astrometry. After download is complete, it presents a root password dialog and after password is submitted, it displays the attached error. There is already a .service file in the correction location. /usr/share/dbus-1/system-services/org.kde.kf5auth.kstars.service [D-BUS Service] Name=org.kde.kf5auth.kstars Exec=/usr/lib/x86_64-linux-gnu/libexec/kauth/kauth_kstars_helper User=root dbus-daemon is already running. Also dbus-launch