the problem is the following:
- I ssh to a remote that has a fresh Manjaro Gnome install,
- start a
- detach from the session so that the session is still running in background
- logout from the remote and login again to find that the tmux session doesn’t exist anymore
I found a thread discussing the problem
and the workaround
systemd-run --scope --user tmux
works for me, although it is a bit annoying to communicate it is to the other users of the machine.
Tmux used to work fine up to a few months ago, anyone knows what happened? Some policy change in systemd or openssh?
Do you have a better solution to the problem?