All Questions
71
questions
1
vote
0
answers
45
views
SSHing into remote machine from terminal doesn't ask for password, but through VS Code integrated terminal, it does, Why?
I'm working on a project where I have to run a python script which will open a tmux session with multiple windows, in each one ssh into a different remote machine, and run another python script. I'm ...
0
votes
2
answers
25
views
systemd service terminates with error because the script (expectedly) returned
Searched extensively, many questions related but none that I found actually worked.
So I have a shell script which I want to automate via a systemd service. The script:
#!/usr/bin/env bash
SESSION=&...
2
votes
1
answer
122
views
How to continue journal output to serial console after dev-mqueue.mount is started
So far I managed to get the kernel & systemd to output the first log messages from booting on the system’s serial port. Further, after the boot process is (nearly) completed, journald continues to ...
2
votes
1
answer
318
views
Does tmux run-shell support interactive shell?
I know tmux run-shell can execute shell:
$ tmux run-shell "echo start; echo \${var}end"
start
end
But what if I want my shell could work interactively or read some user input,
$ tmux run-...
1
vote
1
answer
174
views
Unable to display conda environment in status bar
I am a newbie of Tmux and I am now configuring the status bar in Tmux. I want my tmux status bar can show the current Conda environment like Powerlevel10K. I tried set -g status-right "conda: #{...
1
vote
1
answer
124
views
Running tmux at startup on a different console (monitor)
Aloha !
I have a headless server connected to a monitor. The server has no graphical environment installed, nor has any keyboard or mice attached to it. I am able to login via SSH.
I would like to ...
3
votes
2
answers
2k
views
How do I kill a hung ssh session within tmux
Here's my setup:
Workstation==ssh=>jumphost(tmux with split panes)==ssh=>server1
==ssh=>server2
If either of the two connections to the ...
0
votes
1
answer
157
views
variable substitution in tmux config - different results for 'display-message' and for 'select-layout'
I start tmux session with tmuxinator, one of the windows has 7 panes custom layout
in tmuxinator session config I have lane with layout:
layout: 3db3,233x59,0,0[233x9,0,0{77x9,0,0,3,77x9,78,0,5,77x9,...
0
votes
1
answer
848
views
Select Tmux Window in Sessions List View
Is there a way to select a Tmux Window by the number listed in the preview while in Sessions List view (activated with: C-b s)? In other words, how do I switch to window 3 (circled in red) in this ...
0
votes
1
answer
86
views
Mistakenly started a long running task on an ssh shell
I understand that a long-running job on a server should be started with nohup/screen/tmux. But sometimes by mistake, I will start a job w/o realizing how long it would take. For example, I recently ...
0
votes
0
answers
39
views
Meaning of tmux shortcuts
I understand some of tmux shortcuts: (prefixed by <C-b>)
d: detach
c: create
n: next
p: previous
But I don't understand the meaning of splitting pane shortcuts (" and %). These buttons ...
6
votes
1
answer
1k
views
Why jobs lost when after reconnect ssh?
I have a job that runs in the background via ctrl + z and bg, and after reconnecting ssh I cannot find that job in the jobs command but can find it in ps grep. For now, I searched this and I get the ...
4
votes
1
answer
2k
views
How do you uninstall a package that you manually cloned from git
I want to uninstall tmux on my machine. My tmux version is:
tmux next-3.4
and which tmux gives me:
/usr/local/bin/tmux
I tried to uninstall it with sudo yum remove tmux, and I get:
Updating ...
1
vote
0
answers
225
views
Unable to select word on double click in tmux session
I am trying to use tmux and but I cannot double click to select a word to copy it into the clipboard like a normal putty/kitty window. However, I am able to hold shift and double click to select a ...
4
votes
2
answers
3k
views
In a running Tmux session, how can find out what configuration file tmux is using?
I am on Arch Linux and I am running tmux in my terminal.
~ ❯ tmux -V
tmux 3.2a
When running in a tmux session, how can I find out if:
A tmux.conf is being used
The location of the tmux.conf file ...