Re: Problem with DHCP, /etc/hosts and GNOME

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

 




On Thu, 8 Apr 2004, Rick Stevens wrote:
> 
> The problem is that xdm creates the initial cookie based on the
> hostname.  All additional auth sessions base off that cookie.  If you
> change the hostname, then the initial cookie is no longer valid.
> 
> I think the command you used was "xauth generate :0 ."

Ok. This works only if invoked before the hostname is changed.

xauth generate newname/unix:0 MIT-MAGIC-COOKIE-1

What I've used is more like - (works after the hostname is chaged as well)

xauth list | grep 'oldhostname/unix:0' | sed -e 's/oldhostname/newhostname/' | xargs xauth add

Satish



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux