I get "Requesting X11 forwarding...Failed" when using Xstart and SSH

I get "Requesting X11 forwarding...Failed" when using Xstart and SSH

PROBLEM DESCRIPTION


When you use Xstart and SSH protocol, you get the following error message and the application fails to start:

X11Forwarding has been refused. Please make sure if the remote server supports X11Forwarding.


*This article requires remote server configuration. Administrator previlage may be required.


RESOLUTION


This problem may occur when the X11Fowarding option is disabled on the SSH server. When the option is disabled, all X11Forwading requests are rejected by the SSH server. 

To resolve this problem, enable X11Fowarding on the SSH server (Administrator privilege is required). To do so, open the SSH server configuration file and set the X11Forwarding option to yes as shown on the example below:


SSH serverConfig fileSetup
OpenSSH/etc/ssh/sshd_configX11Forwarding yes
SSH.COM/etc/ssh2/sshd2_configAllowX11Forwarding yes

After setting the value, restart SSH daemon.