Shared tmux Sessions
Background
- tmux will create (directories of) sockets within TMUX_TMPDIRor/tmpif unset.
- The default socket name is defaultwithin this folder
- This can be changed per call with the -Lflag
 
- The socket path (e.g. /tmp/tmux-1000/default) can be changed with the-Sflag
Sharing
- To share a session, simply allow other users (via linux user groups) access to the socket
- In version (tmux -V) 3.3 and later an additional step is required.
- Use tmux server-access -a <user>to add a user (specificying-ror-wfor read or write access)