Am 26.10.2011 15:18, schrieb John Hodrien:
On Wed, 26 Oct 2011, Lorenzo MartÃnez RodrÃguez wrote:
Hi,
I have a working configuration with CentOS 6. Can you try to set next lines in /etc/ssh/sshd_config and restart SSH server please?
#X11Forwarding no X11Forwarding yes #X11DisplayOffset 10 X11UseLocalhost yes
In fact I do not have xorg-x11-auth rpm installed:
[root@Carmen ~]# rpm -qa|grep -i xorg-x11-auth [root@Carmen ~]#
and it works...
He meant xorg-x11-xauth and I'm 99% certain you *need* that installed on the target machine for ssh forwarding to work.
Yes, you need this rpm on the target machine.
Ok, solved. I set debugging of sshd up and see this message: error: Failed to allocate internet-domain X11 display socket.
Google shows this: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/136947
And I have this in systl.conf:
# Disable ipv6 net.ipv6.conf.all.disable_ipv6 = 1
I added AddressFamily inet to sshd_config and now it works.
Thx guys, Rainer