wingpanel-indicator-session
wingpanel-indicator-session copied to clipboard
Lock menu doesn't work
Prerequisites
- [x] I have searched open issues for duplicates.
Describe the bug
Hitting the 'lock' item in the session indicator doesn't do anything.
To Reproduce
Steps to reproduce the behavior:
- Have elementary OS 5.1.6 Hera installed
- Click on lock in the session indicator
- Nothing happens
Expected behavior
It should lock the Laptop
Screenshots or screen recordings

Platform Information

- [ ] I'm using the latest version from git that I've manually compiled
- [x] I'm using the latest released stable version
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
This didn't happen to me in elementary 5.1.6, but it is happening in elementary 6 Odin (same system/hardware). I can't seem to lock my system on elementary 6 (latest updates installed) using the GUI or the keyboard, so I killed wingpanel and started it back up and get the following:
sudo /usr/bin/io.elementary.wingpanel
(io.elementary.wingpanel:26935): GLib-GObject-WARNING **: 14:11:49.448: invalid (NULL) pointer instance
(io.elementary.wingpanel:26935): GLib-GObject-CRITICAL **: 14:11:49.448: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(io.elementary.wingpanel:26935): libnm-CRITICAL **: 14:11:49.448: ((libnm-core/nm-connection.c:193)): assertion '<dropped>' failed
(io.elementary.wingpanel:26935): io.elementary.wingpanel.keyboard-CRITICAL **: 14:11:49.482: string_slice: assertion '_tmp3_' failed
(io.elementary.wingpanel:26935): io.elementary.wingpanel.keyboard-CRITICAL **: 14:11:49.486: string_slice: assertion '_tmp3_' failed
(io.elementary.wingpanel:26935): io.elementary.wingpanel.keyboard-CRITICAL **: 14:11:49.486: string_slice: assertion '_tmp3_' failed
(io.elementary.wingpanel:26935): io.elementary.wingpanel.keyboard-CRITICAL **: 14:11:49.486: string_slice: assertion '_tmp3_' failed
(io.elementary.wingpanel:26935): wingpanel-WARNING **: 14:11:49.566: SessionManager.vala:60: Error registering client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
(io.elementary.wingpanel:26935): wingpanel-WARNING **: 14:11:49.566: Application.vala:46: Failed to register with Session manager
and then when I try to lock via the GUI I get:
(io.elementary.wingpanel:26935): io.elementary.wingpanel.session-WARNING **: 14:12:03.055: Indicator.vala:229: Unable to lock: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.ScreenSaver was not provided by any .service files