termux / proot-distro

An utility for managing installations of the Linux distributions in Termux.
GNU General Public License v3.0
1.69k stars 197 forks source link

[Bug]: LockScreen authentication error #341

Closed HadiAwali closed 1 year ago

HadiAwali commented 1 year ago

Problem description

When I lock Screen or the screen auto locks I put the password of my user and press enter but there is error "authentication error" (Iam sure my user password is 100% correct and I tried to change it but the error still)

What steps will reproduce the bug?

export XDG_RUNTIME_DIR=${TMPDIR}
termux-x11 :0 >/dev/null &
proot-distro login ubuntu --user user --shared-tmp
export XDG_RUNTIME_DIR=${TMPDIR}
env DISPLAY=:0 cinnamon

What is the expected behavior?

The LockScreen will not unlock and you should force stop termux and termux-x11 and retype all the commands and not lock your screen again

Bug report policy acknowledgement

TomJo2000 commented 1 year ago

This doesn't sound like an issue with Proot Distro, but rather with Ubuntu.

It is possible you are experiencing a "silent lockout". Whereby a password is silently locked out after a specified number of failed attempts, or if it has a specified "expiry date". Running:

passwd -u your_username

as root (inside the proot distro) should unblock the login. You may or may not have to set a new password as well using:

passwd your_username
HadiAwali commented 1 year ago

This doesn't sound like an issue with Proot Distro, but rather with Ubuntu.

It is possible you are experiencing a "silent lockout". Whereby a password is silently locked out after a specified number of failed attempts, or if it has a specified "expiry date". Running:

passwd -u your_username

as root (inside the proot distro) should unblock the login. You may or may not have to set a new password as well using:

passwd your_username

I tried and didn't work Iam getting "Incorrect password" error and Iam sure 100% my password is correct and Also tried again to change my password and didnt work and I tested it on debian archlinux and ubuntu same error Screenshot_20230922-235002_TermuxX11

sylirre commented 1 year ago

Issue tracker here is only for PRoot Distro script. I do not accept, review and fix issues related to distribution or its compatibility with non-privileged execution inside PRoot environment.

This is stated inside bug report template body with check box that you have ticked for no reason to submit this ticket and then edited it.

WTF