Comments on Sharing Linux Terminal Sessions With Tmux and Screen
Tmux and GNU Screen are well-known utilities which allow multiplexing of virtual consoles. Using either, it is possible to start a session, detach, move to a different machine and resume the session in uninterrupted progress. It's also possible to use these tools to share a single session between more than one user at the same time.
5 Comment(s)
Comments
It would be easier to use Termbeamer (see termbeamer.com).
Nice artical.
Can this be extended between two machines running tmux ?
great tutorial.
I found that it's not necessary to create a new group for two different users(the two have no same group)?
just "chmod 777 /tmp/shareds".
However, I don't know if it only works on my machine.
No need to create groups, both users are probably in 'users' group anyhow. Tmux will create the first session with 0770 permissions when -S is given, so the second user can simply connect to it.
Nice article. Thanks. tmux is great for leaving running in the background. I run one tmux inside another https://i.postimg.cc/mgn0D0Hh/ss.png and have my main/local tmux set to use the backtick as the prefix key, and I have keybindings of F11 for a new tmux window, F12 to step to the next window (I tend not to use tmux panes). So that doesn't conflict with a remote ssh servers tmux conventional key bindings (ctrl-b prefix ...etc.).
Attached image looks busy, but what I like/used to. Other desktops (Linux) have maximised Firefox with multiple tabs, and on another desktop I have audacious for music purposes.