Unable to login due to Xauthority issue on Mint 19
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Unable to login due to Xauthority issue on Mint 19
Hey guys, I tried to boot to Mint today and my login failed due to an Xauthority error. I tried googling for a solution but most solutions were years ago but i decided to try them anyways. I removed my .Xauthority and now I'm getting a log in loop where i get no errors when I type in my pass but I get stuck in thisnlog in loop. How do i fix this?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Unable to login due to Xauthority issue on Mint 19
delete both:
and reboot
Code: Select all
.ICEauthority
.Xauthority
Re: Unable to login due to Xauthority issue on Mint 19
I did. I mentioned I did that in the OP. What happened after is I begun getting the loop without any errors. Both .ICEauthoritytrytip wrote: ⤴Sun Oct 14, 2018 11:17 am delete both:and rebootCode: Select all
.ICEauthority .Xauthority
& .Xauthority are gone yet I'm still getting a login loop similar to https://www.youtube.com/watch?v=OG4deLa_vK8 from 0:08 to 0:16
Re: Unable to login due to Xauthority issue on Mint 19
At the login screen, press
see what the error message is.
Ctrl+Alt+F1
, log in, run
Code: Select all
startx
Re: Unable to login due to Xauthority issue on Mint 19
I ran startx multiple times but I got a black screen instead after that.gm10 wrote: ⤴Mon Oct 15, 2018 2:46 am At the login screen, pressCtrl+Alt+F1
, log in, runsee what the error message is.Code: Select all
startx
Re: Unable to login due to Xauthority issue on Mint 19
Press
Ctrl+Alt+F1
again at the black screen, should show you any error messages. But I'll go with "you uninstalled your desktop environment". Which one were you using?Re: Unable to login due to Xauthority issue on Mint 19
Ah, might have to
Try this first:
Ctrl+Alt+Backspace
instead.Try this first:
Code: Select all
apt install --reinstall mint-meta-cinnamon cinnamon
Re: Unable to login due to Xauthority issue on Mint 19
Hmm using Ctrl+Alt+Backspace on the blackscreen does nothing either.gm10 wrote: ⤴Tue Oct 16, 2018 4:33 am Ah, might have toCtrl+Alt+Backspace
instead.
Try this first:Code: Select all
apt install --reinstall mint-meta-cinnamon cinnamon
Reinstalling cinnamon using
Code: Select all
apt install --reinstall mint-meta-cinnamon cinnamon
Re: Unable to login due to Xauthority issue on Mint 19
Well, just so you've tried it, do
I don't expect this to be the cause here but you never know.
Also
with newuser being any name you want, see if you can log into that user then.
Code: Select all
sudo chown -Rc $USER:$USER $HOME
Also
Code: Select all
sudo adduser newuser
Re: Unable to login due to Xauthority issue on Mint 19
Changing the Owner from root to me didn't work. The looping still occurs.gm10 wrote: ⤴Tue Oct 16, 2018 12:22 pm Well, just so you've tried it, doI don't expect this to be the cause here but you never know.Code: Select all
sudo chown -Rc $USER:$USER $HOME
Alsowith newuser being any name you want, see if you can log into that user then.Code: Select all
sudo adduser newuser
Trying to log in with the new user didn't work as well unfortunately. I still get the loopnwith the new user.
Re: Unable to login due to Xauthority issue on Mint 19
Yep, it's what I thought. Something is missing or corrupt at the system level. I suggest you got through /var/log/syslog and in particular /var/log/xorg.0.log to see if you can find the reason. And just reinstall any packages that come up or that you can think of. Any Nvidia/AMD cards btw and you messed up the drivers maybe?
Frankly if a clean install is an option consider just doing that, might be faster.
PS: Oh, did you check whether your disk is full? Run
Frankly if a clean install is an option consider just doing that, might be faster.
PS: Oh, did you check whether your disk is full? Run
df / /home
and check the Use% column. So many login loop threads I hadn't noticed I hadn't asked yet in this one.Re: Unable to login due to Xauthority issue on Mint 19
I checked the logs but i've no idea what to look for.gm10 wrote: ⤴Tue Oct 16, 2018 1:00 pm Yep, it's what I thought. Something is missing or corrupt at the system level. I suggest you got through /var/log/syslog and in particular /var/log/xorg.0.log to see if you can find the reason. And just reinstall any packages that come up or that you can think of. Any Nvidia/AMD cards btw and you messed up the drivers maybe?
Frankly if a clean install is an option consider just doing that, might be faster.
PS: Oh, did you check whether your disk is full? Rundf / /home
and check the Use% column. So many login loop threads I hadn't noticed I hadn't asked yet in this one.
Um, turns out my /home is %100 full. I just went ahead and delete my games folder and lo and behold i was able to login!
What causes the system to actually loop once it gets full though?
Re: Unable to login due to Xauthority issue on Mint 19
In this case because it could re-create the .ICEauthority/.Xauthority files that you deleted anymore, which it however requires to set up the X and dbus sessions. And generally temporary files and such. It will also loop if you fill up the / root partition.DaekTwentri wrote: ⤴Wed Oct 17, 2018 4:09 am Um, turns out my /home is %100 full. I just went ahead and delete my games folder and lo and behold i was able to login!
What causes the system to actually loop once it gets full though?
Re: Unable to login due to Xauthority issue on Mint 19
I see, that's pretty annoying. Any way i can set a small portion of my drive to not be used so i can prevent this from happening again?gm10 wrote: ⤴Wed Oct 17, 2018 4:15 amIn this case because it could re-create the .ICEauthority/.Xauthority files that you deleted anymore, which it however requires to set up the X and dbus sessions. And generally temporary files and such. It will also loop if you fill up the / root partition.DaekTwentri wrote: ⤴Wed Oct 17, 2018 4:09 am Um, turns out my /home is %100 full. I just went ahead and delete my games folder and lo and behold i was able to login!
What causes the system to actually loop once it gets full though?
Also, what causes the ICEauthority error in the first place?
Re: Unable to login due to Xauthority issue on Mint 19
You do get a warning when your disk space gets low, you probably just clicked that away.
The authority error is often caused by running some application with sudo that you should not have, but it's possible that in this case it was already due to the full partition, it might have been unable to update the existing file already.
The authority error is often caused by running some application with sudo that you should not have, but it's possible that in this case it was already due to the full partition, it might have been unable to update the existing file already.
Re: Unable to login due to Xauthority issue on Mint 19
I probably did haha
Thank you gm10 for helping me with this headache!
Thank you gm10 for helping me with this headache!