The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
21 views

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 ...
7
votes
0answers
70 views

Why does tmux bind externally accessible ports?

I am performing a quick audit of services listening on external interfaces on a Ubuntu 14.04 machine, and tmux is binding TCP *:50994 and *:59147 as reported by netstat -l. I can connect to this port ...
0
votes
1answer
44 views

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 ...
1
vote
0answers
34 views

Send tmux command from remote inside ssh session to local instance

The goal is to send tmux command to the local running tmux from the remote server. not to run to different instances of tmux. Inside tmux we ssh to a server that doesn't run tmux local>tmux send-...
-2
votes
2answers
54 views

send tmux command from inside ssh session

Inside tmux we ssh to a server that doesn't run tmux local>tmux send-key C-p # works local>ssh user@remote user@remote> tmux send-key C-p tmux: command not found It looks like this more ...
0
votes
1answer
341 views

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: #!/...
0
votes
0answers
65 views

Why does my tmux systemctl service disappear silently?

I'm trying to write a systemctl service that starts a tmux session. No matter what I do, after I start the service there's no tmux process running. systemctl status shows that tmux started and exited. ...
0
votes
0answers
109 views

tmux permission denied error

I have got ubuntu 12.04 server with python tornado http application server. Tornado server started in tmux('python server.py'). It works fine with tmux session from my laptop. After disconnecting (...
0
votes
0answers
44 views

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 ...
1
vote
1answer
411 views

How to start a tmux within bash right after reboot

I have created a script to run upon reboot of an Ubuntu instance. crontab -e Then added this to the script: @reboot /home/ubuntu/startup.sh This is how the script looks like: #!/bin/bash tmux ...
1
vote
2answers
1k views

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 ...
0
votes
1answer
169 views

Bashrc function called ssh doesn't work

I created a function in my bashrc file so that when i ssh into something it automatically opens a tmux session. function ssht () { /usr/bin/ssh $@ -t 'tmux a || tmux || /bin/bash' } This ...
1
vote
2answers
150 views

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 ...
1
vote
1answer
916 views

Automate Byobu window creation [closed]

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 ...
1
vote
1answer
143 views

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 ...
1
vote
1answer
98 views

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 ...
1
vote
4answers
1k views

Linux: Connect to another a terminal session

I can use screen or tmux to connect to other terminal sessions, or to share them. But this work only when we first know we will use them. As root can access everything, is there a way to do the same ...
0
votes
2answers
1k views

tmux attach to existing sessions or create new ones

I am looking for a ssh / tmux solution that would act like this: if there is no session, create one if there is a session and nobody is connected to it, create another one Mainly I want to be able ...
3
votes
1answer
553 views

Tmux and encryptfs causing “(unreachable)” directories upon reconnect

I'm running an Ubuntu 13.04 server with an encrypted home directory (encryptfs). I keep a tmux session open which holds my development environment (vim, etc). When I disconnect, I'll detach the tmux ...
-3
votes
1answer
181 views

GNU screen, tmux, dvtm - none are working as ordinary user on OVH VPS [closed]

I bought cheapest vps for teamspeak hosting and I have strange issues with demonizing it's process. None of screen tmux and dvtm work for ordinary user, but they work witout a charm for root. As far ...
0
votes
2answers
357 views

Logout root after tmux detach

I'm running tmux on my servers and when configuring things I like to just su into root and take care of things. Is there a possibilty to log out root automatically after I detach the tmux session?
1
vote
1answer
221 views

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. ...
-1
votes
1answer
68 views

Forcecommand is giving strange results with Tmux [closed]

I'm trying to set up pairing with tmux (wemux specifically). I have a pair user set up on my system and can ssh into pair and attach to a tmux session manually. However when I set up Forcecommand in ...
3
votes
1answer
602 views

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] ...
9
votes
2answers
5k views

tmux won't run as non root user?

If I run tmux as root, it runs normally and fully functional. I created a couple users, and it will not run as any of the users. create session failed: : No such file or directory I checked the ...
0
votes
1answer
473 views

Issue with Prompts when SSH from Tmux to Remote Host

I have a Tmux session running locally, in one of the panes I ssh to another host, however once the remote machine is logged in, the cursor is overwriting the command prompt. I think this is happening ...
3
votes
2answers
752 views

Tmux send-keys stripping space

I'm trying to run a series of commands in tmux from a remote file like so: tmux $(wget -qO- http://example.com/tmux) The file contains commands like split-window and send-keys The problem is, send-...
2
votes
2answers
563 views

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 ...
9
votes
2answers
5k views

How do you get TERM=screen-256color on CentOS 5.7?

CentOS 6.0 comes with the ability to set its TERM to screen-256color. It doesn't work in CentOS 5.7, though. How can you get CentOS 5.7 to support screen-256color?
2
votes
2answers
484 views

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 ...
10
votes
1answer
9k views

Run command in detached tmux session

This is probably simple, but I really can't find out how you do it. I have read the man pages and googled without results. Problem: How do I run a command in a detached tmux window? Example: I want ...
1
vote
2answers
481 views

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:...
1
vote
1answer
461 views

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 [...
8
votes
4answers
2k views

GNU Screen and Tmux: tips and tricks

So I am a big fan of the multiplexers like GNU Screen and Tmux, but even using Screen for years now I still recognize that there are many things there I don't know (and I only use Tmux for a couple of ...
0
votes
2answers
334 views

Is gnu screen or tmux more stable for keeping running on the server?

I want to keep a screen or tmux session running forever on a Ubuntu server, possibly for running a Clojure web server application so I can tap into the process via REPL at any time. Gnu screen or tmux ...
1
vote
2answers
1k views

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 ...