X11 forwarding request failed on channel 0

前端 未结 4 904
日久生厌
日久生厌 2021-02-07 01:24

When I do \"ssh -X abcserver\", I got message \"X11 forwarding request failed on channel 0\". I checked online and it was suggested to solve it by swit

4条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-07 01:55

    Adding the -v option to ssh when trying to log in will give a lot of debug information which might give a clue to exactly what the problem is, like for instance

    debug1: Remote: No xauth program; cannot forward with spoofing.
    

    which in my case installing xauth on the server fixed the issue.

提交回复
热议问题