I tried adding a new user and it works, I can login just fine with that user. So I tried removing (renamed it) my home directory, and that also fixes it.
Then I tried removing the .config/monitors.xml file, that didn't help. So now I have to try each file/directory in there one by one... but there are hundreds.
Any ideas on what specific files I should try moving/deleting to make my account work again?
2 Answers
I thought it was gonna take hours but I found .config/dconf/user to be the culprit. Removing that file restored my ability to login without ending up in a black screen.
I had this problem, and found out that it was because of my radeon driver. According to Can't Log In or Black Screen After Logging In with Ubuntu I blacked list it and everything worked just fine.