ubuntu不能正常登录

王朝学院·作者佚名  2016-05-27
窄屏简体版  字體: 小  |  中  |  大  |  超大  

Ubuntu不能正常登录在ubuntu登录界面,输入密码后,出现一个界面后一闪而过又返回登录界面。查看auth.log发现如下错误

May 15 15:42:19 tim-vm lightdm: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)May 15 15:42:20 tim-vm lightdm: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directoryMay 15 15:42:20 tim-vm lightdm: PAM adding faulty module: pam_kwallet.soMay 15 15:42:20 tim-vm lightdm: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "tim"May 15 15:42:24 tim-vm lightdm: pam_unix(lightdm-greeter:session): session closed for user lightdm

google之后,在askubuntu发现了同样的错误http://askubuntu.com/questions/161736/ubuntu-box-just-redisplaying-login-screen-after-update。

是因为.Xauthority文件权限的问题,这个权限都变成了root.

将其更改为用户名即可

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
© 2005- 王朝網路 版權所有 導航