[LUGSB] GNOME desktop weirdness
Akshat Aranya
aaranya at ic.sunysb.edu
Mon Mar 15 18:52:09 EST 2004
>
>
> It is possible to configure your host in such a way that it
> always identifies itself as "foobar" to local programs regardless of
> what its hostname is to external hosts. /etc/hosts is the relevent
> file, and depending on some other variables (such as the software
> you are using) you may (or may not) have to run local DNS software.
>
>
My /etc/hosts contains the standard localhost entry for 127.0.0.1.
Shouldn't all local programs address the X server by this name? No
matter what network I am on, this does not change.
-Akshat
>From vinay at mnl.cs.sunysb.edu Mon Mar 15 19:17:09 2004
Received: from gateway (mail@[130.245.128.9])i2G0H93B009435
for <lugsb at fsl.cs.sunysb.edu>; Mon, 15 Mar 2004 19:17:09 -0500
Received: from linux11.mnl.cs.sunysb.edu
([130.245.145.69] helo=linux11 ident=Debian-exim)
by gateway with esmtp (Exim 3.35 #1 (Debian))
id 1B32Gc-0001nm-00
for <lugsb at fsl.cs.sunysb.edu>; Mon, 15 Mar 2004 19:17:10 -0500
Received: from vinay (helo=localhost)
by linux11 with local-esmtp (Exim 4.30)
id 1B32Gc-00041N-TF
for lugsb at fsl.cs.sunysb.edu; Mon, 15 Mar 2004 19:17:10 -0500
Date: Mon, 15 Mar 2004 19:17:10 -0500 (EST)
From: Vinay Pai <vinay at cs.sunysb.edu>
X-X-Sender: vinay at linux11
To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
Subject: Re: [LUGSB] GNOME desktop weirdness
In-Reply-To: <405641A9.3090508 at ic.sunysb.edu>
Message-ID: <Pine.LNX.4.56.0403151907080.15455 at linux11>
References: <Pine.GSO.4.44.0403151825100.25070-100000 at SunRa.mathlab.sunysb.edu>
<405641A9.3090508 at ic.sunysb.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Vinay Pai <vinay at linux11>
X-BeenThere: lugsb at fsl.cs.sunysb.edu
X-Mailman-Version: 2.1.1
Precedence: list
Reply-To: Linux Users Group at Stony Brook <lugsb at fsl.cs.sunysb.edu>
List-Id: Linux Users Group at Stony Brook <lugsb.fsl.cs.sunysb.edu>
List-Unsubscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=unsubscribe>
List-Archive: <http://lists.fsl.cs.sunysb.edu/pipermail/lugsb>
List-Post: <mailto:lugsb at fsl.cs.sunysb.edu>
List-Help: <mailto:lugsb-request at fsl.cs.sunysb.edu?subject=help>
List-Subscribe: <http://www.fsl.cs.sunysb.edu/mailman/listinfo/lugsb>,
<mailto:lugsb-request at fsl.cs.sunysb.edu?subject=subscribe>
X-List-Received-Date: Tue, 16 Mar 2004 00:17:09 -0000
> My /etc/hosts contains the standard localhost entry for 127.0.0.1.
> Shouldn't all local programs address the X server by this name? No
> matter what network I am on, this does not change.
The whole point of network transparancy is that a program doesn't know
that its "local". It will identify itself as whatever gethostname()
returns.
To be honest, I'm still not sure why you've got a hostname assigned by
DHCP. Why should the name of your computer change depending on where
you're plugged it? Isn't it easier to just have a static hostname and let
DHCP assign you the IP address, nameservers, DNS suffix etc.
Vinay
More information about the lugsb
mailing list