Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tmux [exited] on startup [closed]

Tags:

ubuntu

tmux

I recently installed Tmux and became really glad for it. All of a sudden I though it would start throwing an error when I try to create a new session from within my terminal:

tmux new -s my-session

will cause the application to crash and only return [exited] and put the following on the next command line: 62;9;c.

Being new to Tmux I have no idea how to fix this issue. Does anybody recognize this error and knows how to fix it?

like image 415
Severin Avatar asked Apr 03 '14 08:04

Severin


People also ask

Where are tmux logs?

Log messages will be saved into tmux-client-PID. log and tmux-server-PID. log files in the current directory, where PID is the PID of the server or client process.

How do I detach tmux?

To detach (meaning exit the window to come back to later) from the tmux session, use CTRL + b then d (hold ctrl, press b, let go of both of the keys, and press d). Whatever program(s) you are running in the tmux session will continue going without you.

How do I create a tmux session?

Using the Prefixes to Control Tmux By default, the prefix is CTRL+B. That is, we have to press the keys CTRL+B and then the command. For example, to create a new session, the command would be C. So, to create a new session we need to press CTRL+B and next C – CTRL+B, C.

Where is tmux config?

Tmux first looks for the system configuration file inside the directory '/etc/tmux. conf', if it is absent, it then searches inside the home directory of the user. The file contains a list of Tmux commands which are executed sequentially.


1 Answers

Removing

set-option -g default-command "reattach-to-user-namespace -l zsh"

from the configuration fixed the problem for me.

like image 173
Severin Avatar answered Oct 05 '22 22:10

Severin