polkit-gnome-authentication-agent-1 fails to start after F17->F18 update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I just updated a server machine from F17 to F18.  This server is
running a local VNC session which I connect to via SSH.  It's using
an XFCE4 desktop environment.

The machine is running a lot of virtual machines and so far there
was a virt-manager instance running in the VNC desktop.

After the upgrade to F18, virt-manager no longer starts:

  Unable to connect to libvirt.

  authentication failed: polkit: Authorization requires authentication
  but no agent is available.

So I checked and, yes, there's actually no agent running, there's no
polkit-gnome-authentication-agent-1 process, as usual.

In the XFCE4 Session settings, starting the PolicyKit Authentication
Agent is activated.  But polkit-gnome-authentication-agent-1 simply
doesn't start.  When I try to start it from the command line, I only
get an error message:

  $ /usr/libexec/polkit-gnome-authentication-agent-1

  (polkit-gnome-authentication-agent-1:5772): polkit-gnome-1-WARNING **:
  Unable to determine the session we are in: No session for pid 5772

I know next to nothing about polkit.  To get virt-manager working I added
a rule once:

  $ cat /etc/polkit-1/rules.d/80-libvirt-manage.rules
  polkit.addRule(function(action, subject) {
    if (action.id == "org.libvirt.unix.manage"
	&& subject.active
	&& subject.isInGroup("libvirt")) {
      return polkit.Result.YES;
    }
  })

but that is taken from information on the net, and it obviously can't
help when there's no agent running.

So, how can I fix this?  How can I make polkit-gnome-authentication-agent-1
start in my VNC XFCE4 session again?


Thanks for any help,
Corinna
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux