Linux Mint Keep Asking For Password Over and Over Again
Linux Mint Keep Asking For Password Over and Over Again
Hello Guys
I'cant log in to my linux mint desktop
when i turn on my pc an unusually log in screen show up asking for passw
when i enter my correct passw the screen is disapeer and and show up again after few seconds
not to mention that :
the passw is correct
Usually this window didn't show up
I'cant log in to my linux mint desktop
when i turn on my pc an unusually log in screen show up asking for passw
when i enter my correct passw the screen is disapeer and and show up again after few seconds
not to mention that :
the passw is correct
Usually this window didn't show up
Re: Linux Mint Keep Asking For Password Over and Over Again
I don't know if this would pertain to your situation, but I experienced a similar situation when I upgraded 18.3 to 19.2.
I was presented with the login screen and after entering it, it behaved the same way as you described.
However the OS was a virtualbox installation so I don't know if the resolution that worked for me would work for you.
I narrowed-downed the problem to the application vino.
I entered the text console and ran
It was very strange that happened and I have no explanation for it.
I was presented with the login screen and after entering it, it behaved the same way as you described.
However the OS was a virtualbox installation so I don't know if the resolution that worked for me would work for you.
I narrowed-downed the problem to the application vino.
I entered the text console and ran
sudo apt purge vino
and when I returned to VT7 I was able to login.It was very strange that happened and I have no explanation for it.


Re: Linux Mint Keep Asking For Password Over and Over Again
gm10 wrote: ↑Tue Oct 23, 2018 2:11 pmThe typical reasons for a login loop have nothing to do with encryption:
1. Full / root or /home partition, check Use% columns in the output of this commanddf / /home
2. Messed up permissions, runsudo chown -Rc $USER:$USER $HOME
3. Corrupt authentication caches, runrm ~/.Xauthority ~/.ICEauthority
4. If none of that helps, runstartx
and check the error message(s)
All commands to be run in a virtual console,Ctrl+Alt+F1
to get there,Alt+F7
to get back to the login screen.
Re: Linux Mint Keep Asking For Password Over and Over Again
Search the installation section. I had a login loop and by adding nomodeset I was able to get through this constand loop and actually log in for real.
Re: Linux Mint Keep Asking For Password Over and Over Again
I noticed a couple of days ago, that I wasn't able to remove some (personal) files from my home folder. I also wasn't able to create new folders. For some reason my permissions to my home folder were changed to read-only. I ended up to delete the files by starting the file manger as super user (from the context menu). Then I had to go to sleep, so I shut down my PC. The next day I wasn't able to log into the graphical user interface, and got the following error message when I tried:
Code: Select all
Could not update ICEauthority file
Code: Select all
sudo chown -Rc $USER:$USER $HOME
Then I deleted .ICEauthority and .Xauthority. After that I stopped getting the above mentioned error message "Could not update ICEauthority file", but still couldn't log in to the desktop. When I moved to the terminal and tried "startx", I got
Code: Select all
Timeout in locking authority file
Code: Select all
sudo chown -R [myusername]:[myusername] /home
So the situation is that I'm not able to use my Linux Mint installation, and don't know why. I'm sure that I didn't change the permissions of my home folder by myself. I also didn't do anything else out of the ordinary during that day. The most important thing to me would be of course to get my installation back to normal. Do you or does anybody else know what's going on, and what could I try solve the problem? Thanks!
Last edited by Ademeion on Thu Jan 16, 2020 9:01 pm, edited 2 times in total.
Re: Linux Mint Keep Asking For Password Over and Over Again
Run this:Ademeion wrote: ↑Tue Jan 14, 2020 6:56 pmWhen I moved to the terminal and tried "startx", I gotCode: Select all
Timeout in locking authority file
Code: Select all
rm ~/.Xauthority* ~/.ICEauthority*
And to undo that, runAdemeion wrote: ↑Tue Jan 14, 2020 6:56 pmI remembered another command for changing permissions, and tried that:Code: Select all
sudo chown -R [myusername]:[myusername] /home
Code: Select all
sudo chown root:root /home
Also in the future please make your own threads for your own problems, it's rude (and against the forum rules) to hijack somebody else's support thread, related or not.
Re: Linux Mint Keep Asking For Password Over and Over Again
Thank you very much for your reply.
and then this:
Does that change your advice about the root:root thing?
I already did that. That's what I meant with "Then I deleted .ICEauthority and .Xauthority." To be sure, should I do it again?
I'm sorry, I remembered that one a little wrong. What I did was first this:gm10 wrote: ↑Tue Jan 14, 2020 7:02 pmAnd to undo that, runAdemeion wrote: ↑Tue Jan 14, 2020 6:56 pmI remembered another command for changing permissions, and tried that:Code: Select all
sudo chown -R [myusername]:[myusername] /home
Code: Select all
sudo chown root:root /home
Code: Select all
sudo chown -R [myusername]:[myusername] ~/
Code: Select all
sudo chown -R [myusername]:[myusername] /home/[myusername]
There are no other users.
I'm sorry. I thought that what I did would be a good thing to do in a support forum. I saw no difference in the original poster's problem and mine, so I thought it would be good to keep the topic tightly in one thread. Perhaps I have also gotten the idea of thightness from bug reporting, were it's often emphasized that you shouldn't create a new report for a bug that has been reported before. To me personally the same topics being repeated over and over again in different threads, and help and answers being "spread thin" doesn't seem like a good thing, but I understand that it's not the only aspect to consider here, and of course one must follow the forum rules. I'm not unfamiliar with the term "thread hijacking", but I honestly didn't know that my previous post is considered that.
Re: Linux Mint Keep Asking For Password Over and Over Again
You did not run that yet, there is a subtle but important difference in the command to address the locking error you were receiving.
Re: Linux Mint Keep Asking For Password Over and Over Again
OK, sorry. I re-run the command with the asterixes and got "No such file or directory".gm10 wrote: ↑Tue Jan 14, 2020 10:07 pmYou did not run that yet, there is a subtle but important difference in the command to address the locking error you were receiving.
I noticed that for some reason I again have only the reading permission for my home folder. I tried again this:
Code: Select all
sudo chown -Rc $USER:$USER $HOME
What would you suggest next. Thanks again for what you have done so far.
Re: Linux Mint Keep Asking For Password Over and Over Again
Post
Code: Select all
ll -d /home ~
Re: Linux Mint Keep Asking For Password Over and Over Again
The command "ll" gave me "No such command", but I found out it to be (assumably) the same as "ls -l, which I used instead:
Code: Select all
drwxr-xr-x 1 root root 22 tammi 13 05:14 /home
dr-xr-xr-x 1 [myusername] [myusername] 884 tammi 14 11:26 /home/[myusername]
Re: Linux Mint Keep Asking For Password Over and Over Again
Sounds like you messed up the system quite a bit...
Here's your permissions problem, you removed write permissions from your user folder. To fix:Ademeion wrote: ↑Wed Jan 15, 2020 5:59 pmCode: Select all
drwxr-xr-x 1 root root 22 tammi 13 05:14 /home dr-xr-xr-x 1 [myusername] [myusername] 884 tammi 14 11:26 /home/[myusername]
Code: Select all
chmod 755 ~
Re: Linux Mint Keep Asking For Password Over and Over Again
Why do you say I messed the system up? The problem started with changed permissions, and it's very unlikely that I would have accidentally changed them. Also, my Mint version is Cinnamon, so perhaps "ll" is not a part of it. (I didn't notice that this is an Linux Mint Xfce forum when I posted my question).
That brought back my graphical user interface – great! All permissions weren't back to normal, which created some error messages, but I was able to change the permissions from Nemo, and now everything seems to be back normal again.gm10 wrote: ↑Wed Jan 15, 2020 8:21 pmHere's your permissions problem, you removed write permissions from your user folder. To fix:Code: Select all
chmod 755 ~
Again, what do you mean by "you broke"? Anyway, thank you again very much for your help. I'm going to do a thorough SMART test to my disks to see if there's a problem there. I already run MemTest (or initially 50% of it, because of lack of time), and it went OK. I have everything backed up, so it's not a catastrophe if there's something more serious wrong with my system (I have learned my lesson...).
Re: Linux Mint Keep Asking For Password Over and Over Again
That's okay, I've moved it. It has de facto become your thread now anyway...

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Re: Linux Mint Keep Asking For Password Over and Over Again
Thank you. I don't know if it's sad or funny (surely embarrassing), but I noticed a little earlier that I thought I was replying to a different forum thread. That's why I said "I saw no difference in the original poster's problem and mine". I had many Linux Mint Forum threads open in tabs at the same time, and at some phase, jumping back and forth between them, I mixed them up. If I may defend myself a little, I was both physically and mentally exhausted from work and in a hurry to go to sleep.
Re: Linux Mint Keep Asking For Password Over and Over Again
The easiest way to avoid that is to stick with the forum rules (I'll assume that you've read them by now) and just start a new thread for a new question.

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Re: Linux Mint Keep Asking For Password Over and Over Again
Ademeion wrote: ↑Thu Jan 16, 2020 6:51 pmWhy do you say I messed the system up? The problem started with changed permissions, and it's very unlikely that I would have accidentally changed them. Also, my Mint version is Cinnamon, so perhaps "ll" is not a part of it. (I didn't notice that this is an Linux Mint Xfce forum when I posted my question).
ll
is defined in the default ~/.bashrc
of all Linux Mint editions. Things you unintentionally changed for the worse. As you said, there were more permissions issues, you seem to have unintentionally modified or removed at least your
~/.bashrc
and "who knows what else". That wasn't meant to be a snarky comment - you seem to be defensive about it - that was just a heads up that more things may be not be like they should be.Also while it's always a good idea to check your hardware health, I doubt that was the problem here.