You are not logged in.
Hi,
Sometimes, but only sometimes, tmux sessions are killed when I log out of KDE Plasma.
It doesn't happen always, and actually more often than not, tmux sessions are left alone. But when it does, it is annoying for sure.
I'm starting the tmux sessions via Konsole.
As a troubleshooting step, I've tried detaching before logging out, and it still has happened (though either way, if the sessions are attached or not, they should not be killed).
I run normal shells (bash) in the tmux sessions, i.e. the processes themself should not end just by themselves. I only presume something is killing them (but strongly suspect this is the case, as what else could be going on?). For example, if I'm running pacman in tmux, /var/lib/pacman/db.lock will be left there as if pacman had just been killed (if it had ended nicely, the lock file would not be there).
I'm using sddm as my display manager, and in /etc/systemd/logind.conf I have:
[Login]
KillUserProcesses=noThis should be the default, but I've set it explicitly just because it is the only thing I came up with a search (in some other distributions, the default is YES).
Now, any ideas on what could be killing of my tmux's or how to go about finding that out? Can I "log" somehow who is killing tmux?
This is especially annoying since I can not reproduce this at will.
EDIT: Loads of TYPOs etc
Last edited by Wild Penguin (2022-12-14 10:36:20)
Offline