I have installed tmux from source on my localspace in Fedora. It was working nicely so far. But suddenly can not run it anymore, when run tmux, it just halts. Tried different co
If it is ok to lose your sessions, try deleting the tmux-NNNNNNN
directory, where NNNNNNN
is a number, under your /tmp
directory. According to the tmux
manual, if the TMPDIR
environment variable is set, the tmux-NNNNNNN
will be put in the TMPDIR
.
tmux stores the server socket in a directory under /tmp (or TMPDIR if set);
This solved my problem of not being able to run tmux
commands that are related to sessions. I also tried the following, but they did not work:
killall -9 tmux
tmux
I could not easily restart the operating system, because it's a shared server managed by others.