Hi everyone,
the problem is the following:
- I ssh to a remote that has a fresh Manjaro Gnome install,
- start a
tmux
session - 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
https://unix.stackexchange.com/questions/171503/tmux-session-killed-when-disconnecting-from-ssh
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?