Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: What the devil?!! [or Plasma teething problems Ia.]
Date: Wed, 26 Jun 2019 10:35:04
Message-Id: 20190626113447.42a1e91d@digimed.co.uk
In Reply to: Re: [gentoo-user] Re: What the devil?!! [or Plasma teething problems Ia.] by Mick
1 On Wed, 26 Jun 2019 11:20:20 +0100, Mick wrote:
2
3 > I just looked at another installation. The default sddm configuration
4 > file (/ usr/share/sddm/sddm.conf.d/00default.conf) shows this:
5 >
6 > [General]
7 > # Halt command
8 > HaltCommand=/usr/bin/loginctl poweroff
9 >
10 > In an OpenRC system there is no loginctl. Consequently, unless we
11 > define a separate config in /etc/ to use shutdown (with sudo?) it won't
12 > work. This systemd-ism may be worth a bug report.
13
14 It won't work on systemd either, loginctl has no poweroff command, it
15 should be systemctl poweroff, which is symlinked to /sbin/poweroff here
16 so setting it to that should work for modern and ancient systems alike :P
17
18
19 --
20 Neil Bothwick
21
22 Nothing is foolproof to a sufficiently talented fool.

Replies

Subject Author
[gentoo-user] Re: [Was: What the devil?!!] sddm shutdown & reboot Mick <michaelkintzios@×××××.com>