Re: problem with X forwarding

From: Pupeno (pupeno_at_pupeno.com)
Date: 08/25/03

  • Next message: Greg Wooledge: "Re: problem with X forwarding"
    To: Rajeev Kumar <rajeev@rajeevnet.com>
    Date: Mon, 25 Aug 2003 14:57:01 -0300
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    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
    root@media's password:
    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
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    ^]
    telnet> quit
    Connection closed.
    [root@media root]#

    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.
    - --
    Pupeno: pupeno@pupeno.com
    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
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/Sk3vLr8z5XzmSDQRAjqRAKCi2k8mTpNPGvk1KJ8QvT61FMoZwACg0MjU
    HyYALrffK+RHGzLfci1kCC0=
    =z18C
    -----END PGP SIGNATURE-----


  • Next message: Greg Wooledge: "Re: problem with X forwarding"

    Relevant Pages

    • Re: SSH and XP
      ... >>>refuses any connection from the localhost ... >>>through SSH, ... Windows XP will allow ...
      (microsoft.public.security)
    • Re: Optimale Nutzung von Benutzerrechten; evtl. ACL?
      ... ssh braucht natürlich eine richtige Shell a la Bash. ... Connection to localhost closed. ... So - also ich brauche eine "richtige Shell" ...
      (de.comp.os.unix.linux.misc)
    • Re: SSL VPN
      ... I ssh from the server (which is ... behind a firewall) out to my home computer and leave this connection ... And why "localhost"? ... The "-N" says not to execute a command on the remote computer. ...
      (Fedora)
    • when is the hosts name not localhost ??
      ... I have a Sun SPARCstation 20, with a hostname of 'blackbird'. ... $ ssh localhost ... works and allows a connection from blackbird's console to the machine. ...
      (comp.security.ssh)
    • Re: What is The SSH?
      ... Building and Using SSH Tunnels ... What is an SSH tunnel? ... how to use it to make a connection to a server. ... You will need a working SSH client and server installation to build and test ...
      (microsoft.public.windows.server.networking)