I just installed tmux (a terminal multiplexer) with homebrew. When I try to run it, it always exits with [exited] Nothing shows up.
When I try to run tmux list-session I get an error:
failed to connect to server: Connection refused
I tried running tmux start-server, but again nothing happens.
What can I do?
default-commandanddefault-shelloptions. If tmux is having trouble running your default command (or shell) it will respond like you are describing. For further investigation, you can use do something liketmux new /bin/zshto explicitly start with (e.g.)/bin/zshinstead of relying ondefault-commandordefault-shell. – Chris Johnsen Mar 6 '12 at 7:18tmux new /bin/zshworked for me. Thank you. – Stevens Mar 10 '12 at 15:13default-shellordefault-commandsetting. – Chris Johnsen Mar 15 '12 at 11:58mv $HOME/.tmux.conf $HOME/.tmux.conf.backupand see if tmux starts. @ChrisJohnsen is right, your solution simply means that there is a bug afoot. – scicalculator Apr 3 '12 at 5:16