NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-amd64/57236 (Gude, 9.8, https://netbsd.org/docs/guide/en/chap-x.html#chap-x-xdm is wrong)
The following reply was made to PR xsrc/57236; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-amd64/57236 (Gude, 9.8, https://netbsd.org/docs/guide/en/chap-x.html#chap-x-xdm is wrong)
Date: Thu, 2 Mar 2023 10:51:50 -0000 (UTC)
david%gutteridge.ca@localhost ("David H. Gutteridge") writes:
>From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
>To: matthew green <mrg%eterna.com.au@localhost>, gnats-bugs%netbsd.org@localhost
> > so i'm not sure why the xdm-config setting is needed.=C2=A0 or is it
> > that "XDM-AUTHORIZATION-1" method doesn't work at all, and it
> > can only be "MIT-MAGIC-COOKIE-1"?=C2=A0 this seems to be the default,
> So, when the process starts, it loads libxcb, calculates "PID+nonce=3D0+
> seconds since the epoch" for use by xdm authorization.
It worked fine when it was invented, nobody would open X sessions on
multiple threads then.
The nonce is also just a workaround for not having a truly monotonic
timestamp. So it could be fixed easily.
Home |
Main Index |
Thread Index |
Old Index