X11 转发请求到我的 OS X 机器失败

X11 forwarding request failed to my OS X machine

我不明白是什么让我无法在家里建立通往 Mac 的 X11 隧道,即 运行 OS X 10.10.2。我收到这个(为保护隐私而编辑的主机名):

cook47@rcmac (~ ): ssh -Y mymac
X11 forwarding request failed
Last login: Thu Apr  9 11:12:13 2015 from xxx.xxx.xxx

在我的 sshd_config 中,我将 X11Forwarding 设置为是,并且 我尝试使用 LogLevel DEBUG3 启动调试,但我在系统日志中看不到太多信息。另外,我尝试重新启动 X11.app 但没有任何变化。 有关如何解决此问题的任何建议?

好的,没关系,我找到了。我在我的 ssh 配置文件中使用了一个技巧 (ControlMaster) 来共享 ssh 连接,所以我的新连接正在重用旧连接。