You are not logged in.

#1 2022-01-22 16:36:28

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

[SOLVED] Gnome Shell "power off" not working.

I recently migrated from a hyper-minimal X11/dwm desktop to the Wayland/Gnome Shell desktop.
I have a vanilla installation of Gnome with the 'wayland', 'gnome', and 'gnome-extra' packages.

The problem is I can't get any of the power options from the system menu (upper right) to work.
"Suspend", "Restart", "Power Off", and "Log Out" all do nothing.
I haven't heard of this happening before.

Last edited by RobinLikesToCode (2022-01-23 04:23:05)

Offline

#2 2022-01-22 16:48:11

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Gnome Shell "power off" not working.

Is anything printed to  the journal when you try the options? Use the --follow option for journalctl(1).

How exactly are you starting the desktop? Are you using a display manager?


Jin, Jîyan, Azadî

Offline

#3 2022-01-23 03:39:46

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

Re: [SOLVED] Gnome Shell "power off" not working.

The 'journalctl --follow' command doesn't print anything corresponding to when I press buttons on the power menu.
I start gnome from the linux console with 'gnome-session --wayland'. I don't use a display manager.

Offline

#4 2022-01-23 04:24:58

RobinLikesToCode
Member
Registered: 2016-10-04
Posts: 50

Re: [SOLVED] Gnome Shell "power off" not working.

Apparently there's some key gnome-shell functionality like the power menu, lock screen, and hotkeys that all rely on the presence of GDM.
Once I launched Gnome Shell from a GDM instance instead of directly from the command line, everything functioned properly.

Offline

#5 2022-01-23 11:45:42

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Gnome Shell "power off" not working.

RobinLikesToCode wrote:

I start gnome from the linux console with 'gnome-session --wayland'

If you want to try without GDM then see https://wiki.archlinux.org/title/GNOME#Wayland_sessions but note the caveats given in that section. Probably best to stick with GDM.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB