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

Bug#292388: XOpenDisplay says "XDM authorization key matches an existing client!"



* Brice Goglin <Brice.Goglin@ens-lyon.org> [070214 01:03]:
> >> About 2 years ago, you reported a bug to the Debian BTS regarding
> >> XOpenDisplay failing because the XDM auth key matched an existing
> >> client. I tried to reproduce with your testcase, but I couldn't. The
> >> relevant source code did not change a lot, but did changed a little bit.
> >> Did you reproduce this problem recently? If not, I will close this bug
> >> in the next weeks.
> >>     
> >
> > I just tried and could reproduce it on an etch machine.
> >   
> 
> Could you please describe what I exactly need to do to reproduce?

I'm assuming you just need to run the program in the example (which
only works when your display is :0 and the compiled program is called
./test, but that is easy to change), when there is a
XDM-AUTHORIZATION-1 cookie for it in your .Xauthority file (loggin in
with xdm should suffice, unless xdm-config now contains authName by
default, but AFAIK it does not). There is a bit of timing involved, so
a local X server would be best, but as the example tries until it fails,
it should be visible nevertheless. I don't know if it took longer
on slower computers I no longer have available, but on current ones it
always triggers for me after the first exec.

Hochachtungsvoll,
	Bernhard R. Link



Reply to: