LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-28-2022, 02:01 PM   #1
Quee
Member
 
Registered: May 2020
Distribution: Ubuntu Budgie
Posts: 40

Rep: Reputation: 1
Budgie Infinite Login Loop


I had been experimenting with Anaconda/Python and decided to remove Anaconda from my system. Which I think I was successful in doing, but in the process it seems a lot of things disappeared and my workstation is now locked into the dreaded Infinite Login Loop. In other words, my workstation is ILL.

I hit CTRL ALT F3 and can login into terminal. Ubuntu 22.04 is still there. I did updates and upgrades, uninstalled and re-installed the budgie desktop, no luck. I looked for but did not find the Xauthority file, which if I can locate this, perhaps I can fix this issue. But I looked in the home directory, where it should be, and there is nothing (so I hope my backup recovery works....).

Any help would be greatly appreciated, this is my primary work computer.
 
Old 07-28-2022, 02:24 PM   #2
Quee
Member
 
Registered: May 2020
Distribution: Ubuntu Budgie
Posts: 40

Original Poster
Rep: Reputation: 1
Update: I have located the .Xauthority file, it is in /var/lib/lightdm. But....when I try to navigate to that folder, I get "Permission denied".
 
Old 07-28-2022, 10:06 PM   #3
Quee
Member
 
Registered: May 2020
Distribution: Ubuntu Budgie
Posts: 40

Original Poster
Rep: Reputation: 1
I've run through 3 or 4 "Fix Ubuntu Login Loop" procedures; none of them worked. But all of my apps seem to be OK, I think it's only the user that is corrupted. Finally decided to create a new user with admin powers, and restore a backup to the new user. I'm in the midst of that restore process now. I back up every day using Deja Dup, so hopefully I can get back to where I was this morning. We'll see.
 
Old 07-29-2022, 04:58 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,418

Rep: Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718
Quote:
I looked for but did not find the Xauthority file,
It's a hidden file in the /home/user directory so you would need to enable Show Hidden Files in your File Manager.

Quote:
when I try to navigate to that folder, I get "Permission denied".
You generally need root (sudo) permissions outside the user /home directory, at least to move or writ to a file. Glad you got things working.
 
Old 07-29-2022, 09:23 AM   #5
Quee
Member
 
Registered: May 2020
Distribution: Ubuntu Budgie
Posts: 40

Original Poster
Rep: Reputation: 1
I did look for it in /home/usr, but it was not there. I did a search and found it in /var/lib/lightdm, but that folder would not let me in, even as root.

The restore process did work, and I am up and running. But this entire episode has been strange, so I will likely do a clean install this weekend and restore again. Just to make sure I've purged all the demons.....
 
Old 07-29-2022, 10:27 AM   #6
Quee
Member
 
Registered: May 2020
Distribution: Ubuntu Budgie
Posts: 40

Original Poster
Rep: Reputation: 1
My plan is to do a clean install of Ubuntu 22.04, then Budgie desktop, then the restore with Deja Dup. Any thoughts or advice on this process?
 
Old 08-23-2022, 05:01 AM   #7
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 698

Rep: Reputation: 160Reputation: 160
/home/your_name/.Xauthority
Every user has their own Xauthority, each is different and contains a unique COOKIE.
The .Xauthority file is missing for some users who have been logged out, sometimes it is empty.
Note: .Xauthority starts with a DOT, so it is a hidden file.

If you have an old .Xauthority file, you can delete it (before starting X).
XORG will create a new one, with the right contents.

During the upgrade to Slackware 15.0, I made the mistake of copying over from the old system the config files such as .config.
I managed to copy .Xauthority too.
That file is not compatible from one installation to the next, as it records a COOKIE given to that user by XORG.
For me, it caused the startup of XORG to fail, in strange ways, like hanging the startx process and that console for an indefinite time.

Let the new system create a new .Xauthority for you.

Deleting .Xauthority after X is running is also a really-bad-thing to do. That user will no longer be able to interact with their X-session or any of the programs that they have started (because they do not have the matching COOKIE).

Last edited by selfprogrammed; 08-23-2022 at 05:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu Budgie 18.04 Review: The Perfect Blend of Ubuntu and Budgie Desktop LXer Syndicated Linux News 0 05-17-2018 02:45 PM
LXer: Ubuntu Budgie 17.04 Beta 2 Brings Latest GNOME 3.24 Apps, Budgie 10.2.9 Desktop LXer Syndicated Linux News 0 03-24-2017 08:03 PM
Kicking Off Budgie 11: Budgie Desktop To Begin Decoupling From GNOME, Will Use Qt jeremy Linux - News 2 01-30-2017 02:18 PM
LXer: Ubuntu Budgie Remix 16.10 Beta 2 Officially Released with Budgie Desktop 10.2.7 LXer Syndicated Linux News 0 09-29-2016 06:18 PM
[SOLVED] infinite loop that isnt infinite? frieza Programming 2 10-27-2010 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration