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 _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list