-1

I have been a Linux (Ubuntu) user for over 5 years now, currently running Ubuntu 18.04 on my Acer laptop. I always put my laptop to sleep instead of shutting it down to resume from whatever I was doing quickly. Sometimes if I try restarting it, it boots to the advanced section saying some part of the disk is corrupt and requires I run fsck. I have never run into a major issue performing this operation until recently. After executing fsck on the /dev/sda4 (my main hard drive) I couldn't log in again . It became an infinite login loop. I tried every solution I found online but none worked. I created another user through tty and could successfully log into the new account, but not my own.

What else can I try?

Zanna
  • 72,312

1 Answers1

0

I switched to tty using ctrl + alt + f3 on the Ubuntu login screen. Entered the username and password, then logged in.

I deleted the /home/<account-name>/.config folder which I believe harbors some files that might be executed on login and after that I was able to log in successfully.

Maybe the fsck operation messed up some files there. This after 2 weeks of headache and searching the web for solutions.

Zanna
  • 72,312