Ever since I have Linux 5.10 (LTS), I have this problem.
What you see there is me entering xflock4 and being able to go back to the login screen within five seconds or so, but on the second try I wait a little longer for the screen to fall asleep and then I no longer am able to have my display show anything no matter what input I give to it.
So these are my issues:
My DE goes black after x minutes of inactivity, no matter what.
I can’t turn it back on in any shape or form, except for a miracle. The display gets out of sleep, but instead of the lock screen, it refreshes to black again and remains completely unresponsive to any output.
I tried dm-tool lock in terminal and it gives me the same issue. After five seconds of black screen, the display falls asleep and I’m unable to get out.
Even with xset dpms force off and with display power management completely turned off.
It goes out of sleep, but the screen stays black and is unresponsive.
Hi! xflock4 is just a shell script which queries the xfce session for the screen locking mechanism that it’s configured for. This is the first line of the file: # First test for the command set in the session's xfconf channel LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)
You can see what your session is actually using to lock the screen.
I don’t have much experience in this field and can be wrong, but my suspect is kernel. I had some issues before, and I’m facing it now with system suspend when inactive. It doesn’t work Switching kernels from 5.13 to 5.10 not help also (but you can try to switch, maybe it will help you). At the moment I’m waiting for update which fix it
There is one more option, but not sure if it will be safe, so creating backup on timeshift or other software you prefer will be good idea. If one of previous versions of kernel worked correctly, you can try to downgrade the package. Downgrading packages - ArchWiki
I don’t remember to change something here, but after you asked, I’m no more sure
Probably screensaver is installed to lock screen after blank. Xfce power manager don’t have that ability from what I’ve learned.
I vaguely remember having changed the lockscreen to light-locker, but I don’t know if that was this Manjaro version, or the previous one, or Arch Linux before that.
I’m downloading a clean one into virtualbox to see.
It’s the same.
I’m probably back on the same issues except light-locker works again.
password seems to be accepted when just running the light-locker-command --lock command.