On Wednesday, 26 June 2019 11:34:47 BST Neil Bothwick wrote: > 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
Could it be loginctl is there to confirm if a local button operation can run / sbin/poweroff, rather than actually running the command as shown in the sddm config file? -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.