Questions tagged [tmux]
60 questions
4
votes
1 answer
Automate Byobu window creation
I use Byobu on a Vagrant dev machine to run multiple things in one screen and to be able to suspend/restore the machine and continue where I left off the other day.
There are times when I have to recreate the machine and setting up 8+ Byobu windows…

Ikon
- 145
- 1
- 7
4
votes
1 answer
Problems with C^b C^[arrow key] in tmux through a ssh session from a mintty terminal
I have a server that I ssh to from Windows 7 using Cygwin+mintty. On the server I attach to a tmux session. So far so good, but when I try to change the tmux layout using C^b [arrow] and C^b M^[arrow] I get problems.
Some times it works, as in the…

SpaceOgre
- 41
- 3
3
votes
1 answer
Tmux Status Bar default window names
On one of my clients' servers, I've been using the tmux status bar to monitor long-running processes, both through the automatic window-name changes and by setting window names through ANSI control codes in scripts. It's incredibly useful when you…

Head Geek
- 141
- 7
3
votes
2 answers
What is causing the famous "broken pipe" when I use tmux inside an SSH session?
Scenario1:
I SSH from my employer (OSX Yosemite SSH client) to my home server (Debian stable) and (re)connect to a tmux session. If I leave the terminal inactive for a while (~20minutes), it seems like the network connection has been interrupted for…

buco
- 31
- 1
- 2
3
votes
1 answer
use a service to start a new, shared, tmux session (and detach)
I'm trying to use systemctl to launch a process in a new, shared, tmux session. I'm pretty sure my tmux command is all set:
I have the socket path set with a shared group.
the service is executing under a user that's a member of the group
I've…

end-user
- 145
- 1
- 2
- 10
2
votes
1 answer
Byobu creating new session on every connection
Every time I connect to my Ubuntu 17.10 machine with byobu-enable turned on, I get a new "session" rather than it reusing my existing sessions.
On connect:
Byobu sessions...
1. tmux: foo: 3 windows (created Sun Jan 28 10:23:59 2018) [204x53]…

djmarcin
- 123
- 4
2
votes
1 answer
Easing terminal sizing on OpenVMS
Being somewhat green with OpenVMS, but still trying to "get stuff done", I'd like to make things a little easier in respect of setting terminal height and width.
Presently I can SSH to an OpenVMS-8.4-based server (from a pane within my Tmux…

Eric Smith
- 259
- 1
- 4
- 9
2
votes
2 answers
keeping a detached ssh process running *after closing the ssh client*
I ssh in to my ubuntu machine usimg mobaxterm.
This works very well.
Sometimes I want to keep a process running but exit my ssh session (and exit mobaxterm). I have tried the following but regardless as soon as I close mobaxterm my process on the…

lazarus
- 121
- 1
- 3
2
votes
1 answer
Linux "tmux" Permission denined
I'm trying to run some automated scripts from root that will start running other scripts as another user in a "tmux" session.
Example:
File 1 - "start_test_script.sh" - in "root" home directory:
#!/bin/bash
cd /home/user/; sudo -u user…

0x00FE
- 61
- 1
- 4
2
votes
2 answers
freeze and thaw tmux and/or terminal sessions?
I would like to be able to freeze and thaw tmux sessions. That is, to take a complex set of session state, persist it, and bring it back from some persistent store later. Essentially, git stash for terminal session state. Does anybody know of a way…

David Watson
- 215
- 2
- 9
2
votes
2 answers
FreeBSD out of box Screen/TMUX functionality?
Does FreeBSD include capabilities out of box that are similar to Screen or TMUX?
If so, what is the utility called?
Update: I'd rather not use Screen due to it licensing. TMUX is BSD-3 clause, which is great. But if FreeBSD includes similar…

Jacob
- 21
- 2
2
votes
2 answers
Help with tmux1.5 on Centos
I installed tmux 1.5 on Centos. The installation went ok after installed libevent and other libraries, but when I run tmux I keep getting the following error.
tmux
fatal: server_start: daemon failed: No such device
Any idea what's causing this?

Tathagata
- 183
- 1
- 1
- 9
2
votes
2 answers
Determine if tmux has a detached session
I'd love to be able to write a script that checked for the presence of a tmux session and attach it, or if no session exists, start a new one. So that I could create a custom command in my .zshrc file, and not have to always check.
Is there a way…

TheDelChop
- 123
- 1
- 5
1
vote
0 answers
TMUX not creating sessions from CRONTAB
I'm having a heck of a time getting a tmux session to be created from a script executed by crontab. The script executes and the session is created without fail from just running it but if I run it from crontab the session isn't created and it…

Tyler C
- 119
- 6
1
vote
2 answers
Start tmux session immediately after killing tmux server
If I run
tmux kill-server ; tmux new -d -s test
Sometimes it works, and sometimes I get lost server or no server running on /tmp/tmux-1000/default.
If I do
tmux kill-server ; sleep 0.1; tmux new -d -s test
Then it always works. But I suspect it…

dspeyer
- 121
- 4