Xmanager Forum

X11 Forwarding Rejected msg

Last post: Saturday, June 13, 2009 8:22 AM by Mohammed, 6 reply

Tuesday, November 23, 2004 10:49 AM - m00nchild

X11 Forwarding Rejected msg

i've been trying to install xmanager all day and getting nowhere.

i keep getting an x11 fowarding rejected message when i attempt to start using xstart. i've enabled x11 forwarding on my server.

i'm not sure why i keep getting this msg.
Tuesday, November 23, 2004 5:11 PM - support

Re: X11 Forwarding Rejected msg

Please make sure that you have restarted the SSH server after altering the SSH configuration file.

If problem persists, please send us the messages on "Xrcmd: Reply Messages" window. To view the message window you should select the "Show reply messages" check box in Xstart.

Thanks for your cooperation.
Thursday, October 20, 2005 5:09 AM - vivek bhola

Re: Re: X11 Forwarding Rejected msg

Dear support,

I am also facing the same problem with X11 forwarding on my server.

I have enabled the X11 forwarding feature on my server and have restarted the ssh daemon also but to no avail. still it is giving a error that " server has refused the X11 forwarding request "

please suggest further action. I have attached the log files as instructed on ur site.

version of server : solaris 9 , headless system

netwok config : my site consists of a firewall. we have desktops on 3.x IP's and the server is on 58.X shared domain Ip's. I have verified the from the firewall team that they have opened the port 22 and xdmp port 177 on the firewall. further the 3.x IP's are having a natting on them. all the 3.x IP's are natted to this common IP

i have been struggling with this problem for abt two weeks now. plz suggets immidiate action.
Thursday, October 20, 2005 10:25 AM - Jeff'da Man

Re: Re: Re: X11 Forwarding Rejected msg

Can't really see what you problem is.

Did you edit the correct file? You should edit the /etc/ssh/sshd_config file.

Attach your sshd_config file to your next post. Maybe I can help you out with this.

Monday, September 15, 2008 9:52 PM - Ravi

Re: Re: X11 Forwarding Rejected msg


I have restarted the sshd service but still I am not able to connect the AIX server through Xmanager. Please find the attched messages on Xrcmd: Reply Messages" window:

[18:15:09] Connecting to ''...
[18:15:09] Connected.
[18:15:09] Version exchange initiated...
[18:15:09] server: SSH-2.0-OpenSSH_4.3
[18:15:09] client: SSH-2.0-nsssh2_3.0.0006 NetSarang Computer, Inc.
[18:15:09] SSH2 is selected.
[18:15:09] Algorithm negotiation initiated...
[18:15:09] key exchange: diffie-hellman-group14-sha1
[18:15:09] host key: ssh-rsa
[18:15:09] outgoing encryption: aes128-cbc
[18:15:09] incoming encryption: aes128-cbc
[18:15:09] outgoing mac: hmac-sha1
[18:15:09] incoming mac: hmac-sha1
[18:15:09] outgoing compression: none
[18:15:09] incoming compression: none
[18:15:09] Host authentication initiated...
[18:15:09] Hostkey fingerprint:
[18:15:09] ssh-rsa 2048 be:00:8b:44:b5:99:5a:1a:b3:3b:88:0e:0d:00:bb:7c
[18:15:09] Accepted. Verifying host key...
[18:15:09] Verified.
[18:15:10] User authentication initiated...
[18:15:10] Sent user name 'oracle'.
[18:15:10] Sent password.
[18:15:10] Access granted.
[18:15:10] Sent X11 forwarding request...
[18:15:10] Failed.
[18:15:12] Connection closed.
Thursday, September 18, 2008 5:13 AM - Support

Re: Re: Re: X11 Forwarding Rejected msg

There can be a few causes for this problem.

1. Check if you have xauth file and its is executable by your account.
2. Check if you have write permission to the $HOME/.Xauthority file and the $HOME directory.

If your problem persists, please try with a different user account and see if the problem persists.

Technical Support

Did you know that Xshell and Xftp are free for home and school use? To find out more, please click here.
Saturday, June 13, 2009 8:22 AM - Mohammed

Re: X11 Forwarding Rejected msg | Successfully done

I have same problem but it got resolved. I ask to open the firewall port from our local PC to AIX server.

Network team has open the firewall port from your PC to AIX server then this will work.


IBM, Bangalore.