0

I'm trying not to make a duplicate of a previous question, but I do have the same problem. I'm using gdm3 and have purged, and reinstalled multiple times. A different user 'test' and sudo startx work. So it seems to be a config issue, but I'm unsure. I've exhausted everything save reinstalling Ubuntu.

After following this question, I am stumped as to what to do because I'm not seeing the same files. I'm looking at the following section:

"move some of the common configuration files out of the way:"

mv ~/.config ~/.config.old --moved
mv ~/.local ~/.local.old --moved
mv ~/.cache ~/.cache.old --moved
mv ~/.nvidia-settings-rc ~/.nvidia-settings-rc.old --not found
mv ~/.nv ~/.nv.old -- not found
sudo systemctl reboot

This didn't resolve my problem, and I want to believe that this can solve it, but I haven't figured it out. I'm going to purge gdm3 once more and reboot before reinstalling.

I have fresh installs of nvidia drivers, and again. I can get a desktop to show up, but not for my user account.

1 Answers1

0

From the comments to mchid

My solution followed the instructions here. The simple answer is that I just kept moving things under $HOME until it worked. Once I was able to log back in, I moved everything back except .profile. I was able to login with .profile renamed as .profile.old. I don't know if that will fix your specific issue, but you may try executing a mv <filename> <filename.old> for everything under $HOME until you can log back in. For me, this was painful as there are tons of answers saying hundreds of things to try.

I'm saying mv which is for moving files, but if you're new, it's a way to just quickly start renaming things.

Steps that I took

  • ctrl + alt + F2
  • ls -al
  • start mv commands to rename anything that starts with a .
  • try a couple at the top or bottom
  • ctrl + alt + F1 (it could also be F7)
  • try to login

Keep doing that until you win. I hope this helps someone fix the login loop issue in hours rather than all day. Please do start with this post as that might fix it quickly.