Today I tried logging in in ubuntu but when I enter my password it keeps going to a black screen with text and then it gets me back to the login screen. When I press ctrl + alt + F1 I can login in the console. However when I start the console it says -bash: export: '/etc/profile' not a valid identifier. Also, it says the .Xauthorization filesize is 0. I have tried every solution I could find so far but nothig worked.
-Finn