I'm running openbox
with Arch Linux, and looks like the old console kit interface has been long gone,
%> dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
So what's the interface to use now?
shutdown
? I have always been using theshutdown
command to shutdown my system, should I be usingsystemd
? – PlasmaPower Mar 30 '14 at 20:22systemctl $command
because it encourages the habit of using systemd commands. – jasonwryan Mar 30 '14 at 20:26systemd
to shutdown my system, chrome was complaining about not being shutdown properly when I usedshutdown
. +1, I didn't know that you had to have alogind
session. – PlasmaPower Mar 30 '14 at 20:31