My system has Ubuntu 11.10, and it will not shut down when asked to. It will reboot to the sign-in page. I have been using
sudo shutdown -h now to shut down, but is it any way to put this into the program so ask to shutdown it will without going to terminal?
The shutdown and reboot options can only be used by a non-privileged user if they are the only user logged in to the system. Chances are that your system thinks that there is another user on the system.
You can get a list of the active sessions using the
If you see more than one session listed, then this is the reason why the shutdown and reboot options fail and you get returned to the login screen instead.
I once had a problem where ConsoleKit believed that one of the daemons running on the system represented a user session and causing this problem, so that could be your problem.
Alternatively, if you've logged in multiple times consider logging out of your other sessions before trying to use the shutdown or reboot options.
What is the reason makes your Ubuntu not shutdown with buttons?
Try repairing your Desktop Env. from software center. This may help, may be.