1 |
On 6/26/19 8:16 AM, Mick wrote: |
2 |
> On Wednesday, 26 June 2019 15:22:45 BST Peter Humphrey wrote: |
3 |
>> On Wednesday, 26 June 2019 11:20:20 BST Mick wrote: |
4 |
>>> I just looked at another installation. The default sddm configuration |
5 |
>>> file (/usr/share/sddm/sddm.conf.d/00default.conf) shows this: |
6 |
>>> |
7 |
>>> [General] |
8 |
>>> # Halt command |
9 |
>>> HaltCommand=/usr/bin/loginctl poweroff |
10 |
>>> |
11 |
>>> In an OpenRC system there is no loginctl. Consequently, unless we define |
12 |
>>> a |
13 |
>>> separate config in /etc/ to use shutdown (with sudo?) it won't work. This |
14 |
>>> systemd-ism may be worth a bug report. |
15 |
>> |
16 |
>> Here, it shows 'HaltCommand=/sbin/shutdown -h -P now'. |
17 |
> |
18 |
> Where 'here' is ... where? :-) |
19 |
> |
20 |
> Your own /etc/sddm/ configuration file, or the default installed under /usr/ |
21 |
> share/sddm/sddm.conf.d/ ? |
22 |
> |
23 |
> The sddm package no longer installs a config file in etc. The user may do so |
24 |
> if desired/required and modify it accordingly. However, the sample file |
25 |
> offered by sddm has the above mentioned incongruity in it, which means the |
26 |
> shutdown and reboot commands issued by its interface invariably do not work in |
27 |
> openrc and it seems the same applies to systemd. |
28 |
> |
29 |
> I'll check a couple more of my installations here to see if they differ. |
30 |
> |
31 |
|
32 |
I don't have any /etc/sddm.conf - it's all default config and mine is |
33 |
working with no tweaking (OpenRC). Same as mentioned above in the |
34 |
default config file: HaltCommand=/sbin/shutdown -h -P now |
35 |
|
36 |
Dan |