• krash@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    How does screen / tmux work when detached from a session, how does it keep the session alive (both when running locally, and while ssh:ing to a server)? Is there a daemon involved?

    • darvit@lemmy.darvit.nl
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      You can find out by running screen and executing pstree, that way you can see how the screen process is run.