On Mon, 1 Aug 2022 20:34:27 +0200 Romain Francoise
<rfranco...@debian.org> wrote:

> There’s nothing tmux can do right now about systemd killing user
> sessions without lingering enabled; just run `sudo loginctl
> enable-linger $USER`.

I start tmux with

$ systemd-run --scope --user tmux -2 # etc

and it seems to work for me - advantage being no 'sudo' needed

Perhaps 'tmux'  should be a script that invokes the real tmux binary
with systemd-run (if running under systemd) and solve this problem for
everyone.

Reply via email to