What to do when 'X11 forwarding request failed on channel 0' is displayed and X11 forwarding cannot be done via ssh

Add the -v option to ssh to see the details and find the cause. If it says there is 'No auth program' as shown below, just install xauth with apt or yum.
...
debug1: Remote: No xauth program; cannot forward with spoofing.
X11 forwarding request failed on channel 0

No comments:

Post a Comment