Red Hat Bugzilla – Bug 1512662
gnome-shell throws an exception every time user clicks system menu if logout is disabled
Last modified: 2018-05-17 10:39:45 EDT
If an admin disables logout for users using polkit: ╎❯ cat /etc/polkit-1/localauthority/90-mandatory.d/disable-shutdown.pkla [Disallow shutdown] Identity=unix-user:* Action=org.freedesktop.login1.power-off*;org.freedesktop.login1.reboot*;org.freedesktop.login1.suspend*;org.freedesktop.login1.hibernate*; ResultInactive=no ResultActive=no Then gnome-shell throws an exception when users click on the system menu: Nov 13 13:56:01 localhost.localdomain gnome-shell[3346]: JS ERROR: TypeError: childToShow is null AltSwitcher<._sync@resource:///org/gnome/shell/ui/status/system.js:70:13 wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22 SystemActions<._updatePowerOff@resource:///org/gnome/shell/misc/systemActions.js:335:9 wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22 SystemActions<._updateHaveShutdown/<@resource:///org/gnome/shell/misc/systemActions.js:326:13 _proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:90:13
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0770