Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 9527  / 2 Years ago, fri, july 8, 2022, 7:33:16

Today I restarted Ubuntu 12.04, after installing some packages and having updated firefox. When I came in the login screen, I typed my password. After about one second processing, the screen blacked out and returned to the login screen. It gave no errors (like invalid password).



I read something about lightdm causing this issue, so I tried to install gdm in TTY. When I tried to do this, TTY gave me an 'incorrect password (or login)' error. I am very sure my password was correct and I even tried ticking it in the command section so I could rule out changes in the keyboard layout.



I would be very thankful if someone could help me out of this problem since I am now unable to use Ubuntu and similar questions won't solve my problem (since i can't get in TTY altogether).



Edit: I forgot to tell that 2D login and guest login don't work either. I've tried to use mv ~/.Xauthority ~/.Xauthority.old, which didn't work (the tty didn't give a reaction and it didn't resolve the problem).



I also tried to install gdm (to stop using lightdm) using sudo apt-get install gdm and it responded with:



sudo: /usr/lib/sudo/sudoers.so must be only be writable by owner
sudo: fatal error, unable to load plugins


other than this, I haven't tried anything yet.



Edit(2): I tried the command sudo rm ./.Xauthority, which gave the same error as above. Do I need to reïnstall (or retrieve a backup of) my system or can it be saved?



Edit(3): I solved the sudo problem (thanks Shantanu!). I needed to change ownership of several (sudo-related) files. I used pkexec to change ownership using the terminal. I now realize that this shift in ownership may be the cause of my loginloop problem. sudo does work now, so I'll try some other commands. I would be thankful if someone can offer me help on this matter!


More From » 12.04

 Answers
7

The answer on this (similar) question solved my problem: Ubuntu gets stuck in a login loop. (the sudo chmod a+wt /tmp code)



However I now have a problem with my color scheme (the colors seem unaligned), but I'll post this in another question since it isn't very related to this problem.



Thanks for all the help!


[#30531] Saturday, July 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tonhorn

Total Points: 196
Total Questions: 118
Total Answers: 95

Location: Vanuatu
Member since Fri, May 13, 2022
2 Years ago
tonhorn questions
Tue, May 10, 22, 12:01, 2 Years ago
Sat, Dec 18, 21, 06:23, 2 Years ago
Thu, Jun 16, 22, 04:03, 2 Years ago
Fri, Apr 1, 22, 05:23, 2 Years ago
;