I honestly don't have a clue. I guess watch it, see if you can see anything. Also, open a console and enter
tail -f /var/log/messages > /root/whyareyouloggingout.txt
then let it do it's thing.
Then, hopefully, next time you log in, there will be some message in the text file.