Xmanager Knowledge Base

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

Last modified: Thursday, September 3, 2009 12:13 AM


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.

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 server Config file Setup
OpenSSH /etc/ssh/sshd_config X11Forwarding yes
SSH.COM /etc/ssh2/sshd2_config AllowX11Forwarding yes
After setting the value, restart SSH daemon.