小编jol*_*ier的帖子

使用 ssh -X 时 X11 连接使用不同的身份验证协议

我无法在其中一台服务器上使用 X 应用程序。(同一个客户端成功连接到其他服务器,所以问题不在客户端)。

我连接ssh -vvv -Y -4 jet(也尝试使用-X而不是-Y,同样的问题)强制使用 IPv4(这已经解决了以前的错误)。但是当我启动一个需要 XI 的应用程序时,得到以下信息:

debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 42026
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug2: X11 connection uses different authentication protocol.
X11 connection rejected because of wrong authentication.
debug2: X11 rejected 1 i0/o0
debug2: channel 1: read failed
debug2: channel 1: close_read
debug2: …
Run Code Online (Sandbox Code Playgroud)

ssh xorg xauth

6
推荐指数
2
解决办法
3961
查看次数

标签 统计

ssh ×1

xauth ×1

xorg ×1