Email or username:

Password:

Forgot your password?
Top-level
Alex Schroeder

How weird: I have found wlogout which can either lock the screen or suspend the laptop, but apparently not both at the same time – at least not by default. I guess what would be even better is to have cryptsetup-suspend installed as well so that when I suspend the laptop, it automatically locks and forgets the disk encryption password. It seems that cryptsetup-suspend would work without any input of mine, so I guess I could install that and just suspend. You'd have to know the disk password (but not my account password) to get back in? I'll give it a try but I'm still missing something.

1 comment
Alex Schroeder

This seems to work, but it's not super well integrated into the UI. When you suspend the laptop (using some other program), and then wake it up again, you're in a Linux console and have to provide the disk password again. This looks very different from what you see ordinarily but it works for me.
https://manpages.debian.org/bookworm/cryptsetup-suspend/cryptsetup-suspend.7.en.html

Go Up