CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
  [SOLVED] X11 forwarding request failed on channel 0

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  pschaff
      pschaff
Re: [SOLVED] X11 forwarding request failed on channel 0
#10
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Exactly as you have done. Just reply with [SOLVED] (or [RESOLVED] if more appropriate) in the subject, as explained in Readme First, and a moderator should come along and mark the head of the thread on your behalf. The current brain-damaged forum software does not allow a user to do so.

Edit: I see Alan beat me by seconds.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/1/5 3:03
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: [SOLVED] X11 forwarding request failed on channel 0
#9
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9135
Thank you for reporting back with the solution.

Quote:

Edit. How do I change the topic heading of OP to [SOLVED] ?

An ordinary user does not have that ability.

We recommend exactly what you have done -- add [SOLVED] or [RESOLVED], as appropriate, to your most recent posting. In due course a moderator will notice and make the edit, on your behalf, to the opening post's subject line.
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2012/1/5 3:02
Create PDF from Post Print
Top
  •  bluegroper
      bluegroper
Re: X11 forwarding request failed on channel 0 [SOLVED]
#8
Regular Board Member
Joined: 2005/9/7
From .au
Posts: 114
Bingo.

The problem was caused by ssh client (PCLOS), NOT the sshd server (CentOS).
Thx for clues.

Edit. How do I change the topic heading of OP to [SOLVED] ?
Posted on: 2012/1/5 0:22
Create PDF from Post Print
Top
  •  bluegroper
      bluegroper
Re: X11 forwarding request failed on channel 0
#7
Regular Board Member
Joined: 2005/9/7
From .au
Posts: 114
Quote:

TrevorH wrote:
What client are you using on the remote end?


PCLinuxOS, with OpenSSH_5.9p2, OpenSSL 1.0.0e 6 Sep 2011
Posted on: 2012/1/4 9:46
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: X11 forwarding request failed on channel 0
#6
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6343
What client are you using on the remote end?
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/1/4 9:40
Create PDF from Post Print
Top
  •  bluegroper
      bluegroper
Re: X11 forwarding request failed on channel 0
#5
Regular Board Member
Joined: 2005/9/7
From .au
Posts: 114
Quote:

pschaff wrote:

I'd set that to "no" and do the same for other X11 parameters that show a default of "yes" in the comments.


Tried that too, then service sshd restart, but remote login still throws the irritant error.

Any more suggestions ?
Posted on: 2012/1/4 9:37
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: X11 forwarding request failed on channel 0
#4
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

bluegroper wrote:
/etc/ssh/ssh_config: ForwardX11Trusted yes

I'd set that to "no" and do the same for other X11 parameters that show a default of "yes" in the comments.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/1/4 2:50
Create PDF from Post Print
Top
  •  bluegroper
      bluegroper
Re: X11 forwarding request failed on channel 0
#3
Regular Board Member
Joined: 2005/9/7
From .au
Posts: 114
# grep X11 /etc/ssh/*_config

/etc/ssh/ssh_config:#   ForwardX11 no
/etc/ssh/ssh_config:# If this option is set to yes then remote X11 clients will have full access
/etc/ssh/ssh_config:# to the original X11 display. As virtually no X11 client supports the untrusted
/etc/ssh/ssh_config:    ForwardX11Trusted yes
/etc/ssh/sshd_config:X11Forwarding no
/etc/ssh/sshd_config:#X11Forwarding yes
/etc/ssh/sshd_config:#X11DisplayOffset 10
/etc/ssh/sshd_config:#X11UseLocalhost yes
Posted on: 2012/1/3 21:39
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: X11 forwarding request failed on channel 0
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
What does the following show?
grep X11 /etc/ssh/*_config
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/1/3 11:52
Create PDF from Post Print
Top
  •  bluegroper
      bluegroper
[SOLVED] X11 forwarding request failed on channel 0
#1
Regular Board Member
Joined: 2005/9/7
From .au
Posts: 114
Hi forum

I have a freshly installed CentOS 5.7 server packages only.
No GUI, cli only.
When logging in from console, all works as expected.

But when using remote ssh login, I keeps getting the error message.
X11 forwarding request failed on channel 0 

Seems to cause no bother, just a tad untidy and annoying.
Already tried setting the following in /etc/ssh/sshd_config but it seems no help or not relevant.
X11Forwarding no

TIA's for any tips or clues to tidy this up.
Posted on: 2012/1/3 11:40
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com