MacBook2,1 brightness control requires root privileges

OpenSubmitted by Albin.
Details
3 participants
  • Albin
  • Joshua Branson
  • Ludovic Courtès
Owner
unassigned
Severity
normal
A
A
Albin wrote on 8 Mar 2016 23:50
(address . bug-guix@gnu.org)
56DF5744.6000706@fripost.org
Hi,
I've discovered that the non-working brightness controls for theMacBook2,1 are due to insufficient permissions.
The first indication of this was that I could change brightness byrunning the program redshift with root permissions (`sudo redshift`).
Today I was presented with this dialog box in GNOME 3 after havingpressed one of the brightness-control keys:
"Authentication is needed to run'/gnu/store/[...]-gnome-settings-daemon-3.18.2/libexec/gsd-backlight-helper'as the super user.
AdministratorPassword [__________]"
I tried to input both the user password and the root password but noneof this this had any effect. When I back into GNOME 3 as root, however,the brightness controls were working.
Does anyone have a suggestion what I could try to give the variousbrightness control programs (for GNOME 3, Xfce, etc.) the requiredpermissions without having to be logged in as root?
Cheers!
Albin
L
L
Ludovic Courtès wrote on 9 Mar 2016 14:21
Re: bug#22952: MacBook2, 1 brightness control requires root privileges
(name . Albin)(address . albin@fripost.org)
87mvq7dbx0.fsf@gnu.org
Albin <albin@fripost.org> skribis:
Toggle quote (6 lines)> I've discovered that the non-working brightness controls for the> MacBook2,1 are due to insufficient permissions.>> The first indication of this was that I could change brightness by> running the program redshift with root permissions (`sudo redshift`).
Interesting. I use a simple window manager (ratpoison), and ‘redshift’works fine as non-root.
Toggle quote (10 lines)> Today I was presented with this dialog box in GNOME 3 after having> pressed one of the brightness-control keys:>> "Authentication is needed to run> '/gnu/store/[...]-gnome-settings-daemon-3.18.2/libexec/gsd-backlight-helper'> as the super user.>> Administrator> Password [__________]"
This is something Andy is working on:
https://lists.gnu.org/archive/html/guix-devel/2016-03/msg00247.html
Looks like we’re almost there. :-)
Ludo’.
J
J
Joshua Branson wrote on 20 Apr 2017 00:23
Macbook2,1 brightness control requires root privileges
(name . 22952@debbugs.gnu.org)(address . 22952@debbugs.gnu.org)
BN6PR10MB1729D14D79AF18A6B09C8615A6180@BN6PR10MB1729.namprd10.prod.outlook.com
I use a Macbook 7,1 and I do not have this issue.
Perhaps this issue is resolved?
L
L
Ludovic Courtès wrote on 20 Apr 2017 10:45
Re: bug#22952: Macbook2, 1 brightness control requires root privileges
(name . Joshua Branson)(address . bransoj@hotmail.com)(name . 22952-done@debbugs.gnu.org)(address . 22952@debbugs.gnu.org)
877f2f4gcw.fsf@gnu.org
Joshua Branson <bransoj@hotmail.com> skribis:
Toggle quote (4 lines)> I use a Macbook 7,1 and I do not have this issue.>> Perhaps this issue is resolved?
Indeed, I believe it was fixed about a year ago with the elogind/polkitintegration in GuixSD.
So I’m closing the bug, please reopen if you think it’s not resolved!
Thanks,Ludo’.
L
L
Ludovic Courtès wrote on 5 May 2017 20:57
control message for bug #22952
(address . control@debbugs.gnu.org)
87wp9v168p.fsf@gnu.org
tags 22952 fixedclose 22952
?