Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-28-2022, 02:01 PM
|
#1
|
Member
Registered: May 2020
Distribution: Ubuntu Budgie
Posts: 40
Rep:
|
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.
|
|
|
07-28-2022, 02:24 PM
|
#2
|
Member
Registered: May 2020
Distribution: Ubuntu Budgie
Posts: 40
Original Poster
Rep:
|
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".
|
|
|
07-28-2022, 10:06 PM
|
#3
|
Member
Registered: May 2020
Distribution: Ubuntu Budgie
Posts: 40
Original Poster
Rep:
|
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.
|
|
|
07-29-2022, 04:58 AM
|
#4
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,418
|
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.
|
|
|
07-29-2022, 09:23 AM
|
#5
|
Member
Registered: May 2020
Distribution: Ubuntu Budgie
Posts: 40
Original Poster
Rep:
|
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.....
|
|
|
07-29-2022, 10:27 AM
|
#6
|
Member
Registered: May 2020
Distribution: Ubuntu Budgie
Posts: 40
Original Poster
Rep:
|
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?
|
|
|
08-23-2022, 05:01 AM
|
#7
|
Member
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37, 14.2, 15.0
Posts: 698
Rep: 
|
/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.
|
|
|
All times are GMT -5. The time now is 10:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|