3

I have noticed that if I shutdown Ubuntu 14.04 from a remote terminal via ssh and running sudo shutdown now, the machine does not power off.

If I use the GUI (shut down using Unity on the machine itself) then the machine does power off.

If I look on the console of the machine after issuing the remote shutdown, there are messages relating to modem manager which seems to keep restarting.

Is this a known issue?


Please note this is not a duplicate of Shutdown does not power off computer as I'm using ssh to connect.

2
  • Are you using ssh?
    – Tim
    May 16, 2015 at 20:51
  • 1
    @Tim yes I am connecting via ssh. I've added that to the question
    – codecowboy
    May 16, 2015 at 20:53

1 Answer 1

1

You are using the wrong commands, Try one of below:-

sudo shutdown -h now
sudo poweroff
sudo halt -p
sudo init 0
sudo shutdown -p now

For forced poweroff (not shutdown):-

  sudo poweroff -f
2
  • Thanks. I have tried all of these. The p needs to be capitalised i.e -P but still did not work. The only thing which worked was sudo poweroff
    – codecowboy
    May 18, 2015 at 14:51
  • Please click on the tick next to the answer if it worked. May 18, 2015 at 14:54

Not the answer you're looking for? Browse other questions tagged .