Infinite loop: passcode entry -> lock-screen, repeat
#1
Question 
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?
For byte-sized tech and software tips check out my Danimations Digital Media tips channel on Youtube Big Grin
  Reply
#2
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.
  Reply
#3
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.
Cheers,
TRS-80

What is Free Software and why is it so important for society?

Protocols, not Platforms

For the most Linux-y experience on your Linux phone, try SXMO!

I am (nominally) the Armbian Maintainer for PineBook Pro (although severely lacking in time these days).
  Reply
#4
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.
For byte-sized tech and software tips check out my Danimations Digital Media tips channel on Youtube Big Grin
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  screen brightness Uturn 1 603 10-09-2023, 04:38 AM
Last Post: Eugo
  screen brightness locked Uturn 0 588 07-07-2023, 09:38 AM
Last Post: Uturn
  Backup and Home Screen Tinkering on Phosh jakfish 0 809 02-24-2023, 12:56 PM
Last Post: jakfish
  Screen timeout makes alarm and timer unusable... Eugo 9 3,795 10-03-2022, 01:41 AM
Last Post: Eugo
  Screen blocker is damaged ("loginctl unlock-session c1" problem) Gon 2 1,853 09-29-2022, 12:42 PM
Last Post: Firewave
  Disabling screen timeout for plasma mobile rp3 7 7,022 09-05-2022, 03:50 PM
Last Post: christev1
  |Plasma] Blank screen + pointer, SDDM error tuxmain 0 943 07-04-2022, 11:42 AM
Last Post: tuxmain
  Vivaldi Browser doesn't start keyboard for text entry tckosvic 1 1,931 05-24-2022, 11:32 PM
Last Post: grump_fiddle_reinstall
  How to return to "home screen" hiddenpotato 7 6,091 03-05-2022, 06:21 AM
Last Post: dcinoz
  Manjaro Welcome screen landscape JohanB89 2 2,123 11-12-2021, 01:13 AM
Last Post: acrux

Forum Jump:


Users browsing this thread: 1 Guest(s)