GNOME Bugzilla – Bug 773685
power: don't change backlight on non active sessions
Last modified: 2017-01-13 16:53:54 UTC
The session (gnome-shell/gnome-settings-daemon) instance running in the background of the currently logged in user is spamming syslog with these messages : Oct 30 00:12:29 airy pkexec[15646]: Debian-gdm: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/var/lib/gdm3] [COMMAND=/usr/lib/gnome-settings-daemon/gsd-backlight-helper --set-brightness 53 Oct 30 00:12:29 airy gnome-settings-daemon.desktop[1082]: Error executing command as another user: Not authorized Oct 30 00:12:29 airy gnome-settings-daemon.desktop[1082]: This incident has been reported.
Created attachment 338783 [details] [review] power: don't change backlight on non active sessions
This is supposed to be fixed by the patches in bug 756539 and bug 764896. We're not supposed to Claim the iio-sensor-proxy, and therefore we're not supposed to receive events about it, so there's probably a bug in that area. The patch attached here is a work-around. I'd rather get at the root cause.
Bastien - I'm assuming you don't have access to an environment which reproduces this. I can share any details you'd like about my system here. If this is a hint, the problem does not occur when the machine is freshly booted. For me, I have to put the laptop into suspend (e.g. via lid close) and then resume for the errors to start up. I tried poking around the other day in that area, thinking perhaps something like uninstalling xscreensaver (which I apparently had installed) would have some impact but the results didn't change.
This happens to me straight from first boot, with no suspend/resume cycle in between.
I wondered if this could somehow be related to gdm, but I can confirm this happens (after a suspend/resume) when running X directly as the user without gdm running in the background.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 772537 ***