New answers tagged


The proper solution is to disable the offending systemd behavior system-wide. Edit /etc/systemd/logind.conf (you must sudo, of course) and set KillUserProcesses=no Then restart systemd-logind.service. sudo systemctl resatrt systemd-logind


Based on @Rinzwind's answer and inspired by a unit description the best I could find is to use TaaS (Tmux as a Service) - a generic detached instance of tmuxone reattaches to. # cat /etc/systemd/system/tmux@.service [Unit] Description=tmux default session (detached) Documentation=man:tmux(1) [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/...


RemainAfterExit= Takes a boolean value that specifies whether the service shall be considered active even when all its processes exited. Defaults to no.


To simulate clusterssh behavior, you need a recent byobu version (>5.87) and press Alt+F9 toggle.

Top 50 recent answers are included