I ran apt-get install libpolkit* policykit* and rebooted.  I now have an
/usr/share/dbus-1/gnome-
org.freedesktop.PolicyKit.AuthenticationAgent.service, and several
others that weren't there before.

I then ran polkit-auth --obtain org.freedesktop.packagekit.system-update
and the the command now returns immediately with no output.  Return
value is 1.  No authentication dialog appears (Gnome or KDE).

Here is the output of dbus-monitor --session as I ran the polkit-auth
command:

signal sender=org.freedesktop.DBus -> dest=(null destination) serial=17 
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; 
member=NameOwnerChanged
   string ":1.130"
   string ""
   string ":1.130"
method call sender=:1.130 -> dest=org.freedesktop.DBus serial=1 
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.130 -> dest=org.freedesktop.PolicyKit.AuthenticationAgent 
serial=2 path=/; interface=org.freedesktop.PolicyKit.AuthenticationAgent; 
member=ObtainAuthorization
   string "org.freedesktop.packagekit.system-update"
   uint32 0
   uint32 1945
method return sender=:1.129 -> dest=:1.130 reply_serial=2
   boolean false
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=18 
path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; 
member=NameOwnerChanged
   string ":1.130"
   string ":1.130"
   string ""


I tailed dbus-monitor --session when attempting to install something via 
kpackagekit and I see a lot of org.kde.KNotify stuff, but nothing to do with 
AuthenticationAgent.

-- 
[jaunty] kpackagekit doesn't prompt for user password
https://bugs.launchpad.net/bugs/353278
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to policykit-kde in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to