On Wednesday, 26 June 2019 16:49:11 BST Arve Barsnes wrote: > On Wed, 26 Jun 2019 at 17:13, Neil Bothwick <[email protected]> wrote: > > > 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? > > > > No, not when I tried it > > > > % loginctl poweroff > > Unknown operation poweroff. > > > > This is confirmed by the list of commands in the loginctl man page. > > On the other hand, poweroff and reboot are valid arguments to > /bin/loginctl, installed by elogind > > Regards, > Arve
OK, I got this partly wrong. 1. There is a /bin/loginctl installed by elogind in openrc, but there is no / usr/bin/loginctl, which is what the sddm default settings file mentions. 2. Running '/bin/loginctl poweroff' from a console, while logged in as a user works fine. 3. Despite the above, some installations of mine do not react to sddm button presses to shutdown/reboot, but an older installation does. On some installations which I suspect are running some (older) default sddm theme there are no shutdown/reboot buttons shown at all. :-/ 4. The installation which has buttons showing and reacts to it is an old installation, which has been hacked to death. At some point in its life it had an /etc/sddm/ config file, modified to do stuff which the default settings would not do. This file is no longer there, so sddm should be reading the default settings under /usr/share/sddm/ but I don't know if some settings were cached by sddm and this is why this PC works as it should, but others don't. All this has left me confused and I'm thinking startx in a terminal is not such a bad idea after all ... -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.

