X11 forwarding request failed on channel 0

I got this error while SSH with -X option. Dont know how to solve this. 

X11 forwarding request failed on channel 0
Tags: CentOS X11 forwarding
user image Author :   michael
0

You change the ssh configuration file like below

#  vi  /etc/ssh/sshd_config
X11Forwarding yes  
X11UseLocalhost no
user image
henry August 28, 2017
Add comment