Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#53787 - [gnome-control-center] Unlock feature fails

Attached to Project: Arch Linux
Opened by Deactivated account (TechnicalTotoro) - Monday, 24 April 2017, 15:58 GMT
Last edited by Jan de Groot (JGC) - Sunday, 30 April 2017, 12:03 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I am currently unable to use the gnome-control-center to change certain settings because the "Unlock" button doesn't work. When pressing it this is the output in Terminal:

(gnome-control-center:4932): Gtk-WARNING **: Error acquiring permission: Failed to acquire permission for action-id org.gnome.controlcenter.user-accounts.administration

I currently have GNOME 3.24.1, but this issue was also present in 3.22.x on Arch, though not on other distros using GNOME that I tried such as Fedora and Ubuntu.

journalctl shows this to be in the log when this happens:

Apr 24 16:53:40 [host] gnome-terminal-[4914]: Allocating size to GtkScrollbar 0x23d0520 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Apr 24 16:53:53 [host] /usr/lib/gdm/gdm-x-session[816]: (II) modeset(0): EDID vendor "LGD", prod id 827
Apr 24 16:53:53 [host] /usr/lib/gdm/gdm-x-session[816]: (II) modeset(0): Printing DDC gathered Modelines:
Apr 24 16:53:53 [host] /usr/lib/gdm/gdm-x-session[816]: (II) modeset(0): Modeline "1366x768"x0.0 70.00 1366 1402 1450 1492 768 771 776 782 -hsync -vsync (46.9 kHz eP)
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 30 April 2017, 12:03 GMT
Reason for closing:  Works for me
Comment by Jan de Groot (JGC) - Monday, 24 April 2017, 21:29 GMT
Do you use gdm and systemd?
Comment by Deactivated account (TechnicalTotoro) - Monday, 24 April 2017, 21:32 GMT
Yes
Comment by Jan de Groot (JGC) - Wednesday, 26 April 2017, 20:40 GMT
This is probably caused by default polkit configuration. To unlock system configuration, gnome will ask for admin permissions. On Archlinux, the default installed polkit rules will only allow this for members of the wheel group.

Some documentation about this:
https://wiki.archlinux.org/index.php/Polkit
Comment by Deactivated account (TechnicalTotoro) - Sunday, 30 April 2017, 11:45 GMT
Thank you, maybe that was the issue. Though I have now reinstalled Arch for an unrelated reason and have found that it works now without needing to do any further configuration.

Loading...