Re: problem with X forwarding
From: Pupeno (pupeno_at_pupeno.com)
To: Rajeev Kumar <email@example.com> Date: Mon, 25 Aug 2003 15:52:09 -0300
-----BEGIN PGP SIGNED MESSAGE-----
Note, when I ssh with -vvv I can see this after I type the password:
debug2: x11_get_proto: /usr/X11R6/bin/xauth list :0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
On Monday 25 August 2003 12:58, Rajeev Kumar wrote:
> Make sure ssh was able to setup X11 tunnel. ssh usually have some entry
> in /etc/sshd_config file.
> X11DisplayOffset 10
> which says how it is going to listen for X11 connection like in above
> case it is going to listen at port 6010 (offset 10 from std X11 port
> 6000). SO after you ssh to server then at server try one of this.
> telnet localhost 6011
> (Looks like in your case it offset is 11)
> see if this gives something like this.
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> if not than there is a problem in binding this port, try some other
> offset value, other than 6000. Also on machine A try
> xhost + (I don't think if this is a problem as ssh X11 is little different)
> hope this helps to start debugging.
> Pupeno wrote:
> > I don't know if this is the right list to post about this problem, but
> > I'm reaching the desperate state.
> > I'm ssh from computer A to computer B, running a X application in B
> > expecting to be shown in A's X server.
> > X forwarding is enabled in both computers, A and B in both,
> > /etc/ssh/ssh_config and /etc/ssh/sshd_config.
> > But when I run the application a get this error:
> > _X11TransSocketOpen: socket() failed for tcp
> > _X11TransSocketOpenCOTSClient: Unable to open socket for tcp
> > _X11TransOpen: transport open failed for tcp/localhost:11
> > Error: Can't open display: localhost:11.0
> > Do you have any idea of what may happen ?
> > In A, I was able to connect when I was running Ark Linux, the problem
> > appeared when I installed Gentoo so, I may say, the problem is in A since
> > B didn't suffer any deep change.
> > Any clue would be nice.
> > Thanks.
> > --
> > Pupeno: firstname.lastname@example.org
> > http://www.pupeno.com
> > ---
> > Help the hungry children of Argentina,
> > please go to (and make it your homepage):
> > http://www.porloschicos.com/servlet/PorLosChicos?comando=donar
Help the hungry children of Argentina,
please go to (and make it your homepage):
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----