This article outlines how to get started with tmux (v2.1), and if needed how to do some custom configuration and boot-time automated setup.
Why I Needed tmux
I’ve had a headless Linux server for about four years. It’s configured so that I can connect to it from my laptop via VNC (gui) or SSH (cli). With Xfce running, VNC is a pretty nice way to work with the server when I’m at home on my laptop and I’m doing mostly GUI stuff. Whenever I disconnect my laptop, the server stays intact ready for my next connection. However, when I’m on my iPhone, at work, or even doing text-heavy command line stuff from home, the VNC setup is sub-optimal compared to a local terminal on my laptop. SSH allows me to connect using a terminal application on my laptop, but for any sort of non-linear workflows it quickly becomes a tedious mess of multiple connections that need to be setup on a per-use basis. If only there was a way to merge the two. tmux!
This article documents my weekend journey to increased happiness with the introduction of tmux into my life. Continue reading →