How to Share Your Tmux Session in Real-time with Wemux
1 min read
Summary
To create shared Tmux sessions that real-time users can interact with and view, install Wemux, a powerful tool that expands Tmux’s capabilities.
First, install dependencies like Git, SSH, and Tmux, and then clone the Wemux repository to your home directory.
Copy the cloned repository to a system directory such as usr/local/share and create a symbolic link in usr/local/bin.
Copy the pre-built configuration file to usr/local/etc and modify the wemux.conf file to add your username to the list of authorized users and allow multiple real-time Tmux sessions from the same Wemux host.
A new Wemux session can be tested by running the wemux start command.
To join a shared Wemux session, SSH into the machine as a regular user and run the wemux command in the terminal to connect to the host’s Wemux session.
Ctrl-B and D can be used to detach the current Wemux instance, and the wemux stop command can be used to stop the Wemux daemon in order to grant a guest user editing privileges in the shared session.