On Wed, 26 Jun 2019 11:20:20 +0100, Mick wrote:

> I just looked at another installation.  The default sddm configuration
> file (/ usr/share/sddm/sddm.conf.d/00default.conf) shows this:
> 
> [General]
> # Halt command
> HaltCommand=/usr/bin/loginctl poweroff
> 
> In an OpenRC system there is no loginctl.  Consequently, unless we
> define a separate config in /etc/ to use shutdown (with sudo?) it won't
> work.  This systemd-ism may be worth a bug report.

It won't work on systemd either, loginctl has no poweroff command, it
should be systemctl poweroff, which is symlinked to /sbin/poweroff here
so setting it to that should work for modern and ancient systems alike :P


-- 
Neil Bothwick

Nothing is foolproof to a sufficiently talented fool.

Attachment: pgpvmhIqFbV8R.pgp
Description: OpenPGP digital signature

Reply via email to