-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display PAM messages #286
Comments
I'm not sure if there's anything i3lock can do on systems with a broken pam setup. Installing nix in debian seems to result in a (partially) broken system. |
We could display PAM messages. A reason why we aren’t already doing so is because it is not obvious how to implement the visual side of this. I think a good first start might be to display rectangular boxes with text in them, with line wrapping for long messages. Think smart phone notifications. These could show up above (or below?) the unlock indicator. |
On August 30, 2020 10:47:17 AM GMT+02:00, Michael Stapelberg ***@***.***> wrote:
These could show up above (or below?) the unlock indicator.
Exactly!
…--
Damien Cassou
|
I also have another use case for this: Arch Linux recently enabled pam_faillock by default which leads to a temporary 10 minutes account lock after 3 failed password attempts (by default). It took me some time to recognize this was the reason i3lock didn’t unlock after typing my password. I only understood after switching to an tty which shows a notice when trying to log in. It would be very useful, if i3lock could show that notice too. |
After my ARCH system was updated, I could not unlock it normally if I entered the correct password. What information should I provide to rule out this error
|
Please file a separate issue. Your problem sounds unrelated. |
I looked at implementing PAM messages (see #217 for an update), but it turns out that for this particular mis-configuration, PAM just logs an error to syslog and does not return a PAM message via its API. I’m closing this issue because implementing support for PAM messages doesn’t help with this issue. If you’re interested in better PAM support for other reasons, follow #217 |
I'm submitting a…
Current Behavior
When I install i3lock from nixpkgs on Debian (or another non-NixOS distribution), after the screen is locked, my password is not accepted.
Expected Behavior
When I type my password, it is accepted.
Reproduction Instructions
Expected: my computer being unlocked
Actual: a failed attempt
Other face the same problem: https://gist.github.com/rossabaker/f6e5e89fd7423e1c0730fcd950c0cd33.
Workaround: Install i3lock from Debian instead of Nixpkgs.
If you believe there is nothing for you to fix, I would at least appreciate an error message on the lock screen giving the reason why i3lock is failing.
Environment
Output of
i3lock --version
:The text was updated successfully, but these errors were encountered: