Re: Logging out and in again creates an every-increasing number of sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 13 Feb 2020 at 13:43, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote:
>
> On Thu, 2020-02-13 at 13:15 +0100, Iñaki Ucar wrote:
> > On Thu, 13 Feb 2020 at 11:56, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote:
> > > 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. [1] and [2].
> > > >
> > > > [1] https://forum.xfce.org/viewtopic.php?id=12994
> > > > [2] https://wiki.archlinux.org/index.php/Systemd/User#Kill_user_processes_on_logout
> > >
> > > 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
> > > issue?
> >
> > Are you sure that this doesn't happen with Gnome?
>
> No, I'm simply relying on some comments in the above references.

AFAIK, it does happen in Gnome too, because that's entirely to systemd
(unless gdm does something special nowadays). E.g.:
https://bbs.archlinux.org/viewtopic.php?id=204307

> > There was a change in systemd some years ago [1] to KillUSerProcesses
> > by default, and if you follow the trail, this triggered lively debate.
> > Particularly, we had [2] in Fedora, and there was even a change
> > proposal [3] to follow the decision upstream, but it was first delayed
> > and then never implemented [4]. Maybe Zbigniew (in CC), the owner,
> > could tell us why.
>
> I'll take a look at those, thanks.
>
> > 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.
>
> Sounds like a good idea. I don't see why it should break things in
> servers, but maybe that's clarified in the links you mention.

TL;DR: it kills processes when you log out. So if you ssh into the
machine, launch something using tmux/screen/nohup, and then log out,
these processes get killed. You have further details and discussion in
the links provided (and in other forums in other distros if you take a
look too).

Iñaki
_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux