Re: X session and hostname changing policy

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


 (o_   Ludwig Nussel
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)

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