无法在锁定的屏幕保护程序上登录,必须使用“切换用户..”登录

n

我将屏幕保护程序配置为在一段时间后锁定桌面。有时,例如当我离开办公桌时,我更喜欢使用标题栏“锁定/切换帐户...”功能自己锁定屏幕。

尝试再次登录时,我输入了密码,但密码被标记为“无效”。

解决方法是,我必须使用鼠标转到标题栏中的“切换用户...”菜单,单击它,然后等待其他登录页面出现,这与屏幕保护程序锁定页面非常相似。 。(它还会列出其他用户名以供选择)

在那里,我输入相同的密码,并且密码被接受,我已经登录,出现统一桌面。

在控制台上登录也可以。

知道如何诊断和解决问题吗?

Linux xxx 3.19.0-28-generic#30-Ubuntu SMP Mon Aug 31 15:52:51 UTC 2015 x86_64 x86_64 x86_64 GNU / Linux

团结7.3.2

Compiz 0.9.12.1

在kern.log和syslog中似乎没有任何兴趣,但是这里是/var/log/auth.log中的内容

    Sep 17 17:20:29 xxx lightdm: pam_kwallet(lightdm-greeter:setcred): pam_sm_setcred
Sep 17 17:20:29 xxx lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Sep 17 17:20:29 xxx systemd-logind[843]: New session c13 of user lightdm.
Sep 17 17:20:29 xxx lightdm: pam_ck_connector(lightdm-greeter:session): nox11 mode, ignoring PAM_TTY :2
Sep 17 17:20:29 xxx lightdm: pam_kwallet(lightdm-greeter:session): pam_sm_open_session
Sep 17 17:20:29 xxx lightdm: pam_kwallet(lightdm-greeter:session): pam_kwallet: open_session called without kwallet_key
Sep 17 17:20:30 xxx lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "knb"
Sep 17 17:20:33 xxx CRON[37168]: pam_unix(cron:session): session closed for user munin
Sep 17 17:21:10 xxx lightdm: pam_kwallet(lightdm:auth): pam_sm_authenticate
Sep 17 17:21:10 xxx lightdm: pam_kwallet(lightdm:setcred): pam_sm_setcred
Sep 17 17:21:10 xxx lightdm: pam_unix(lightdm-greeter:session): session closed for user lightdm
Sep 17 17:21:10 xxx lightdm: pam_kwallet(lightdm-greeter:session): pam_sm_close_session
Sep 17 17:21:10 xxx lightdm: pam_kwallet(lightdm-greeter:setcred): pam_sm_setcred

这是我必须经过的屏幕的一些图片:

第1步-锁定屏幕保护程序

在这里,我没有输入常规密码。它仅包含ascii字符。

第2步-切换用户

切换用户...(选择我自己的帐户,我不需要切换到另一个帐户)。

第3步-常规登录

这行得通。

编辑:+150悬赏截止期限即将结束之前

我自己能够解决此问题(尽管遵循了所有提示和链接,但到目前为止所有〜5个答案中都包含了这些提示和链接)

I had to comment out this line in file /etc/pam.d/lightdm:

#auth sufficient pam_succeed_if.so user ingroup nopasswdlogin

I think the reason was that (many months ago, when I was the "only one" with physical access to my computer) I've added myself to the group that can login without password, and autologin to lightdn after boot/reboot. Then some day I changed this back to "login needed after reboot" but for some reason the previous no-login configuration was removed improperly from all the config files.

Now can login again :-)

A note on the bounty / "grading":

The first answerer was closest to the solution by saying something like "look closely at what's in /etc/pam.d". The answer was also the longest and the most thorough. However I checked all the other answers as valuable, that's all I can do for now, I think.

sibaz

In theory you can walk through the contents of /etc/pam.d and compare against the output from /var/log/auth.log to see what is going on.

In case you're not aware, each file in pam.d is a potential entry point to ask pam if you can get authority. In your case lightdm. The log entries are fairly self explanatory as far as figuring out which lines in the log come from which lines in the pam file.

According to the docs I found you should be able to add 'debug' to lines in pam.d files to get extra info in the log.

In my setup, I'm using kde, and kdm and I get lots of lines containing (kdm:auth) when I lock my screen and attempt to unlock it (with the wrong password), but nothing when it unlocks successfully. The is next to no comparison between pam.d/kdm and pam.d/lightdm which makes no sense to me, so maybe you can try swapping things around to see if the issue is in the lightdm pam module.

The only other thought I had, is whether you have interesting symbols or characters in your password. If the lightdm lock screen box, isn't coded properly you might find it's not sending what you type to the back end. Try changing your password to something basic (like 1234) to see if it works, if it does, then (change your password back obviously, but) it probably means there is nothing wrong with your pam configuration at least.

很抱歉,如果这样做没有太大帮助,除了查看将pam_debug.so添加到各种pam文件(请参阅http://manpages.ubuntu.com/manpages/hardy/man8/pam_debug.8.html)之外,看看会发生什么,我不确定还有什么建议。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

无法在锁定的屏幕保护程序上登录,必须使用“切换用户..”登录

来自分类Dev

如何切换用户?网站的Google登录

来自分类Dev

切换用户后Windows 10自动登录重置

来自分类Dev

React-native:在重新加载应用程序上,用户必须保持登录状态

来自分类Dev

React-native:在重新加载应用程序上,用户必须保持登录状态

来自分类Dev

进程登录与用户登录

来自分类Dev

从锁定的屏幕保护程序切换用户?

来自分类Dev

用户从登录屏幕上消失了

来自分类Dev

用户从登录屏幕上消失了

来自分类Dev

在登录屏幕上打开数字锁定

来自分类Dev

Google Cloud Endpoints-切换用户/需要重新登录

来自分类Dev

如何在腻子登录窗口中切换用户

来自分类Dev

登录ubuntu服务器时如何切换用户

来自分类Dev

修复Synergy,使其可在“登录/锁定”屏幕上使用

来自分类Dev

在Gevent应用程序上登录

来自分类Dev

使用删除桌面连接代理时在锁定屏幕上隐藏登录用户列表

来自分类Dev

在phonegap应用程序上使用Twitter登录

来自分类Dev

如何使用AWS Cognito在Facebook之类的应用程序上永久登录用户

来自分类Dev

无法登录

来自分类Dev

无法登录

来自分类Dev

Kubuntu无法登录,停留在登录初始屏幕上

来自分类Dev

Kubuntu无法登录,停留在登录初始屏幕上

来自分类Dev

无法在Blazor WASM Standalone应用程序上使用Google授权登录或获取访问令牌

来自分类Dev

iOS 8上的Facebook登录;登录切换后,应用无法运行

来自分类Dev

OWIN简单登录无法登录

来自分类Dev

在锁定屏幕或登录屏幕上更改屏幕名称

来自分类Dev

如何使用非登录Shell用户登录?

来自分类Dev

在单个登录页面中使用多个用户登录的Json登录

来自分类Dev

在单个登录页面中使用多个用户登录的Json登录

Related 相关文章

  1. 1

    无法在锁定的屏幕保护程序上登录,必须使用“切换用户..”登录

  2. 2

    如何切换用户?网站的Google登录

  3. 3

    切换用户后Windows 10自动登录重置

  4. 4

    React-native:在重新加载应用程序上,用户必须保持登录状态

  5. 5

    React-native:在重新加载应用程序上,用户必须保持登录状态

  6. 6

    进程登录与用户登录

  7. 7

    从锁定的屏幕保护程序切换用户?

  8. 8

    用户从登录屏幕上消失了

  9. 9

    用户从登录屏幕上消失了

  10. 10

    在登录屏幕上打开数字锁定

  11. 11

    Google Cloud Endpoints-切换用户/需要重新登录

  12. 12

    如何在腻子登录窗口中切换用户

  13. 13

    登录ubuntu服务器时如何切换用户

  14. 14

    修复Synergy,使其可在“登录/锁定”屏幕上使用

  15. 15

    在Gevent应用程序上登录

  16. 16

    使用删除桌面连接代理时在锁定屏幕上隐藏登录用户列表

  17. 17

    在phonegap应用程序上使用Twitter登录

  18. 18

    如何使用AWS Cognito在Facebook之类的应用程序上永久登录用户

  19. 19

    无法登录

  20. 20

    无法登录

  21. 21

    Kubuntu无法登录,停留在登录初始屏幕上

  22. 22

    Kubuntu无法登录,停留在登录初始屏幕上

  23. 23

    无法在Blazor WASM Standalone应用程序上使用Google授权登录或获取访问令牌

  24. 24

    iOS 8上的Facebook登录;登录切换后,应用无法运行

  25. 25

    OWIN简单登录无法登录

  26. 26

    在锁定屏幕或登录屏幕上更改屏幕名称

  27. 27

    如何使用非登录Shell用户登录?

  28. 28

    在单个登录页面中使用多个用户登录的Json登录

  29. 29

    在单个登录页面中使用多个用户登录的Json登录

热门标签

归档