Skip to content
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

Cannot unlock in Arch Linux #65

Open
felixonmars opened this issue Jun 11, 2020 · 9 comments
Open

Cannot unlock in Arch Linux #65

felixonmars opened this issue Jun 11, 2020 · 9 comments
Labels

Comments

@felixonmars
Copy link
Member

When the screen-lock appears, it shows "password error, please retry" on mouse move, and the password input box does not accept any keyboard inputs.

I have tried to replace "common-auth" with "system-login" in /etc/pam.d/ukui-screensaver-qt because we don't have "common-auth" on Arch, but unfortunately this doesn't fix the issue.

@liuyuanpeng176
Copy link
Collaborator

Can you try to modify the /etc/pam.d/ukui-screensaver-qt as follows
old:
@include common-auth
auth optional pam_gnome_keyring.so
new:
@include system-auth

@liuyuanpeng176
Copy link
Collaborator

@felixonmars

@felixonmars
Copy link
Member Author

No it still behaves the same way.

@felixonmars
Copy link
Member Author

The following errors are repeating in system journal:
2020-06-12-144121-3e27bd

@felixonmars
Copy link
Member Author

Putting the following lines instead fixes the errors and makes it work as intended:

#%PAM-1.0
auth        include     system-login
account     include     system-login
password    include     system-login
session     include     system-login

@liuyuanpeng176
Copy link
Collaborator

sorry,i was wrong .then,i tried this, it's ok

auth include system-auth
account include system-auth
password include system-auth
session include system-auth

@liuyuanpeng176
Copy link
Collaborator

liuyuanpeng176 commented Jun 12, 2020

Thanks for your help ! @felixonmars

@felixonmars
Copy link
Member Author

Any plan to implement the change upstream? Currently this is still a downstream workaround.

@liuyuanpeng176
Copy link
Collaborator

I will write it in ukui-screensaver-qt, but comment it. Record this difference in the readme file。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants