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

Re: [linux-team] netcfg error



          Reply to:  Re: [linux-team] netcfg error

mon host s'appelle iMich (un iMac 233 Rev B),
je tape:
DISPLAY=iMich:0.0 netcfg
il m'affiche après avoir lu quelques lignes dans:usr/lib/python1.5/lib-tk/Tkinter.py


self.tk = _tkinter.create(screnName, baseName, className)
tclerror: couldn' connect to display "iMich:0.0"


Pascal Bleser wrote:
>> salut,
>> je lance netcfg en root sur un imac 233 rev A de linuxppc avec redhat.
>> il lit tous les fichiers, et ensuite m'affiche:
>> Tclerror: no display name and no *DISPLAY environment var
>> what to do ?
>
>Réponse un peu tardive mais bon... ;)
>
>Tu as probablement fait un "su - root" pour lancer netcfg.
>
>La variable d'environnement DISPLAY indique l'adresse IP et le numéro du
>display à utiliser pour les applications X.
>Quand tu fais un su, la variable DISPLAY est indéterminée.
>
>Il te suffit de faire:
>
>export DISPLAY="localhost:0.0"
>netcfg
>
>ou encore:
>DISPLAY=localhost:0.0 netcfg
>
>Note que ce truc-là, ça n'a l'air de rien, mais ça permet d'éxécuter des
>applications X sur une machine distante et avoir l'affichage sur ta
>caisse à toi. Suffit de changer DISPLAY...
>
> -o) Pascal Bleser | Instead of giving Windows
> /\\ C++/UNIX Development | the "three-finger-salute",
> _\_v ATOS Payment Systems | give it the "one-finger-
> Aachen, Germany | goodbye" <jfk/propaganda>
>
pbleser@atos-group.com------------------guru@linuxbe.org
>
>
>RFC822 header
>-----------------------------------
>
> RECEIVED: from SF_Database by POP_Mailbox_-1281816941 ; 25 JUN 99 10:12:35 UT
> Received: from NS.IKOSSVAN.DE by smtp.macline.be
> with SMTP (QuickMail Pro Server for MacOS 1.1.2); 25-Jun-1999
>10:12:28 +0200
> Received: from mail.ikossvan.de (limes.ikossvan.de [194.123.122.65])
> by ns.ikossvan.de (8.9.3/8.9.3) with ESMTP id KAA22930
> for <
mich@e-merge.be>; Fri, 25 Jun 1999 10:12:16 +0200
> Received: from [192.168.41.183] by mail.ikossvan.de (NTMail
>4.20.0009/NU4601.00.2180fc9e) with ESMTP id ftsiaaaa for <
mich@e-merge.be>; Fri, 25 Jun 1999
>10:12:06 +0200
> Comments: Authenticated sender is <pab@mail>
> From: "Pascal Bleser" <
pbleser@atos-group.com>
> Organization: ATOS Payment Systems
> To: "mich.carmelez" <
mich@e-merge.be>, linux-team@rtfm.be
> Date: Fri, 25 Jun 1999 10:12:08 +1
> MIME-Version: 1.0
> Content-type: text/plain; charset=ISO-8859-1
> Content-transfer-encoding: 8BIT
> Comments: Sender has elected to use 8-bit data in this message.
> If problems arise, refer to postmaster at sender's site.
> Subject: Re: [linux-team] netcfg error
> Priority: normal
> In-reply-to: <
>
> References: <
376AC883.1BAAF8C1@linuxbe.org>
> X-mailer: Pegasus Mail for Win32 (v2.53DE/R1)
> Message-Id: <
>
>



mich.
----------------------------------------------------------
- mich@e-merge.be - webmaster -
- http://www.e-mages.com - http://www.gift.be -
- http://www.macline.be - http://www.software4me.com -
- http://www.sipab.be -
- tel e-merge sa:+32 2 464.28.15 -
----------------------------------------------------------

Disclaimer
This email is confidential and intended solely for the use of
the individual to whom it is addressed. Moreover, it reflects
the personal opinion of his author only.