GNOME Bugzilla – Bug 766067
Disable ambient backlight helper when the session is inactive
Last modified: 2017-08-21 17:10:09 UTC
Since the ambient backlight helper is enabled in the gdm session, it runs continuously. Which is bad, because while the user's session is active, the journal fills with messages like: May 06 11:41:58 dmt pkexec[2021]: gdm: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/var/lib/gdm] [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 4000 May 06 11:41:58 dmt gnome-settings-daemon.desktop[1573]: Error executing command as another user: Not authorized May 06 11:41:58 dmt gnome-settings-daemon.desktop[1573]: This incident has been reported.
Pretty sure that's fixed in 3.20.1.
(In reply to Bastien Nocera from comment #1) > Pretty sure that's fixed in 3.20.1. dmt:~% rpm -q gnome-settings-daemon gnome-settings-daemon-3.20.1-3.fc24.x86_64
This was a bug in gnome-session. *** This bug has been marked as a duplicate of bug 772537 ***
It really wasn't though. A logic bug meant that we'd never try to _stop_ receiving events and were constantly trying to set the backlight.
Created attachment 357427 [details] [review] power: Allow disabling ALS monitoring even if inactive We definitely do want to be able to disable light sensor monitoring even if we're not in an active session any more. The only case this conditional was supposed to prevent is trying to claim the light sensor when the session is inactive. Anything else should be allowed.
Review of attachment 357427 [details] [review]: oops, looks fine
Attachment 357427 [details] pushed as 476154f - power: Allow disabling ALS monitoring even if inactive