This question already has an answer here:

this is my first time using Ubuntu 14.04 version.

I'm not sure what I've done, but I can't shut down my laptop. But if I log in as the guest, then it will shut down if I press the button and I'm not getting used to terminal. How can I solve the problem?

marked as duplicate by Eliah Kagan, Sylvain Pineau, Radu Rădeanu command-line Sep 12 '14 at 12:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 4
    Please be specific with your question. Something like what happened instead of shutdown (black screen, nothing happened), how you shutting down your laptop, after what event (download software, edit file, or so) this happened, etc. Cheers. – Abdillah Jun 21 '14 at 1:34
  • Do you use cairo-dock? – sameermw Jul 17 '14 at 9:01

A general (and hard) way to shutdown your computer is

  • Press Ctrl+Alt+T for showing terminal
  • Type sudo shutdown -h now and press Enter
  • Type in your password (if prompted) press Enter again
  • Wait sometime
  • What happen if I always shutdown the pc with this command ? – Nullpointer Dec 27 '16 at 5:31
  • If you've succeed using this command, then it has no side-effect as far as I experienced. But, be aware of any unsaved work you have. Better closing all programs first. – Abdillah Dec 27 '16 at 7:17