Posts: 23
artor
Joined: 29 Sep 2015
#1
I am running MX-14 and have been trying to close down the computer but after only a few seconds the machine restarts? Is there a way i could successfully close down the machine from the terminal?
Posts: 23
artor
Joined: 29 Sep 2015
#2
Have typed: shutdown -h now in the terminal but the machine still restarts?
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#3
try: sudo halt

from the cli.

Are you leaning on your power button?
artor
Posts: 23
artor
Joined: 29 Sep 2015
#4
Tried 'sudo halt' and the machine restarted again. No i'm not leaning on the power button
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#5

Code: Select all

systemctl poweroff
Does the above do anything?
Posts: 850
fatmac
Joined: 26 Jul 2012
#6
shutdown -P

(-P Halt action is to turn off the power.)
man shutdown
~~~~~~~~
Also try poweroff or halt with or without the -f flag