On Thu, 13 Feb 2020 at 11:56, Patrick O'Callaghan <pocallaghan(a)gmail.com>
On Thu, 2020-02-13 at 00:34 +0100, Iñaki Ucar wrote:
> This isn't a KDE thing, it's systemd. See e.g.  and .
>  https://forum.xfce.org/viewtopic.php?id=12994
>  https://wiki.archlinux.org/index.php/Systemd/User#Kill_user_processes_on_...
I know what causes it. My point is that the problem occurs with KDE and
other desktops, but not apparently with Gnome, so it would be
interesting to know why this is. Does systemd treat Gnome specially, or
does Gnome have some kind of built-in workaraound that avoids this
Are you sure that this doesn't happen with Gnome?
There was a change in systemd some years ago  to KillUSerProcesses
by default, and if you follow the trail, this triggered lively debate.
Particularly, we had  in Fedora, and there was even a change
proposal  to follow the decision upstream, but it was first delayed
and then never implemented . Maybe Zbigniew (in CC), the owner,
could tell us why.
And maybe this topic could be resurrected in devel if there's renewed
interest, but you are probably going to find opposition; because this
is fine for multi-user workstations, but it breaks things in servers.
IMHO, in a perfect world, each flavour (Workstation, Server, KDE...)
should decide and explicitly set the default option.