On 2020-08-27 10:24, Jan-Erik Wichmann wrote:
I have some problem with my laptop freezing when the screen is
blank.
Basically every time I lock the screen (or close the lid) my laptop freezes and cannot be
woken up anymore.
The screen will stay black regardless of which buttons I press.
The only way to recover is to press and hold the power button to shut off the computer.
Obviously, that's not very convenient.
Even more so as I cannot even bring my laptop to someone else's desk to quickly show
them something; I first need to reboot at their place.
My coworkers are already making fun of linux and how it is not suitable for laptop use
and maybe I should consider switching to Microsoft Windows instead.
They say: "Well, it is open source, so why don't you just go ahead and fix the
problem yourself?"
I wish I could, but I do not even know where the issue is.
journalctl seems to be unhelpful (see below of the output right before the hard reboot).
So, any ideas of how to debug and hopefully solve this problem?
Thanks a lot!
I only have one laptop and it has been working fine for years. One thing to try first is
to edit
/etc/systemd/logind.conf to change HandleLidSwitch to
HandleLidSwitch=ignore
I don't recall if a reboot is needed for the change to take effect.
--
The key to getting good answers is to ask good questions.