18.04 lock screen stopped working - screen freezes
9,372
You can track the bug here. Dash to Dock
Gnome extension is causing it.
Upgrading packages helped for me.
Also known temporary workarounds:
- Ctrl+Alt+F1 after locking to repaint screen.
- Win+L twice to hide screen content (the dock will still be visible, though)
- after logging back Alt+F2, type
r
, enter. To resetGnome
and fix broken dock.
Related videos on Youtube
Author by
Christian
Updated on September 18, 2022Comments
-
Christian over 1 year
When I try to lock the screen it just freezes. It is not possible to log on again. It used to work perfectly and suddenly it does not. However, I am not aware of any recent updates or similar.
I would try to reinstall the component that is responsible for locking the screen. Which one would that be?
-
Christian over 5 years@PRATAP yes, but with the same buggy behavior
-
Christian over 5 yearsI exactly followed these steps and it solved the problem.
-
Christian over 5 yearsUnfortunately, the problem appeared again.
-
Imaskar over 5 yearsSeems like I have the same problem. Ctrl-Alt-F1 helps temporarily, as it allows me to log in back. But I'd like a proper fix. Also applications dock (on the left) breaks at the same time. Unfortunately, I haven't noticed which particular update brought this behavior, but it was something from last month. And I have it on two different machines, both ubuntu 18.04.
-
d a i s y over 5 yearsUpdate the system with
sudo apt update && sudo apt upgrade
or you can do fresh installation of 18.04.2.
-
-
d a i s y over 5 yearsIt seems more likely to be correct but not a proper answer and seems as comment. Please provide a detail answer with describing which package to upgrade and how to otherwise it will be deleted.
-
Imaskar over 5 yearsThe bug was in
dash-to-dock
. I don't know which package contains it, probablygnome-software
. Just update all packages. Deleting the only answer is surely useful thing to do, go on. -
Natim over 5 yearsI realized that the upgrade fixed almost the problem, but if the laptop is docked I still have it.
-
Natim over 5 yearsTrying to upgrade to linux-headers-4.15.0-45-generic
-
Imaskar over 5 yearsUpgrading kernel won't help. Try installing latest dash to dock or disable it completely. Also note, that
ubuntu dock
is a derivative ofdash to dock
, so take a look at it, if it is enabled in your system (it is optional).