ubuntu不能正常登陸

在ubuntu登陸界面,輸入密碼後,出現一個界面後一閃而過又返回登陸界面。查看auth.log發現以下錯誤redis

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 directory
May 15 15:42:20 tim-vm lightdm: PAM adding faulty module: pam_kwallet.so
May 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 lightdmubuntu

 

google以後,在askubuntu發現了一樣的錯誤http://askubuntu.com/questions/161736/ubuntu-box-just-redisplaying-login-screen-after-update。session

是由於.Xauthority文件權限的問題,這個權限都變成了root.ui

將其更改成用戶名便可google

相關文章
相關標籤/搜索