Ubuntu – Shutdown or Restart only logs me out

11.10logoutrestartshutdown

My workstation at work is running 11.10 (lightdm). Shutting down or restarting has always worked up till last week.

My workstation is generally left on through the week and shutdown at weekends.

When I click either Restart or Shutdown, it just logs me out.

Is there any logs I can see that will point to errors?

What might cause this? I haven't got auto login checked (as one answer suggested).

sudo halt and sudo reboot both work… so why doesn't the UI buttons?

Best Answer

I suspect it is because you have another session open (someone else logged in) Before you attempt shut down again, click on the user applet and see that no one else is logged in. If they are Shutdown and restart will only log you out.