Lockscreen doesn't work when using lightdm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am trying to make my laptop lock the screen upon unsuspending. I have made sure that the setting is enabled in 'Settings > Privacy > Screen lock > Lock screen on suspend', but my laptop opens without a lock screen when I open it or press a key. This only started since upgrading to Ubuntu 20.04. Previously, I would have a locked screen and be prompted for a password upon unsuspending.
$ gsettings get org.gnome.
true
$ lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04
$ apt-cache policy gnome-shell
gnome-shell:
Installed: 3.36.2-
Candidate: 3.36.2-
Version table:
*** 3.36.2-
500 http://
100 /var/lib/
3.
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell 3.36.2-
ProcVersionSign
Uname: Linux 5.4.0-31-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue May 26 21:28:39 2020
DisplayManager: lightdm
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
InstallationDate: Installed on 2018-07-16 (680 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to focal on 2020-04-23 (33 days ago)
summary: |
- Cannot enable 'Lock screen on suspend' + Lockscreen doesn't work when using lightdm |
Please run this command and tell us what you get:
gsettings get org.gnome. desktop. lockdown disable-lock-screen
Also your lock delay is set to 1800 (30 minutes?) so please try:
gsettings set org.gnome. desktop. screensaver lock-delay 0 desktop. screensaver lock-enabled true
gsettings set org.gnome.
and then log out and in again to be sure.