On Jun 23 15:12, poma wrote:
On 22.06.2013 16:28, Corinna Vinschen wrote: …
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; } })
…
https://lists.fedoraproject.org/pipermail/users/2013-March/433561.html
Oh, wow, it was that simple? Just removing the subject.active did it?
Thank you very much for this simple solution!
Btw., just for the records, I had found an ugly workaround in the meantime, but it did the trick:
I started startxfce4 from ~/.Xclients via `ssh localhost'. This enforced a valid session, which made polkit-gnome-authentication-agent-1 start up normally.
But this is much better. I'll now go and build xfce4-session with the patch you provided in the other mail and play with that a bit.
Thanks again, Corinna