xdm: very long pause after login
Alan Coopersmith
alan.coopersmith at sun.com
Sun Nov 19 18:29:03 PST 2006
Andrew J. Barr wrote:
> Just FYI, please use 'Reply to All' to keep the mailing list CC'd. Also,
> top posting is considered bad etiqutte by some ML denizens...
>
> On Sun, 2006-11-19 at 16:48 +0100, dark_mail at gmx.net wrote:
>> lo is up , and in /etc/hosts I have a line assigning localhost and my
>> hostname to 127.0.0.1.
>>
>> Btw:
>> xdm just respawned when trying to start Xfce, garbling VT1 along with
>> it. I just got back to the login screen.
>
> Okay, the next thing to try is X display permissions. I've had issues
> where I've changed the hostname of my computer and then the X server
> denies connections from clients.
Your xauth cookies are stored in $HOME/.xauthority under IP address for
remote connections and hostname for local connections - if you change those,
it won't be able to find the right cookies for the current display.
I've had some idle thoughts about trying to figure out if there's a way we
can store them under a machine specific unique id as well for cases where you
move your laptop between networks that assign hostnames via DHCP, but haven't
come up with a good way (MAC address is the best I can think of, but most
laptops have at least two of those now). Currently the best I've thought of
is having the display or session manager be notified when hostname changes
(via HAL/DBUS maybe?) and have it update .Xauthority accordingly.
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering
More information about the xorg
mailing list