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