Ubuntu 18.04 to 20.04.1 the screen doesn't lock or go blank at the set time

Asked by Rick T

I upgraded from 18.04 to 20.04.1 and the screen doesn't lock or go blank at the set time.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Rick T
Solved:
Last query:
Last reply:
Revision history for this message
Rick T (ratulloch) said :
#1

I switched display managers from lightdm to gdm and it fixed the issue

sudo systemctl status display-manager

sudo dpkg-reconfigure lightdm

systemctl status gdm.service

sudo apt install --reinstall ubuntu-session

reboot machine

Info about the issue:
https://bbs.archlinux.org/viewtopic.php?id=150017

https://askubuntu.com/questions/1245071/cant-lock-screen-with-shortcut-on-ubuntu-20-04-gnome