Tmux: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 5: Line 5:
   chgrp ''users'' /tmp/''shared''
   chgrp ''users'' /tmp/''shared''


Where ''shared'' is the name of the session, and ''users'' the name of a group that everybody is already a part of. See [[chgrp]].
Where ''shared'' is the name of the session, and ''users'' the name of a group that everybody is already a part of. See [[groups]].


Sources
Sources


* https://www.howtoforge.com/sharing-terminal-sessions-with-tmux-and-screen#sharing-between-two-different-accounts-with-tmux
* https://www.howtoforge.com/sharing-terminal-sessions-with-tmux-and-screen#sharing-between-two-different-accounts-with-tmux

Revision as of 10:20, 22 April 2020

sharing between different account involves using a "socket" -- a special file that can be configured to be sharable.

 tmux -S /tmp/shared new -s shared
 chgrp users /tmp/shared

Where shared is the name of the session, and users the name of a group that everybody is already a part of. See groups.

Sources