Skip to main content
Topic: shutdown hangs forever; doesn't shutdown (Read 623 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

shutdown hangs forever; doesn't shutdown

whenever i try to shutdown my computer (either clicking the xfce4 button to shutdown or typing shutdown/poweroff command), it hangs forever at this point:



so i'm forced to shutdown by mantaining the power button

the only way i've found, is using 'shutdown -h', which looks like it works, but is inconvenient

Re: shutdown hangs forever; doesn't shutdown

Reply #1
By chance are you using a Dell PC?

Re: shutdown hangs forever; doesn't shutdown

Reply #2
the only way i've found, is using 'shutdown -h', which looks like it works, but is inconvenient

The options -h, -p, and -r all start the shutdown sequence, but with a different end result.

Code: [Select]
sudo shutdown -h now # halt the system
sudo shutdown -p now # power off the system, equivalent to 'shutdown -Ph now'
sudo shutdown -r now # reboot the system

elogind also makes it easy to poweroff/reboot, and without root

Code: [Select]
loginctl poweroff
loginctl reboot