[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] netcfg error
- To: "mich.carmelez" <mich@e-merge.be>, linux-team@rtfm.be
- Subject: Re: [linux-team] netcfg error
- From: "Pascal Bleser" <pbleser@atos-group.com>
- Date: Fri, 25 Jun 1999 10:12:08 +1
- Comments: Authenticated sender is <pab@mail>
- Comments: Sender has elected to use 8-bit data in this message. If problems arise, refer to postmaster at sender's site.
- In-reply-to: <>
- Organization: ATOS Payment Systems
- References: <376AC883.1BAAF8C1@linuxbe.org>
- Reply-to: linux-team@rtfm.be
- Sender: owner-linux-team@rtfm.be
> 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
---------
This message was sent by Majordomo 1.94.3. Please report problems to
manu@rtfm.be. If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.