My computer wont allow me to login unless its as guest. I have pressed Ctrl+Alt+F1 and can login using my administrator account there, but not in the normal interface. I have done updates and upgrades from the terminal, and also tried to create a new admin user, and assigned the user to the same group as the administrator account, but cant login to that user either from the normal login screen.
When I login the screen flashes black and then returns to the login screen Is there a way to view an error log file to see what the error is that is returning me to the login screen? How can I do this to figure out what the problem is?
I have also followed instructions on this page Ubuntu gets stuck in a login loop.
It looks like a similar problem, but the fix did not work for me :(
I would like to get back into my admin account and my programs but I am stuck in guest
chown username:username .Xauthority
in this cocmmand you need to replaceusername
with your administrative account name (case sensitive)/etc/login.defs
and/etc/adduser.conf
files if you have changed your uid outside of the limits provided in those configuration files. See this answer