This question already has an answer here:
- Ubuntu gets stuck in a login loop 45 answers
I have ubuntu server 12.10 and installed ubuntu-desktop to access it via GUI and changed the default runlevel to 5. Now I get the GUI login screen with my username (display name) but when i enter my password the screen just flicks and comes back to login screen ( doesnt give me any error). the same user works fine with same credentials in CLI.
strange thing is when i click on guest, it logs me in straight away and works fine.
Any solution please.
PS: I am new to Ubuntu/linux, Keeping in mind, please be basic and simple.