Re: Telnet
From: Tim Hammerquist (tim_at_vegeta.ath.cx)
Date: 06/11/03
- Previous message: Alan Connor: "Telnet"
- In reply to: Alan Connor: "Telnet"
- Next in thread: Alan Connor: "Re: Telnet"
- Reply: Alan Connor: "Re: Telnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Previous message: Alan Connor: "Telnet"
- In reply to: Alan Connor: "Telnet"
- Next in thread: Alan Connor: "Re: Telnet"
- Reply: Alan Connor: "Re: Telnet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|