On Wednesday, 26 June 2019 16:16:36 BST Mick wrote: > On Wednesday, 26 June 2019 15:22:45 BST Peter Humphrey wrote: > > On Wednesday, 26 June 2019 11:20:20 BST 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. > > > > Here, it shows 'HaltCommand=/sbin/shutdown -h -P now'. > > Where 'here' is ... where? :-)
# grep Halt /usr/share/sddm/sddm.conf.d/00default.conf # Halt command HaltCommand=/sbin/shutdown -h -P now (I hadn't seen this message when I replied just now.) -- Gentoo testing system gcc 9.1.0, sys-kernel/gentoo-sources 5.1.15 QT 5.12.3, KDE frameworks 5.59.0, KDE plasma 5.16.2 KDE apps 19.04.2 incl KMail 19.04.2-r1 (5.11.2), akonadi 19.04.0 dev-db/mariadb-10.3.16 x11-drivers/xf86-video-amdgpu 19.0.0 dev-libs/amdgpu-pro-opencl 18.20.684755