[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux-team] telnet



On Mon, 10 Jan 2000, Pascal Bleser wrote:

> On Mon, Jan 10, 2000 at 12:11:55PM +0100, Eric Darchis wrote:
> > At 10:50 PM 1/8/00 +0100, you wrote:
> > >Je n'ai plus reussi un telnet sous X depuis que je vous en ai parle. Je
> > >fais un telnet sur une adesse IP et nom sur un nom de machine.
> > Vu que ca marche en console, ca ne peut pas etre un probleme DNS.
> > >echo $TERM donne : xterm pour rxvt et xterm-color pour kvt. En console,
> > >ca donne linux.
> > Donc, sous xterm (ou autre kvt rxvt) fais:
> > export TERM="linux"
> > telnet 1.2.3.4
> Je ne vois pas trop le rapport entre TERM et un délai de telnet (sorry, j'ai
> pas suivi la discussion de puis le début).
> Le délai ne peut être qu'un problème de DNS, mais -effectivement- pourquoi
> depuis un XTerm et pas depuis la console... :\
> 
> > Si ca ne marche toujours pas, il se pourrait que le DISPLAY pose probleme
> > (je sais pas encore comment). =>
> > unset DISPLAY
> > telnet 1.2.3.4
> DISPLAY ?
> Telnet n'utilise pas DISPLAY, c'est pas X.

Suivant le RFC-1096 :
 "This RFC specifies a standard for the Internet community.  Hosts on
   the Internet that transmit the X display location within the Telnet
   protocol are expected to adopt and implement this standard."

Toutes les implémentations courantes de telnet doivent implémenter ce RFC. 
Donc si on analyse la session d'un telnet , on peut voir l'echange du
DISPLAY (ou pas, mais avec la modif du hostname).

C'est pas impossible qu'il y aie une résolution dns. Un petit tcpdump lors
de la négotiation telnet permettrait de voir si cela est le cas. Voir si
le problème de timeout est lié à une resolution ou autre. 


> Mais c'est pas mal pensé: peut-être qu'il utilise DISPLAY et doit résoudre
> le nom de ta machine (du côté distant, sur le serveur que tu telnettes ;)).
> Néanmoins, je ne vois vraiment pas ce que telnet à a voir avec DISPLAY...
> 
> -- 
>   -o) / Pascal Bleser          ATOS Payment Systems|
>   /\\ \ C++/UNIX Development        Aachen, Germany|
>  _\_v  \<guru@linuxbe.org> <pbleser@atos-group.com>|
> ---------------------------------------------------|
> Real programmers don't draw flowcharts.            :
> Flowcharts are, after all, the illiterate's form   :
> of documentation. Cavemen drew flowcharts; look    :
> how much good it did them.                         :
> ---------------------------------------------------'
> 
> ---------
> Visit the Linux Supertore Online: http://www.redcorp.com !
> If you want to be deleted from the list, send a mail to
> majordomo@rtfm.be with "unsubscribe linux-team" in the body.
> Archive of the list: http://tania.be.linux.org/
> 

 [META]       [   Alexandre Dulaunoy   ] USER, n. The word computer  
 [T]echnology [   [AD4384-DARPA]       ] professionals use when they
 [I]nterface  [   [AD993-RIPE]         ] mean "idiot". 
 [X]change    [   adulau@metatix.com   ] http://unix.be.EU.org

---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/