Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #239702

Lock screen with Gnome 3 login greeter

From Richard Forst <sterbl.ta@tutanota.com>
Newsgroups linux.debian.user
Subject Lock screen with Gnome 3 login greeter
Date 2021-09-05 11:40 +0200
Message-ID <CTWN4-7t3-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I switched to use i3. So now after the screen goes blank, it won't display greeter asking to login again. I read somewhere else on the internet that gdm3 (I use Debian 11 with kernel 5.10.0-8-amd64) no longer uses screensaver to lock the session. Instead it uses dbus to activate login asking user to enter id, password for login. However I don't find any related solutions that work. The closest one is [1] (sorry it's Ubuntu env not Debian). But executing that command (in [1]), 

    dbus-send --type=method_call \    
            --dest=org.gnome.ScreenSaver \
            /org/gnome/ScreenSaver \
            org.gnome.ScreenSaver.Lock

login screen doesn't come back. So what command should I use so that when the system becomes idle, the login screen will be active? 

I tried configuring gnome-control-center's Privacy > Screen Lock > Automatic Screen Lock set to on (round icon moved to right). And Automatic Screen Lock Delay is set to 30 seconds. However, it's still active (when becoming idle, screen won't be lock with login display). 

What steps should I perform in order to lock the screen with login being displayed? I know there is xscreensaver. But this time I want to use login instead of xscreensaver, which is nice of course. 

Thanks

[1]. https://askubuntu.com/a/983451

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Lock screen with Gnome 3 login greeter Richard Forst <sterbl.ta@tutanota.com> - 2021-09-05 11:40 +0200
  Re: Lock screen with Gnome 3 login greeter Richard Forst <sterbl.ta@tutanota.com> - 2021-09-05 13:00 +0200
    Re: Lock screen with Gnome 3 login greeter Greg Wooledge <greg@wooledge.org> - 2021-09-05 15:20 +0200
      Re: Lock screen with Gnome 3 login greeter Richard Forst <sterbl.ta@tutanota.com> - 2021-09-06 16:10 +0200

csiph-web