Hi, On Aug 13, 2013, at 10:40 AM, Matthias Klumpp <matth...@tenstral.net> wrote: > When pkcon is run in a non-X11 environment without a polkit-agent > running, it should spawn a pkttyagent process to handle authorization > requests. > Making polkit recommended by PackageKit seems like a good idea though > (some people don't want polkit installed, and it pulls in lots of > stuff too). > > Can you maybe investigate why pkttyagent doesn't handle authorization? > Is the tool installed (it is part of polkit-1...)? Is it spawned on > demand? Does it work locally, if you're not using ssh?
"pkttyagent" is included in policykit-1, and that package also contains polkitd. Once policykit-1 is installed, "polkitd" will be launched on demand. Running with "sudo" (as in "sudo pkcon refresh") works now. Uninstalling policykit-1 breaks "sudo pkcon refresh" (Fatal error: Failed to check for authentication: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PolicyKit1 was not provided by any .service files), so either "pkcon" has to be patched to decide at runtime whether to use policykit or not, or policykit-1 should be a hard dependency of packagekit (or there should be two variants of packagekit built - one using policykit and one not using policykit). Can you successfully use "pkcon" without policykit-1 installed? Thanks, Thomas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org