Description of problem:
After upgrading from f21 to f22 the system was nearly unbootable due to an error activating org.freedesktop.PolicyKit1. Further investigation revealed that polkit-gnome and lxpolkit (both are PolicyKit auth agents) does not work well together. System booted OK right after removal of polkit-gnome. The former one was brought by recent update of gparted. The latter has been my everyday polkit auth agent for a couple of years since I stopped using GNOME.
Furthermore, I downloaded gparted .src.rpm, replaced 'Requires: polkit-gnome' with 'Requires: PolicyKit-authentication-agent' (which AFAIK is provided by every polkit auth agent in stock Fedora repos), built an rpm in copr repo (https://copr.fedoraproject.org/coprs/dexpl/gparted/) and installed gparted from that repo, and everything seems working OK now — both my system and gparted (with lxpolkit).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install a Fedora 22 with any DE that does not depend on polkit-gnome. Check that `rpm -q --whatprovides PolicyKit-authentication-agent` does return something different from polkit-gnome, such as lxpolkit.
2. Install gparted. Check that `rpm -q --whatprovides PolicyKit-authentication-agent` now returns both polkit-gnome and lxpolkit.
3. Try to reboot. Warning: it will likely fail.
well, I run xfce and authentication in my case is provided by polkit-gnome.
But, the DEs provide policykit authentication agents anyway. So, this change is probably fine. However, before I change anything, I want to test this more ..
Thanks for the report. I will do the needful.
Maybe I can help somehow?
Sorry! I kind of lost track of this bug completely. I will look into this.
Can you try this and see if it works?
gparted-0.24.0-1.fc23.x86_64.rpm installs OK without requiring polkit-gnome, `sudo gparted` works as it should, but after launching gparted_polkit and inputting password it says
(gpartedbin:8602): Gtk-WARNING **: cannot open display:
and stops. If I manually stop lxpolkit, install and launch polkit-gnome and re-run gparted_polkit, the outcome is the same (i. e. password dialog and 'cannot open display').
Fedora 23, gparted-0.24.0-1.fc23.x86_64.rpm, lxpolkit-0.5.2-6.fc23.x86_64,
OK, I am able to reproduce this exactly as you describe. Let me try again ...
gparted-0.25.0-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8df2fdc7ce
gparted-0.25.0-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8df2fdc7ce
gparted-0.25.0-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.