【问题标题】:Tmux giving me 'Conneciton refused' after upgrade to MavericksTmux 在升级到 Mavericks 后给我“连接被拒绝”
【发布时间】:2014-04-13 01:28:49
【问题描述】:

我终于升级到 Mavericks,现在当我尝试通过 tmuxinator 启动 tmux 时,我得到以下信息:

unknown option: default-path failed to connect to server: Connection refused failed to connect to server: Connection refused failed to connect to server: Connection refused failed to connect to server: Connection refused failed to connect to server: Connection refused failed to connect to server: Connection refused failed to connect to server: Connection refused failed to connect to server: Connection refused failed to connect to server: Connection refused failed to connect to server: Connection refused failed to connect to server: Connection refused no sessions

我通过 brew 卸载/重新安装了 tmux,但还是一样。我在网上阅读了一些关于修复 1.9 中的默认路径问题的各种文章,但到目前为止没有任何效果。

任何帮助表示赞赏 - 我想回到编码 ;-)

【问题讨论】:

    标签: tmux tmuxinator


    【解决方案1】:

    默认路径可能是一条红鲱鱼。

    最近一次迁移到新机器时让我感到困惑的一件事是,我没有在旧机器上安装“重新附加到用户命名空间”命令。

    如果你有这样的一行:

    set -g default-command "reattach-to-user-namespace -l bash"
    

    在你的 ~/.tmux.conf ((或任何其他调用外部命令的)中尝试将其注释掉,即

    #set -g default-command "reattach-to-user-namespace -l bash"
    

    并再次启动 tmuxinator。

    【讨论】:

      【解决方案2】:

      谢谢大家。问题是我的配置中的冲突。我从头开始,逐项添加,找到了我的罪魁祸首,我很久以前添加了几条实验线,后来忘记了它们实际上做了什么。

      奇怪的是,在升级到小牛之前,这不是问题。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-11-15
        • 2017-08-08
        • 1970-01-01
        • 2022-11-12
        • 2011-09-27
        • 1970-01-01
        相关资源
        最近更新 更多