Hacker News new | ask | show | jobs
by VLM 4542 days ago
check the manpage search for options xRR it'll show up.

-x attaches to a non-detached session aka multi-display mode, stereotypical pair programming / tutorial / support use.

-RR reattach and if necessary detach (overridden by -x above) or create it (as happens on first login after a reboot) and use youngest session if multiple sessions somehow accidentally get opened.