Anytime I log into Ubuntu, it shows the desktop and when I am about to access my files it goes back to the log in screen. This doesn't happen if I log into safe mode. I don't know why it's doing this. I also don't want to use the safe mode because you can't do all the things you normally can in safe mode.
Login in safe mode. In a terminal window:
If you're comfortable logging in on a text console, instead of into a graphical login, then after a login failure use Ctrl-Alt-F1 to switch to a text console. (Ctrl-Alt- switches between the consoles, I forget which number gets the graphical one in Ubuntu; try a few, be patient). Then login, same usercode and password, and look at some log files.
In your home directory,