I am using Ubuntu 14.04.2 LTS, and after a power failure, I cannot login.
The computer has been working fine for a few months before this suddenly happened.
- After an login attempt, screen blacks out for about 15 seconds, and returns to the login screen.
- I can log in as a guest without a problem
- I can log in as myself through tty1~tty6
I tried/checked the following with no success:
.Xauthorityownership didn't work
chown username:username .Xauthority
Changing the user directory rights didn't work
sudo chmod -R u+w /home/[username]
I tried meddling with lightdm
sudo mv ~/.Xauthority ~/.Xauthority.backup
sudo service lightdm restart
There was nothing in
lightdm, but it had the exact same issue
/tmpdirectory does show
None of these solutions I found on-line worked. Can anyone please help?
When I typed
sudo tail /var/log/lightdm/lightdm.log, there are 10 lines showing. (All starting with
Activating VT 7 Activating login1 session c3 Session pid=8697: Greeter connected version=1.10.4 Session pid=8697: Greeter start authentication for [username] Session pid=8769: Started with service 'lightdm', username [username] Session pid=8769: Got 1 message from PAM Session pid=8697: Propmpt greeter with 1 message User /org/freedesktop/Accounts/User 1000 changed (repeated 3 times)
Also, when I type
ls /usr/share/xsessions/, it shows
sudo grep 'lightdm:' /var/log/auth.log | tail gives the following, all starting with
pam_ck_connector(lightdm:session): nox11 mode, ignoring PAM_TTY :0 pam_unix(lighdm:session): session closed for user [username] PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory PAM adding faulty module: pam_kwallet.so pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0) pam_ck_connector(lightdm-greeter:session): nox11 mode, ignoring PAM_TTY :0 PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory PAM adding faulty module: pam_kwallet.so pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user [username]" (this one starts with sudo: instead of lightdm:) [username] : TTY=tty1 ; PWD=/home/[username] ; USER=root ; COMMAND=/bin/grep lightdm: /var/log/auth.log