我在联想 X1 Yoga OLED 上运行带有 GNOME(Wayland)的 Ubuntu 17.10。
我相信这个特定的 Ubuntu 安装是几年前从 Ubuntu 16.04 开始的。自从首次安装以来,我一直在系统上运行 GNOME。- 这意味着我的系统中可能还留有一些我完全忘记的古老覆盖。
问题:我在日志中收到很多来自 gnome-settings-daemon 的错误消息:
feb 23 13:04:32 kul org.gnome.SettingsDaemon.Power.desktop[1741]: Error executing command as another user: Not authorized
feb 23 13:04:32 kul org.gnome.SettingsDaemon.Power.desktop[1741]: This incident has been reported.
feb 23 13:04:33 kul pkexec[408567]: 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 843]
feb 23 13:04:33 kul org.gnome.SettingsDaemon.Power.desktop[1741]: Error executing command as another user: Not authorized
feb 23 13:04:33 kul org.gnome.SettingsDaemon.Power.desktop[1741]: This incident has been reported.
feb 23 13:04:33 kul pkexec[408571]: 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 843]
feb 23 13:04:33 kul org.gnome.SettingsDaemon.Power.desktop[1741]: Error executing command as another user: Not authorized
feb 23 13:04:33 kul org.gnome.SettingsDaemon.Power.desktop[1741]: This incident has been reported.
feb 23 13:04:34 kul pkexec[408575]: 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 758]
feb 23 13:04:34 kul org.gnome.SettingsDaemon.Power.desktop[1741]: Error executing command as another user: Not authorized
feb 23 13:04:34 kul org.gnome.SettingsDaemon.Power.desktop[1741]: This incident has been reported.
feb 23 13:04:35 kul pkexec[408579]: 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 783]
feb 23 13:04:35 kul org.gnome.SettingsDaemon.Power.desktop[1741]: Error executing command as another user: Not authorized
feb 23 13:04:35 kul org.gnome.SettingsDaemon.Power.desktop[1741]: This incident has been reported.
feb 23 13:04:35 kul pkexec[408585]: 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 800]
feb 23 13:04:35 kul org.gnome.SettingsDaemon.Power.desktop[1741]: Error executing command as another user: Not authorized
feb 23 13:04:35 kul org.gnome.SettingsDaemon.Power.desktop[1741]: This incident has been reported.
我已在设置面板中禁用/启用“自动亮度”控制,但似乎没有任何改变。
答案1
在 Ubuntu 18.04(基于 xorg)中观察到了类似的情况。gsettings set org.gnome.settings-daemon.plugins.power ambient-enabled false
通过关闭自动亮度解决了这个问题。