My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back.
But when i log in to other user which is not a sudo-user it works fine. i tried each option mentioned in the post "Ubuntu gets stuck in a login loop". Also i tried with "gdm" instead of "lightdm" it also gives same problem.
Tried with 'Gnome' also..