tmux-plugins / tmux-continuum

Continuous saving of tmux environment. Automatic restore when tmux is started. Automatic tmux start when computer is turned on.
MIT License
3.31k stars 149 forks source link

Continuum starts a new tmux session with every ssh login #113

Open ioogithub opened 2 years ago

ioogithub commented 2 years ago

The main reason for using tmux is because it allows for a detached session however using continuum with the systemd script seems to kill the server everytime an ssh connection is closed and start a new server with each new ssh login. continuum does reload everything but it kills whatever was running.

According to the documentation @continuum-boot can be added to start tmux when the server boots. (https://github.com/tmux-plugins/tmux-continuum/blob/master/docs/systemd_details.md).

The problem is that this systemd service appears to get killed everytime the ssh session closes and a new tmux server is started. So it kills the whole idea of using tmux in the first place.

Is this by design? This has never worked for me. The docs are asking for help for Linux:

Linux

Help with this would be greatly appreciated. Please get in touch

Does anyone have this working properly?

ioogithub commented 2 years ago

Is it possible that my issue is the same issue as: https://github.com/tmux-plugins/tmux-continuum/issues/73

I am quite confused and this has never worked for me after spending several days of trying to get it working. If someone with more understanding could clarify this would be greatly appreciated.