Re: problem with X forwarding
From: Pupeno (pupeno_at_pupeno.com)
To: Rajeev Kumar <email@example.com> Date: Mon, 25 Aug 2003 14:57:01 -0300
-----BEGIN PGP SIGNED MESSAGE-----
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.
The offser here is 10 (just that I had two X running on the workstation), now
I have only one X running and I tried what you told me:
$ ssh root@media
Last login: Mon Aug 25 18:45:46 2003 from lab.pupeno.com
[root@media root]# xeyes
_X11TransSocketOpen: socket() failed for tcp
_X11TransSocketOpenCOTSClient: Unable to open socket for tcp
_X11TransOpen: transport open failed for tcp/localhost:10
Error: Can't open display: localhost:10.0
[root@media root]# telnet localhost 6010
Connected to localhost.
Escape character is '^]'.
so, the problem is not here...
One question, the port 6010 is open in B only to localhost, right ? because
nmap only shows port 6010 if I nmap localhost on B.
> Also on machine A try
> xhost + (I don't think if this is a problem as ssh X11 is little different)
That didn't work either :(
Thank you very much.
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-----