You are not logged in.
> ssh -X2 192.100.5.100
connected to 192.100.5.100
X11 forwarding request failed on channel 0 <--------------- ????
> cat /var/log/errors.log | grep -i sshd
sshd[1677]: error: Failed to allocate internet-domain X11 display socket. <-------- ????
Last edited by Kilzool (2012-04-15 11:32:54)
Offline
Does the server allow X11 forwarding?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Offline
I have followed this WIKI, and still getting the error when I connect:
X11 forwarding request failed on channel 0
Offline
I just tested myself with the exact settings on the wiki, and X11 forwarding works just fine here.
Maybe a long shot, but do you have ipv6 enabled? If so, try disabling it.
Burninate!
Offline
Perhaps you could pastebin your /etc/ssh/sshd_config from the server, and the /etc/ssh/ssh_config from the client. Then give us the links.
Also, please add the -v switch to your ssh command and post the output.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I just tested myself with the exact settings on the wiki, and X11 forwarding works just fine here.
Maybe a long shot, but do you have ipv6 enabled? If so, try disabling it.
UPDATE: Solved. I just had to uncomment: 'AddressFamily all' in sshd_config
In this case, I uncommented it, and changed it to AddressFamily inet
Offline
UPDATE: Solved. I just had to uncomment: 'AddressFamily all' in sshd_config
In this case, I uncommented it, and changed it to AddressFamily inet
These exact steps worked for me as well.
If I were to ask you a hypothetical question, what would you want it to be about?
Offline
Note: it should be "any", not "all" (which gives /etc/ssh/sshd_config line 14: unsupported option "all" on rc.d restart sshd)
Also, on an IPv4 Ubuntu client, setting it to "inet" fixed it here. I updated https://wiki.archlinux.org/index.php/Se … forwarding
Offline
Limiting the address family is simply useless. The only thing to verify is whether xorg-xauth is installed on the systems. The error message will go away if xorg-xauth is present. Suggestions around xhost on the wiki do not make sense, since ssh tunnels X11 from one loopback interface to another; it doesn't connect to the X-server from remote hosts.
Offline
Limiting the address family is simply useless. The only thing to verify is whether xorg-xauth is installed on the systems. The error message will go away if xorg-xauth is present. Suggestions around xhost on the wiki do not make sense, since ssh tunnels X11 from one loopback interface to another; it doesn't connect to the X-server from remote hosts.
Installing xorg-xauth as suggested is THE ONLY way to solve the problem for me!
THX to andrej.podzimek
Hope i help you!
and
VICE.VERSA
Offline