Re: Telnet

From: Tim Hammerquist (tim_at_vegeta.ath.cx)
Date: 06/11/03

  • Next message: Alan Connor: "Re: Telnet"
    Date: 10 Jun 2003 18:40:15 -0700
    
    

    Alan Connor graced us by uttering:
    > When I login as <me> at home, I can bring up X if needed by
    > just typing startx.
    >
    > If I login from a remote location using telnet and then type
    > startx, I get an error message saying that the user does not
    > have permission to use the x-server...aborting. Same username
    > and password....
    >
    > Any of you networking pros have a clue as to why this is so?

    If configured, ssh automatically forwards the information
    necessary to run X11 apps on a local X display (using the
    ForwardX11 statement in the various ssh/sshd cfg files).

    Telnet does not do this automatically. It is still possible to
    transfer the necessary information over telnet, but involves
    inter-host pipes. I won't go into it here.

    > P.S. Yes, I know I should be using ssh, but it is not an option
    > from the places I usually login from. No, I can't add programs
    > to these computers :-)

    If you grab PuTTY (google for "putty ssh"), you can run it as a
    user-mode progrem without installation on any Win32 client. This
    should help if it's a Win box. If you're using a *nix client
    that doesn't have ssh, I pity you and your fellow users...

    Which brings up another point: if you're on a Win32 client, there
    will be no local X11 display for the app to connect to... unless
    you happen to be running cygwin. But then, if the client's
    running cygwin, you have ssh.

    There are still valid uses for telnet, but the only one I can
    think of is:

        $ telnet localhost 80
        Trying 192.168.0.3...
        Connected to yourhost.yourdomain
        Escape character is '^]'.
        GET /some/url

    ...and similar applications.

    You're certainly allowed (for the time being) to use telnet for
    remote access, but I can't imagine you want every single host
    between the client and your linux box to be able to see your user
    password, (if you su) your root password, and anything you might
    be sending between X11 sessions unencrypted; but then, some
    people like recovering from backups daily...

    Tim Hammerquist

    -- 
    Time is a great teacher, but unfortunately it kills all its pupils.
        -- Hector Berlioz
    

  • Next message: Alan Connor: "Re: Telnet"

    Relevant Pages

    • RE: Commentary on the seven words
      ... When I was an operating systems programmer we all too often forgot that the Operating system existed to support the application, not the other way around. ... A Because the application that we run uses a telnet client that doesn't support ssh - and that's why I can't run ssh on this system. ... I administrate one system that has 128 clients on it and it's ...
      (RedHat)
    • Re: Commentary on the seven words
      ... A Because the application that we run uses a telnet client that doesn't ... support ssh - and that's why I can't run ssh on this system. ... General Red Hat Linux discussion list ... >operating system and utility advice and assistance and there are SEVEN ...
      (RedHat)
    • Re: Telnet
      ... >> just typing startx. ... > Telnet does not do this automatically. ... > user-mode progrem without installation on any Win32 client. ... a remote location and a Windoze box than I was before..... ...
      (comp.unix.questions)
    • Re: Commentary on the seven words
      ... routinely asked to help with enabling rsh and telnet. ... Shoot, I use SSH & all that, but if I wanted to allow it for some ... > I wrote in with a complaint that Linux will allow a process (like Tar, ... I administrate one system that has 128 clients ...
      (RedHat)
    • Re: OSR507: xm_vtcld : could not open libXm.so
      ... laptop, I can run successfully "scoadmin software" if I'm through SSH, ... LINUXLAPTOP $ telnet 172.xxx.101.66 ... Similarly cron jobs have a different environment, and cgi-bin scripts ...
      (comp.unix.sco.misc)