Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Whenever I try to login to my Ubuntu desktop, it asks for login in a loop.
I tried to login from console (Ctrl+Alt+F3), but it's also not working. Console also asks for login in a loop. Now I am unable to login.
What were the changes you made to your system since the last time login worked? You can hold the Shift key as you boot, and get into "single user mode" (that single user is root), and mv your user's .bashrc startup file (mv /home/youruserid/.bashrc /home/youruserid/.bashrc.bad) out of the way. exit single user mode, and try to login. When that works, do bash -x ~/.bashrc.bad to debug.
root
), andmv
your user's.bashrc
startup file (mv /home/youruserid/.bashrc /home/youruserid/.bashrc.bad
) out of the way.exit
single user mode, and try to login. When that works, dobash -x ~/.bashrc.bad
to debug.