The strangest thing started happening earlier this week: each time I try to log into my laptop account (ubuntu 12.04), I get a very short black screen with a few lines of text, then I get sent back to the login screen. Intriguingly enough, I can perfectly log into the guest account and into another non-admin account I had created before. I can access the command line via ctrl+alt+F1 and log myself into my account, but then I have no clue as to how further investigate this issue. Any help greatly appreciated.
-
just a guess, but try logging in to Unity-2D instead– JazzJul 20, 2012 at 23:57
-
In case you don't know, here's how askubuntu.com/questions/74300/how-to-login-into-unity-2d– JazzJul 21, 2012 at 0:00
-
Thanks for input. I've tried that, but the behaviour is exactly the same: it brings me back to the login screen.– Gil TomásJul 21, 2012 at 0:13
Add a comment
|
1 Answer
Log in on a TTY (ctrl+alt+f1), run this:
sudo chown -R YOURUSERNAME:YOURUSERNAME /home/YOURUSERNAME/
Of course, replace YOURUSERNAME with your actual username (don't read over the semicolon).
Now, try logging in again.
-
Wonderful, it worked! I must have accidentally given ownership of my account to the root user. Jul 21, 2012 at 0:25