Resume from hibernation doesn't require password

Hi,

I’m using community edition i3wm of Manjaro. I’m able to hibernate & resume successfully from a swap partition. But, after resume, Manjaro doesn’t ask for any password. The desktop is shown directly.

How to fix this?

I use systemctl hibernate to hibernate.

You can use xss-lock to automatically lock your screen in case of suspend or hibernation. Install that package and add the following line in your i3 config and logout and logback in:

xss-lock i3lock

Also see Session lock - ArchWiki.

1 Like