You are not logged in.

#1 2015-07-18 16:34:21

xgdgsc
Member
Registered: 2012-02-03
Posts: 125

Gnome power off button on panel menu doesn' t work

Recently, the power off button in the panel menu has no effect for me? Any clue on solving this issue? I have latest Gnome 3.16.

Offline

#2 2016-01-20 03:59:35

prium
Member
Registered: 2016-01-17
Posts: 4

Re: Gnome power off button on panel menu doesn' t work

Were you able to solve this? It is happening to me as well for both power off and reset, but not lock.

Offline

#3 2016-01-20 07:56:55

xgdgsc
Member
Registered: 2012-02-03
Posts: 125

Re: Gnome power off button on panel menu doesn' t work

prium wrote:

Were you able to solve this? It is happening to me as well for both power off and reset, but not lock.

I switched to KDE.

Offline

#4 2016-01-20 13:18:02

prium
Member
Registered: 2016-01-17
Posts: 4

Re: Gnome power off button on panel menu doesn' t work

Ok I was able to solve it. Journalctl was showing this when I tried to press the shutdown button:

Jan 20 04:30:51 arch-pc gnome-session[759]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2a000f8 (*gnomelog.)
Jan 20 04:32:02 arch-pc gnome-session[759]: gnome-session-binary[759]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 20 04:32:02 arch-pc gnome-session-binary[759]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 20 04:32:02 arch-pc gnome-session-binary[759]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 20 04:32:02 arch-pc gnome-session-binary[759]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 20 04:32:02 arch-pc gnome-session-binary[759]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 20 04:32:02 arch-pc gnome-session-binary[759]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 20 04:32:02 arch-pc gnome-session[759]: gnome-session-binary[759]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 20 04:32:02 arch-pc gnome-session[759]: gnome-session-binary[759]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 20 04:32:02 arch-pc gnome-session[759]: gnome-session-binary[759]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 20 04:32:02 arch-pc gnome-session[759]: gnome-session-binary[759]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 20 04:32:04 arch-pc gnome-session-binary[759]: WARNING: Shutdown failed: GDBus.Error:org.freedesktop.DBus.Error.InteractiveAuthorizationRequired: Interactive authentication required.
Jan 20 04:32:04 arch-pc gnome-session[759]: gnome-session-binary[759]: WARNING: Shutdown failed: GDBus.Error:org.freedesktop.DBus.Error.InteractiveAuthorizationRequired: Interactive authentication required.
Jan 20 04:32:04 arch-pc gnome-session-binary[759]: Entering running state
Jan 20 04:32:04 arch-pc gnome-session[759]: Gjs-Message: JS LOG: Ignored exception from dbus method: Gio.IOErrorEnum: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code19: Operation was cancelled

So for some reason gnome didn't have permission to shut down. systemd however is supposed to allow regular users to shut down, so I gave "systemctl reboot" a try as well, and it was broken.

The fix:
systemd needs polkit, so I installed that and removed my conflicting copy of polkit-consolekit that somehow wound up on my computer, even though it is for non-systemd systems. Someone must have bundled it as a dependency I guess? Oh well, hopefully this helps someone in the future.

Offline

Board footer

Powered by FluxBB