Re: X session and hostname changing policy
- From: Dan Williams <dcbw redhat com>
- To: Ludwig Nussel <ludwig nussel suse de>
- Cc: networkmanager-list gnome org
- Subject: Re: X session and hostname changing policy
- Date: Tue, 22 Jun 2010 00:40:33 -0700
On Tue, 2010-06-22 at 09:14 +0200, Ludwig Nussel wrote:
> Dan Williams wrote:
> > On Mon, 2010-06-14 at 23:16 +0300, Fırat Birlik wrote:
> > > I experience a problem with hostname manipulation of NetworkManager
> > > and the X session. DHCP server sends a hostname within the dhcp
> > > offer, which is different the current one. There is no persistent
> > > hostname definition within the 'nm-system-settings.conf' as this is a
> > > default installation. NetworkManager just changes the hostname and as
> > > new hostname is not authenticated (xhost cookie MIT-MAGIC-COOKIE-1 for
> > > new hostname does not exist) no new application can be started
> > > afterwards.
> >
> > The solution is *not* to use hostname for local X authentication at all.
>
> Even if that problem didn't exist... What's the benefit of allowing
> a DHCP server in a foreign network to modify the hostname by default
> anyways?
One example: single-image boots on multiple systems (computer lab,
datacenter, whatever). You don't want each one to have the same
hostname, so you let DHCP assign a hostname to the machine when it boots
up.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]