How to fix X11 Forwarding in CentOS 5
This tutorial describes how to fix the ssh X11 forwarding problem in CentOS 5.5 server.
Autoselected keyboard map en-us
ERROR: Failed to open display:
ERROR: Failed to open display:
Make sure that the "xorg-x11-xauth" is also installed in your system. If not, this comm
yum -y install xorg-x11-xauth
Ensure that "X11Forwarding" is enabled in your ssh server configuration file. Edit the file "/etc/ssh/sshd_config".
vi /etc/ssh/sshd_config
Check if the below line is present in the config file, if not add it manually.
X11Forwarding yes
Then restart ssh server
service sshd restart
Test if the

