On Tue, Nov 18, 2003 at 12:32:56PM +0200, Arik Baratz wrote:
> 
> -----Original Message-----
> From: Leonid Podolny [mailto:[EMAIL PROTECTED]
> [snip]
> 
> > On Mon, 17 Nov 2003, Arik Baratz wrote:
> > 
> > > 
> > > Can you plese post the result of:
> > > 
> > > ssh -v -n -X [EMAIL PROTECTED] xlogo
> > > 
> 
> > -- Attached file included as plaintext by Listar --
> > -- File: out.log
> > 
> > OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.6k 30 Sep 2003
> > debug1: Reading configuration data /etc/ssh/ssh_config
> 
> [snip]
> 
> > _X11TransSocketOpen: socket() failed for tcp
> 
> Leonid,
> 
> Can you please do ssh -X to the machine, and then:
> 
> echo $DISPLAY
> 
> will give you something along the lines of "localhost:10.0"
> 
> Then take the number after the ':' (10 in this example) and add 6000 to it, and run 
> telnet:
> 
> telnet localhost 6010

[I already took a look at this]

telnet localhost 6010 indeed seems to open a tcp connection.

Also note: the error is not: 'Error: Can't open display: localhost:10.0'


> 
> Replace the 6010 with the number you got (if it's different than 10). Let us all 
> know what that gives you - the exact error message.
> 
> Can you also do
> 
> iptables -L -v -n 
> 
> and mail the result? I'm assuming that the machine has iptables. The ipchains 
> command is very similar.
> 
> My current guess is that you have ipchains/iptables rules on computer 
> "A" that prevent local users from connecting to port 6010 from 
> localhost, but that needs to be confirmed. What's baffeling to me is 
> that the error message mentions the socket() function rather than the 
> connect() function as I would expect in the case that my assumption is 
> correct.


-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to