X forwarding fails, Linux 2.4.0-test[8,9]

David Wray Price dwp at rice.edu
Wed Oct 4 07:42:24 EST 2000


X forwarding doesn't work for me under Linux kernels 2.4.0-test8 or test9,
using OpenSSH 2.2.0p1 (as packaged in Debian woody.) When I try to ssh to my
machine, the client spits out the following pieces of information:

Warning: Remote host denied X11 forwarding.
Last login: Tue Oct  3 15:26:19 2000 from localhost on pts/2
Linux mallard 2.4.0-test9 #3 Tue Oct 3 14:20:59 CDT 2000 i686 unknown
No mail.
Last login: Tue Oct  3 15:26:30 2000 from localhost
Received disconnect: Command terminated on signal 11.

sshd logs the following when I connect:

sshd[547]: Connection from 127.0.0.1 port 1186
sshd[547]: Accepted rsa for dwp from 127.0.0.1 port 1186
sshd[547]: error: socket: Address family not supported by protocol
PAM_unix[547]: (ssh) session opened for user dwp by (uid=0)
sshd[547]: Disconnecting: Command terminated on signal 11.
PAM_unix[547]: (ssh) session closed for user dwp

The error also occurs if I don't use RSAAuthentication, come in from a
remote machine, or use SSH protcol version 2 (although with v2 the sig11s do
not occur); in any of these cases, I get the same socket: Address family not
supported by protocol error in my log and the connection drops, unless I
turn off X forwarding.

All this worked with no problem in Linux 2.4.0-test7 and earlier. Does
anyone know what broke? Is this a Linux kernel bug?

-- 
David Wray Price |  #!/usr/bin/perl
Jones '03        |  $_=1;while($_<=4){print(chr(int(2*exp(log(
Rice University  |  $_)*3)-15*exp(log($_)*2)+30*($_++)+57.5)))}





More information about the openssh-unix-dev mailing list