My Ubuntu 20.04 system is stuck in a login loop for one of the users, so I have narrowed it down to be a problem in one of my hidden files in my /home/username/ directory. Luckily, I have a backup from a couple of days ago using deja dup, and I am able to login and access tty3. From this, I can "sudo su" and "startx", and then access the deja dup GUI. My question is, can I restore deja dup from root without any problems? And if I do, do I set "original file locations" or specify my user?
EDIT
I'm using Ubuntu 20.04. I worked out the problem in the login loop, it turned out to be a corrupted .configuration file in my user. So I moved them all into a sub-folder and was able to login. This lost all of my configurations but is a small price to pay. I compiled a list of solutions from various sources here.
sudo suwill cause the GUI to start using the/root/user account & thus avoid any space issue in/home/$USER) – guiverc Apr 14 '23 at 03:29