Questions tagged [tmux]
60 questions
1
vote
1 answer
How to start a detached tmux session via ssh?
I know I can start a detached tmux session like this:
> tmux new -d -s mysession sleep 10000
> tmux ls
mysession: 1 windows (created Mon Apr 16 22:56:14 2018) [177x62]
Now I want to start it via ssh:
> ssh some_user@some_host_name tmux new -d -s…

RnMss
- 113
- 1
- 5
1
vote
1 answer
Parse through a list of Ansible variables and refer to itself while running task
Problem
I have a simple Ansible playbook that creates a list of tmux sessions and then runs a script inside of each session. I am trying to give the tmux sessions names in my vars.yml file.
My problem is that I want to run the same command in all of…

J.W.F.
- 338
- 2
- 4
- 16
1
vote
2 answers
Caveats of installing development tools on production server
I want to install some software on production CentOS box which are not available from repository (like tmux etc). I can download the source and compile it locally, but for doing that I'll need development tools (gcc etc) on a production box. Is it…

Faisal
- 225
- 1
- 2
- 6
1
vote
1 answer
My long-running script in tmux goes to sleep when I disconnect from the server - why?
I’m executing a long-running xml-generating script on a CentOS 6.3 server and using tmux (version 1.6) to keep the script running when I disconnect from the server. My problem is that when I disconnect from the server the script seems to go to sleep…

cfogelberg
- 141
- 1
- 7
1
vote
1 answer
Use tmux for managing multiple downloaders as a supervisorctl service?
I have many data-servers I need to download data from via http as soon as it is available. For each server I start a bash "while true"-loop and within that a wget to poll the server for new data. To start all the bashs I created a tmux config…

AME
- 135
- 6
1
vote
1 answer
Does long running tmux session affect the server and does server need shutdown?
I have 2 questions that are related.
1st) I have a server running centos and is never shutdown. Does server need shutdown , if so how often and what problems can it cause if run without shutdown.
2nd) I have tmux session running on that server. It…

bagavadhar
- 538
- 4
- 14
1
vote
1 answer
tmux bash konsole change title
How can I configurate bash or tmux for make konsole change window title?
If I run tmux from xterm, it changes title
But from konsole not change
I also have some tricks in bashrc
# window title
if [ "$SHELL" = '/bin/bash' ] && [ ! -z…

azat
- 491
- 1
- 4
- 13
1
vote
2 answers
Tmux installation problems
hI,
I am trying to install the terminal multiplexer tmux on my Debian Lenny server so that I can have multiple terminals through ssh.
However I have had a lot of difficulty installing it from the debian package, and by compiling it. When I try the…

RayQuang
- 674
- 1
- 9
- 16
1
vote
1 answer
Why is my bash script not being sourced when opening new tmux pane?
The following logic in .bash_aliases to remove duplicate paths works fine when opening a new terminal:
# prune duplicate paths
PATHS=("PATH" "LD_LIBRARY_PATH" "C_INCLUDE_PATH")
for P in "${PATHS[@]}"; do
source $HOME/bin/prune_paths…

Jeff_V
- 21
- 2
0
votes
0 answers
byobu: How can I create a new session in an existing tmux group?
We are using byobu here in our embedded development team to share access to the programmers that are connected to our devices. That way all of our team have access to the device log files and so on.
This worked quite well so far. Every member could…

Matthias Wimmer
- 138
- 7
0
votes
2 answers
re-parenting to screen two processes joined by pipe
Let's say in a PuTTY connection I start
mysqldump --host host1 --databases db1 db2 db3 | mysql
which creates two processes: mysqldump with PID 5800 and mysql with PID 5801. Is it possible to let the running processes continue execution when I want…
user178826
0
votes
1 answer
Can not reconnect to instance via ssh in google cloud
I use google could for machine learning. It takes too much time for completing execution. So I use tmux for that so that I can detach and attach to the session.
But now when I restart my laptop and try to open ssh. It shows An error occurred while…

Chhaya Vankhede
- 101
0
votes
1 answer
commands not running from crontab
I have setup and cron to check if a port is busy or free and if its free then it sends and email and then start golang api service
send mail is working properly but api server is not getting started
following is my crontab file
*/2 * * * *…

Vikram
- 167
- 2
- 10
0
votes
1 answer
What is right way to tmux with fabric django?
1.I am doing this on local machine
tmux new -s amazon
then I ssh in to the server into tmux window
shh user@amazon
then I detach it ctrl b-d
Into fabfile.py I am doing like this
local("tmux a -t amazon") #attaching detached…

Yugandhar Chaudhari
- 111
- 4
0
votes
0 answers
Correct tmux disconnect
I have got ubuntu server 12.04 for android application. Application server(python, postgresql) started via tmux.
After closing tmux terminal(or "tmux detach") on my computer, application server is still working, but some python methods fails. I can…

user1941407
- 123
- 2
- 7