Ubuntu 20.04: Screen randomly goes black and sometimes logs out

in flag

I have an issue where my screen randomly goes black and sometimes logs me out of my session. It sometimes happens every few minutes and multiple times in a row, or sometimes doesn't happen for a few hours.

Ubuntu 20.04.3 LTS
Dell Latitude 7280

Empirically, I have noticed that the issue:

  1. doesn't seem related to power; the issues occurs whether charging or not
  2. doesn't seem related to the screen; the issue occurs regardless of whether my external monitor is connected or not. The issue still occurs if I lower the refresh rate of my primary display (no external monitor connected)

What I would like to do:

  1. Investigate whether this is a package, driver, or hardware issue
  2. Avoid a complete re-install of the OS

Thanks for your help!

cn flag

Try this:

sudo systemctl stop systemd-ask-password-wall.service

It worked perfectly for me, I'm not getting black screen / logged out anymore.


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.