Questions tagged [tmux]

tmux is a terminal multiplexer: it enables a number of terminals (or windows), each running a separate program, to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Byobu absolutely refuses to support 256 colors (term ALWAYS returning `tmux`)

So far: I've added set -g default-terminal "xterm-256color" in the following places: /usr/share/byobu/profiles/tmux (from here) ~/.byobu/tmux (from here) ~/.byobu/profile ~/.byobu/profile.tmux I've ...
1
vote
0answers
42 views

Bash is trying to run “_update_ps1” after every command, but only when in tmux

I have been working to change my statusline in bash from powerline-shell to the powerline bindings for bash. It appeared like it worked but when I opened tmux, after every command I get the error: ...
0
votes
0answers
9 views

Soft links change working directory to link source in vim

I'm using wsl ubuntu on windows 10, and I have a directory that I had been storing python projects in before I started using wsl at C:\Users\____\Onedrive\Documents\Python Projects. I have created a ...
1
vote
0answers
26 views

How to have a Universal autosuggestion for any code entered once in any zsh terminal

Suppose I type a set of commands in a particular pane of Tmux. The autosuggestion feature of Tmux recognizes and helps in that pane (terminal). Let me say I started a new pane. The autosuggestion ...
0
votes
1answer
23 views

Can I have two sessions of tmux in seperate panels?

Like in title, I'm trying to get three sessions of tmux in separate panes, each for every game server I have Ubuntu 19.04 x86_64 server
0
votes
1answer
25 views

Progressively resizing a pane, by keeping an arrow button pressed

When pressing CTRL + B, ← (or another arrow key) I am able to resize the current pane of one step only. I was expecting to be able to resize the pane progressively by keeping the prefix and arrow ...
0
votes
0answers
26 views

How am I logged in before I log in?

When I freshly turn on my computer and reach the log in screen, normally, when I try to poweroff afterwards, the dialog only shows Power Off This system will automatically poweroff in 60 secs Cancel ...
0
votes
1answer
251 views

Tmux lost server problem [closed]

My question is about TMUX lost-server issue. Can anyone please help me out on how to resolve the lost server issue? I accidently killed the server using tmux kill-server command.
0
votes
1answer
16 views

How can I get back to multiple tmux panes once I suddenly type `prefix + enter`?

In tmux, I have a problem. I was working in multiple panes by splitting the entire terminal into 2 or 3, so that I could switch over different tasks with a few types, which was great. However, I ...
4
votes
1answer
209 views

How to open new Tmux pane horizontally with 20% tall?

Normally I have to create a new horizontal pane with Ctrl + b + _ and then resize it down with Ctrl + b + J How can I configure tmux to do this with just one command?
0
votes
0answers
36 views

python process terminates with tmux

my python process terminates although it is using tmux. The steps I take: 1) ssh to 'user' 2) tmux 3) python3 'here goes process' 4) 'ctrl+b' and 'd' 5) exit ssh 6) log back to ssh 7) tmux attach -t [...
0
votes
1answer
72 views

How to split panes in Tmux

I have recently installed tmux on my system and cannot get the terminal to split. I tried using Ctrl+B+% to split it, but nothing happens. I am most likely just overlooking something but help would be ...
0
votes
0answers
39 views

Byobu terminal with function in bashrc

I am using byobu with tmux: byobu version 5.127 tmux 2.8 I have the following function defined in my .bashrc to monitor logs. function monitor_log() { IFS='\n'; watch -n 1 'tail -n 100 /...
1
vote
2answers
374 views

How can I fix nohup, byobu, tmux, screen, etc to not die when I disconnect from SSH?

I'm running KDE Neon which is Ubuntu 18.04 Bionic (LTS) with the latest KDE desktop packages on top of it. Since upgrading to this from Xenial I have lost the ability for processes to survive SSH ...
2
votes
1answer
573 views

Does losing an ssh session kills commands running in tmux?

The question I know is basic, but could not find an exact matching question in community. The standard process of using tmux is - create a session, run command within and then detach the session. So ...
1
vote
0answers
78 views

TMUX NewSession problem with php page

I have a problem, I have a garry's mod server wich i start with this command: ./gmodserver start In user gmodserver I'm trying to make a script wich i can execute with a php page for reboot my gmod ...
0
votes
0answers
9 views

I want to screen or tmux a node src command

So im trying to figure it out how to screen or tmux ( dont inow wich is the best and how to do it) this command: node src server01.json -which plugins I need to do it -how to do it Thanks
1
vote
1answer
349 views

CTRL-a and CTRL-e map incorrectly in tmux

I like to use command-line commands CTRL-a (beginning of line) and CTRL-e (end of line), but when I start a tmux session, these commands don't work. CTRL-key seems to be interpreted as caret ^, as in ...
0
votes
0answers
77 views

No spaces in command prompt when using tmux

I pulled pytorch/pytorch:1.1.0-cuda10.0-cudnn7.5-runtime from Docker Hub, and install tmux and zsh in this docker. At first, after I start tmux, it displays an extra space in tmux, I added the ...
0
votes
0answers
38 views

Cannot set ctrl+left/right in Tmux to move by whole words

I have used this command: set-window-option -g xterm-keys on in the .tmux.conf file from this thread to move by whole words in tmux but it's not working. I have been googling this issue for the last 3 ...
1
vote
1answer
322 views

Clicking in ssh terminal causes 'junk' characters [0;83;32M0] after tmux

Both my local and remote are Ubuntu 18, though I have seen it in 16 as well. I establish a ssh to my remote server, start tmux (2.1.3), something causes the pipe to break. When I ssh back in, but ...
3
votes
0answers
218 views

Wait for tmux session to exit abd execute command

I have gameserver running in a tmux session and I want to make a script that automatically restarts the server. The scheduling can be done with cron from what I've read. The script sends keys to the ...
0
votes
1answer
505 views

Start the first terminal from tmux

I usually start my second terminal from tmux by a cumbersome steps 1) Start a terminal ( I used alacritty) 2) initiate a tmux session tmux new -s 'main' 3) start a second terminal alacritty The I ...
0
votes
1answer
19 views

enlarging pane in tmux (C-b z) kills a pytest run

Is there a reason for my local pytest run to die right after I Ctrl-b z? Is there a signal that is sent and not catched by the tmux server and thus, somehow killing my pytest? (I think running the ...
0
votes
1answer
311 views

Tmux is not running under a terminal?

I starts to use tmux and find an interesting thing, In the gnome-terminal $ pstree -asp $$ systemd,1 splash └─systemd,14385 --user └─gnome-terminal-,15157 └─bash,17525 ...
0
votes
0answers
149 views

urxvt isn't launching with the tmux as a startup command

Previously this line was working and was launching the urxvt with a tmux in it: urxvt -e tmux … but after my latest install of 18.04.1 Ubuntu it's not launching any more. urxvt version is v9.22. I'...
1
vote
0answers
143 views

When selecting a byobu session to resume it just creates a new one instead, how can I fix this?

Basically when I connect to the server using ssh I get the list of all sessions as I've used byobu-enable but it doesn't seem to be working properly. It is running with tmux as back-end. The server is ...
0
votes
0answers
129 views

Messages from syslogd flooding the terminal when waking up from sleep

So, after browsing the web for a few days and without finding any solution to my problem, I thought I had to expose it here to seek one, as nothing has worked so far. I am using Tmux, and I see these ...
2
votes
0answers
89 views

`byobu` window with `sudo su -`

I'm aware that what I would like to do is not safe... I would like to open a window in my byobu session with the root prompt. (i.e. with sudo su -.) Once I get the root prompt, I would like to ...
7
votes
1answer
1k views

How to properly launch tmux on terminal startup?

I've used this snippet to launch tmux when the terminal is launched: # TMUX startup if command -v tmux>/dev/null; then [[ ! $TERM =~ screen ]] && [ -z $TMUX ] && exec tmux fi But ...
0
votes
1answer
246 views

Can I re-read my edited tmux.conf from within a tmux session?

Trying to avoid having to close the tmux session just to change the key bindings.
0
votes
1answer
248 views

Create system unit for tmux

My goal is to be able to create a system unit on Ubuntu, so that commands are run when my server reboots. However, I don't know how to do it when it comes to tmux. I am not able to run commands after ...
0
votes
0answers
65 views

Keep vps process always!

I bought a VPS, and I want to run a java instance. I want to keep this process always(after closing putty, after closing my PC) I tried “tmux”. With tmux, the java program still running after closing ...
1
vote
1answer
367 views

htop isn't displaying consistent information

I'm running a computationally intense serial python script, and htop is giving me an inconsistent information. It shows that a thread is almost 100% in use, but that python isn't using any CPU power. ...
1
vote
0answers
3k views

18.04 - how to create PID file in systemd unit?

I am trying to properly setup my minecraft server with systemd so that it correctly determines the main PID for the process. I have the following systemd service unit: [Unit] Description=Minecraft ...
3
votes
1answer
960 views

What is the best way to run a server application on ubuntu?

This is my first attempt at running a Linux server. I have a server application which I want to run on a server to which I have ssh access. If this were a Windows server, I'd just open a remote ...
0
votes
0answers
328 views

Tmux help - keeping the session open after script completion

I want to run one command to start tmux AND run a command, but I want the tmux session to stay open after the command finishes in tmux. The command I'm currently using is:tmux new-session -d -s ...
1
vote
1answer
221 views

How to configure conky in a tmux session?

I want to have a custom footer in my tmux session with conky, my conky config as per conky official recommendation for screen: conky.config = { out_to_x = false, out_to_console = true, ...
2
votes
0answers
73 views

byobu-tmux seems to have a memory leak, how can I find it?

As you can see this instance has been running for 5+weeks and is now using nearly 1GB of memory. $ ps auxww | grep tmux jrwren 9839 6.0 11.7 969508 943140 ? Ss Jun27 3201:33 tmux -u -2 -f ...
1
vote
0answers
92 views

Preserve X between Ssh -X sessions

I have a powerful Ubuntu workstation with EDA tools installed, and several Windows-10 laptops on my network. Laptop Windows users have MobaXterm installed, as an X-server, ssh and sftp clients. They ...
1
vote
0answers
560 views

Errors In tmux in ubuntu 18.04

while running tmux the following errors are shown in ubuntu 18.04 : X Error of failed request: BadName (named color or font does not exist) Major opcode of failed request: 140 (RANDR) Minor ...
0
votes
0answers
214 views

Change tmux qhortcuts so it to behave like iTerm2

I'm switching from MacOS to Ubuntu. I start pimping everything. Regarding the terminal, I stick with the default one, but I'm using Tilda on top of it (wonderful!) and now tmux in order to be able to ...
3
votes
1answer
302 views

How to write in bash to ssh to different machine and create tmux session then run some command in it

Basically I want to write some script like #!/bin/bash for idx in 1 2 3 4 5 6 do ssh machine$idx tmux new-session -d -s "myTempSession$idx" python run.py done which can do the thing ...
3
votes
2answers
651 views

Terminal rows are misaligned when using TMUX over SSH

I updated Ubuntu from 16.04 to 18.04 last month, and have noticed some odd behaviour when using TMUX over SSH ever since. (This issue does not occur on the console directly.) To access this shell I'm ...
0
votes
1answer
270 views

Claymore miner not work with screen or tmux

I have 10 GPU attached to one system and want to mine with all, as ubuntu GUI not allow to run 10 GPU at a time, So will go with the command line and able to mine there. Now I want to run my miner on ...
1
vote
0answers
719 views

Terminal in Tmux is 256 color but Vim isn't

I'm new to Ubuntu. Recently I installed tmux on my Ubuntu 16.04. The terminal screen in tmux shows 256 color correctly. However, when I opened vim in tmux, the color was different from what normally ...
0
votes
1answer
678 views

Startup application not working after login

I have created one myscript.sh file as following #!/bin/bash source ~/.profile cd $GOPATH/src revel run test/streetcom I need to run this file at startup after login. I tried using startup ...
0
votes
1answer
629 views

Tmux doesn't render some symbols properly

I'm using powerline-go to generate the bash prompt. It works fine in the tilda (also Konsole), like so: Which is fine. However, the moment I open tmux it becomes messed up: Basically, the segment ...
0
votes
0answers
544 views

Ending tmux server

How do I end tmux with a command. I do know that Ctrl-d detaches a session and "exit" in a window ends the window, obviously. But the server process does not end until the last bit is closed. Suppose ...
7
votes
4answers
5k views

tmux: error while loading shared libraries: libevent-2.0.so.5

After upgrade ubuntu 16 to 18, I got this error when executing tmux: tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory and here'...