logoalt Hacker News

tux3today at 12:59 PM2 repliesview on HN

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.


Replies

c-hendrickstoday at 3:11 PM

What I don't get is why (on Arch) I have linger off yet have never had trouble with tmux/ zellij being killed.

Edit: ah, this post clears it up. Mentions linger has nothing to do with screen muxers, and also brings KillUserProcesses to peoples attention.

Damn systemd and its multiple levels of convenience.

benj111today at 1:14 PM

Ah ok. Seems like the log out metaphor is kind of broken then?

It seems to me if you want persistence between logouts, the processes should belong to a different group/user.

(I'm spitballing hypotheticalshere, not saying anyone/thing in particular is wrong)

show 1 reply