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: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gutteridge%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, m.kozlowski%mini.pw.edu.pl@localhost
Subject: re: port-amd64/57236 (Gude, 9.8, https://netbsd.org/docs/guide/en/chap-x.html#chap-x-xdm is wrong)
Date: Sat, 25 Feb 2023 06:28:15 +1100

 >  The issue is basically that as we presently distribute xdm, it won't
 >  interoperate properly with some modern X applications, because the
 >  authorization mechanism it defaults to doesn't work. This was surprising
 >  to me as well (I don't use xdm or any other display manager), as the
 >  error messages aren't clear here about what's happening. I was able to
 >  reproduce this myself and test the configuration tweak.
 >  
 >  Other BSDs and Linux distros dealt with this years ago; e.g., FreeBSD
 >  changed the default in the configuration to be what I suggested, Debian
 >  changed xdm's compilation settings to fundamentally disable the xdm
 >  authorization method, etc. I feel NetBSD should do something of the sort
 >  as well, but that probably requires discussion among developers. So, for
 >  now, I've adjusted chapter 9.8 in the guide to add this detail.
 
 i'm confused.  the default should be:
 
    "XDM-AUTHORIZATION-1 MIT-MAGIC-COOKIE-1"
 
 so i'm not sure why the xdm-config setting is needed.  or is it
 that "XDM-AUTHORIZATION-1" method doesn't work at all, and it
 can only be "MIT-MAGIC-COOKIE-1"?  this seems to be the default,
 since libXdcmp default to including XdmcpWrap.c, which means
 xdm finds it and enables xdm auth methods.
 
 anyway, we can fix this i'm sure, but i don't understand what's
 wrong or why the change helps.
 
 thanks.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index