logoalt Hacker News

benj111today at 12:53 PM1 replyview on HN

I'm presumably missing something here. Why does tmux et al not work? Remotely? Ie you're logged in locally and remotely to the same machine, log out locally which kills everything running remotely, but then why would you log in twice like that?

And that being the case can systemd not just only close everything when your logins reach 0?


Replies

tux3today at 12:59 PM

You can detach from screen/tmux, leave it running in the background, and log back in later to the same screen/tmux like you left it.

Except systemd can kill it when you log out, so you come back to nothing.

show 2 replies