PINE64
Infinite loop: passcode entry -> lock-screen, repeat - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Manjaro on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=130)
+---- Thread: Infinite loop: passcode entry -> lock-screen, repeat (/showthread.php?tid=14330)



Infinite loop: passcode entry -> lock-screen, repeat - danimations - 06-30-2021

Back when I was running Manjaro ARM w/ Phosh Beta 4 or 5, I first experienced a problem whereby my screen would lock, and I would find myself in an infinite loop of entering passcode, and returning to the lock-screen.

I recently did a complete reinstall of the OS to Beta 11. After a week or so, the problem of screen-locking seems to be back, but intermittently.

Has anyone else experienced this problem? What might be causing it? And if it's a known bug, is somebody working on it?


RE: Infinite loop: passcode entry -> lock-screen, repeat - Merc - 06-30-2021

I've had this happen a few times where my Linux machine would (seemingly) randomly stop accepting my user password, on my desktop computer and my PinePhone. I searched it up and, somewhat unsurprisingly, repeatedly failing to enter the correct user password (typically 3 times) in a short period of time will disable your ability to use sudo for a length of time (usually 10 minutes). This has the effect of locking you in your lock screen seemingly randomly if you're unaware that this was a possibility.

You can see this happening by plugging a keyboard into your PinePhone, hitting Ctrl+Alt+F1 and attempting to login only for it to show you that you have been locked out of using sudo for repeatedly entering an incorrect password. You can observe the same thing by simply SSHing into the PinePhone and trying to login that way.

To get around this, login as root (again either through using a keyboard plugged into the PinePhone or SSH, note though that sshd will by default not let you login as root user so if you haven't set PermitRootLogin yes in /etc/ssh/sshd_config already you're out of luck on this option) and simply enter
Code:
faillock --user alarm --reset
"alarm" in my username, you would enter you own obviously. This should fix the problem, assuming that this is the problem you've been experiencing. Enter Ctrl+Alt+F7 to take you back to the lock screen (if F7 doesn't bring you to the lock screen try F6, F5, etc...).

I went ahead and did the dirty work of forcefully shutting the phone down and that seems to resolve the issue as well though is not ideal for obvious reasons.


RE: Infinite loop: passcode entry -> lock-screen, repeat - TRS-80 - 07-06-2021

This happens to me on Mobian, especially upon (re-)boot. The problem seems to be not waiting long enough (for modem to initialize maybe?). If I wait until little up caret at bottom (to unlock screen) starts bouncing up and down (which is after cellular signal indicator appears on lock screen), then no problem. So that's what I do now and no problem ever since.


RE: Infinite loop: passcode entry -> lock-screen, repeat - danimations - 07-12-2021

Thanks Merc, TRS-80... I guess I'll wait and see if this problem returns. I don't think I've experienced it since writing this post. Hopefully it will be washed away with a future update, if it hasn't been already.