So I came to start up my computer as usual and was prompted to log in unusually. I couldn't log into my account or the guest account. It just kept bringing me back to the log in screen. I then searched for solutions, of which I tried
sudo chmod -R u+w /home/[username]
sudo chmod -R ug+rwx /home/[username]
chown -R [user-name]:[user-name] /home/[user-name]
sudo mv .Xauthority .XauthorityBak
None of these worked so I then created a live usb with boot repair on it, but still nothing.
These might make sense to some people though:
http://paste.ubuntu.com/12336440
http://paste.ubuntu.com/12336605
How can I fix this login issue?
chown -R
its home directory or set permissions equally to all files in there. Some special files/directories need special permissions or to be owned by root to work!cp /home/YOURUSERNAME/.XauthorityBak /home/YOURUSERNAME/.Xauthority
. That will also keep your backup copy.