tmux: hangs and do not load, and do not respond to any option command

后端 未结 8 1641
粉色の甜心
粉色の甜心 2021-01-31 09:01

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

8条回答
  •  庸人自扰
    2021-01-31 09:25

    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
    • reinstall tmux
    • restart shell session

    I could not easily restart the operating system, because it's a shared server managed by others.

提交回复
热议问题