Closed theCollectiv closed 3 years ago
This is most likely a PAM issue, not an i3lock issue.
I don’t know how to make this work, and we generally recommend running i3lock as unprivileged user only.
Thx for reply. So I guess there is no work around available (I don't know anything about PAM) Normally I wouldn't run into this issue ...but I had a script with sudo empowered (with i3lock and pm-suspend [needs sudo] in it). So I guess I got to break the script in two scripts to deal with it.
Works fine for me. Remember that sudo password (this is typically your password) != root user password
Note that by default Ubuntu has an invalid password field set for root, effectively making it impossible to login as root.
https://askubuntu.com/a/681739
Also, I don't know what you are trying to do but you could also launch i3lock with your normal user from inside your script: sudo -u <your username> i3lock
I'm submitting a…
Current Behavior
sudo i3lock
does not let you unlock the screen ...only switch off by hardware and restart possible buti3lock
works fineExpected Behavior
I was expecting that
sudo i3lock
behaves likei3lock
...an let u unlock the screenReproduction Instructions
Environment
Output of
i3lock --version
:Using Ubuntu 20.04