Last night my laptop got stuck while starting, and I (perhaps foolishly) restarted it manually. Since then (I suppose), Ubuntu seems unable to get past the login screen. I can login as guest, but every attempt to access with my username, no matter what the graphical interface, just takes me back to the login screen after a brief glimpse of some terminal lines.
So far, I tried:
- Installing and making GDM default.
rm ~/.Xauthority, then
sudo dpkg-reconfigure lightdmrun
ls -lah. Output seems fine, but tried
chown username:username .Xauthoritynonetheless.
ls -ld /tmp, output seems fine, but done
sudo chmod a+wt /tmpanyway.
chmod a+rwxt /tmpand
chmod +t /tmp.
cat ~/.xsession-errorsonly gets me a
No such file or directory answer.
That's it. I don't really know what I'm doing, so I could have done some trivial mistake. Any guess? Also, I don't know if the problem is due to the forced restart or not. Right before it happened, I had some trouble upgrading.
I've gone trough the solutions suggested in Ubuntu 12.10 gets stuck in a Login Loop. Typing in terminal
cat ~/.xsession-errors gives me a very long output. Would it be useful if I post it?
Sorry, the solution proposed in the duplicate didn't worked.