shutdown problem

If none of the more specific forums is the right place to ask

shutdown problem

Postby satimis » 2017-08-31 00:12

Hi all,

poweroff
shutdown -h now

doesn't shut down the machine. Please advise. Thanks

Regards
satimis
satimis
 
Posts: 490
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: shutdown problem

Postby 4D696B65 » 2017-08-31 00:29

Are you doing this as root?
User avatar
4D696B65
 
Posts: 1993
Joined: 2009-06-28 06:09

Re: shutdown problem

Postby GarryRicketson » 2017-08-31 00:40

The version of Debian might be relevant.
Are you logged as "root" when you run the command ?
What about :
Code: Select all
# systemctl poweroff
User avatar
GarryRicketson
 
Posts: 4216
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: shutdown problem

Postby satimis » 2017-08-31 01:04

GarryRicketson wrote:The version of Debian might be relevant.
Are you logged as "root" when you run the command ?

Tried both, as root and with sudo

A black screen hanging resulted

What about :
Code: Select all
# systemctl poweroff

Your advice works both as root and with sudo

Thanks

Regards
satimis
satimis
 
Posts: 490
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: shutdown problem

Postby Bulkley » 2017-08-31 01:55

Code: Select all
systemctl poweroff

This should work as a user; no need for root.

Note that you can reboot with
Code: Select all
systemctl reboot
Bulkley
 
Posts: 5267
Joined: 2006-02-11 18:35

Re: shutdown problem

Postby satimis » 2017-08-31 02:39

Bulkley wrote:
Code: Select all
systemctl poweroff

This should work as a user; no need for root.

Note that you can reboot with
Code: Select all
systemctl reboot

It works as user. Thanks

Tried
Code: Select all
$ systemctl poweroff

It also works but the black screen hanging a while before turning off

satimis
satimis
 
Posts: 490
Joined: 2004-09-11 11:50
Location: Hong Kong

Re: shutdown problem

Postby GarryRicketson » 2017-08-31 02:56

Good to see it works, I don't know why the traditional shutdown commands do not work though, seems like they should, but the newer versions of Debian have changed considerably, guess it is another "new feature".
User avatar
GarryRicketson
 
Posts: 4216
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: shutdown problem

Postby Bulkley » 2017-08-31 03:51

GarryRicketson wrote: . . . I don't know why the traditional shutdown commands do not work though, seems like they should, but the newer versions of Debian have changed considerably, guess it is another "new feature".


Code: Select all
shutdown -h now
works for me. I'm wondering if the big desktops are slow to unload. Being one of those terribly out of date old timers I habitually close all running programs before shutting down. Maybe that makes a difference. My WM is Openbox which shuts down easily.
Bulkley
 
Posts: 5267
Joined: 2006-02-11 18:35


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable