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:

  1. Ctrl+Alt+F1 after locking to repaint screen.
  2. Win+L twice to hide screen content (the dock will still be visible, though)
  3. after logging back Alt+F2, type r, enter. To reset Gnome and fix broken dock.
Share:
9,372

Related videos on Youtube

Christian
Author by

Christian

Updated on September 18, 2022

Comments

  • Christian
    Christian over 1 year

    enter image description here

    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
      Christian over 5 years
      @PRATAP yes, but with the same buggy behavior
    • Christian
      Christian over 5 years
      I exactly followed these steps and it solved the problem.
    • Christian
      Christian over 5 years
      Unfortunately, the problem appeared again.
    • Imaskar
      Imaskar over 5 years
      Seems 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
      d a i s y over 5 years
      Update the system with sudo apt update && sudo apt upgrade or you can do fresh installation of 18.04.2.
  • d a i s y
    d a i s y over 5 years
    It 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
    Imaskar over 5 years
    The bug was in dash-to-dock. I don't know which package contains it, probably gnome-software. Just update all packages. Deleting the only answer is surely useful thing to do, go on.
  • Natim
    Natim over 5 years
    I realized that the upgrade fixed almost the problem, but if the laptop is docked I still have it.
  • Natim
    Natim over 5 years
    Trying to upgrade to linux-headers-4.15.0-45-generic
  • Imaskar
    Imaskar over 5 years
    Upgrading kernel won't help. Try installing latest dash to dock or disable it completely. Also note, that ubuntu dock is a derivative of dash to dock, so take a look at it, if it is enabled in your system (it is optional).