On Sun, Jul 6, 2008 at 2:22 AM, Unix Fan <[EMAIL PROTECTED]> wrote: > Greets, > > > > In a number of Linux distributions the bug has been fixed, but it > > remains in OpenBSD... Why? >
I don't see any difference in the way Fedora 8 handles that. The only difference I see is that most linux distributions enforce the use of a display manager instead of letting the user run startx. Using a display manager has always been the recommended way to start X. (xinit/startx are just helpers for the cases where the display manager can't be used, like during X development or debugging) > If you start Xorg using the startx script, and shutdown suddenly, > those little buggers multiply. Only if you don't give startx a chance to execute the code that clean them up after the X server exits, when your machine crashes or is powered off whithout a proper shutdown. Normally, even if you run 'shutdown' in an X terminal, startx correctly removes the script. > So, how about we make that little block of code on line 107 do > something useful? > Hop on over to line 141 and replace failure with success: > xserverauthfile=$XAUTHORITY No. The .xserverauth.xxx file was introduced a couple of years ago because the X server has no reason to have access to all the cookies in the user's .Xauthority. If you used xdm to start X or shutdown X cleanly, no .xserverauth files are left beyond. -- Matthieu Herrb

