1

I am new to ubuntu and I already have some problems with it, whenever I try to shutdown my screen freezes forever and I have to hold power bottom to turn off my laptop.

I know there were similar questions but fixes that were posted didn't solve my problem except one, writing sudo swapoff -a && systemctl poweroff in terminal.

But what bothers me is that I don't know whether it is safe to shut down my laptop in this way, I would be grateful to know some other ways to shutdown that won't damage my hardware.

  • 2
    What is you laptop make/model ? Did you upgrade to 16.04.04? Does the screen freeze instantly or after displaying something else? – RobAu Apr 13 '18 at 18:03
  • It's not entirely clear why you'd assume a forced shutdown should "damage my hardware". In fact, holding the power button is an alternative. – mikewhatever Apr 13 '18 at 18:05
  • 2
    Two answer at least the question that concerns you most: yes, the code snippet you show is a safe way to shutdown. But you (or we) should figure out, why you cannot shutdown the usual way. – PerlDuck Apr 13 '18 at 18:05
  • 3
    @mikewhatever Pressing the power button for 5 seconds (as I understand the question) is NOT safe. It's like unplugging the power cord. – PerlDuck Apr 13 '18 at 18:07
  • When you shutdown "normally" and the purple Ubuntu screen appears, can you press ESC to toggle between the purple screen and the shutdown protocol (a bunch of text messages)? These messages might narrow down the error. – PerlDuck Apr 13 '18 at 18:10
1

You need to investigate what is blocking the shutdown process.

Do

CTRL+ALT+F2

Then

CTRL+ALT+DEL

Followed by ESC to display shutdown steps. You should now be able to see what's wrong and post it here as comment.

1

You can shut down your laptop with command line. Use this command

$ sudo init 0
  • 1
    This is just another way to say systemctl poweroff. – PerlDuck Apr 13 '18 at 21:14

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.