[CentOS] C6: ssh X-forwarding does not work

Rainer Traut

tr.ml at gmx.de
Wed Oct 26 09:56:48 UTC 2011


Hi all,

I have C6 i386 with cr repo enabled;

problem is, I can't get x-forwarding to work, xorg-x11-auth rpm is 
installed, have checked sshd config for

#X11Forwarding no
X11Forwarding yes
#X11DisplayOffset 10

Here is a verbose ssh logon, I can't see any difference to a working server:

debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/bin/xauth  list unix:10.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 0

and netstat does not show the open ports in the 60xx range:

# netstat -antp|grep 60
tcp        0      0 192.168.200.31:22           192.168.200.30:58604 
     VERBUNDEN   2537/sshd: xxx [

Display var is not set...:

[root at tr-centos ~]# env|grep -i DISPLAY
[root at tr-centos ~]#

Any obvious mistake?

Thx
Rainer



More information about the CentOS mailing list