When Shutting down or hibernating it just goes to the login screen

view full story

http://askubuntu.com – Title says all. When I choose shut down or hibernate if my computer has been on a while, it just goes to the log-in screen. If I choose the shut down option there, it does nothing. It only happens if I leave it on for a while. I do not have auto login enabled. I am running 11.10 ( with all the latest updates). I can shut down using the terminal. I am a Linux newbie, so please help. Thanks! (HowTos)