Hi, I'm not sure if this is a real issue or just me doing something I'm not supposed to do, but the new xdm overwrote my /usr/lib/X11/xdm/Xsetup_0 that I did modify, because it was calling xconsole (that I don't want to install.) So I would suggest to put /usr/lib/X11/xdm in CONFIG_PROTECT in the default profile, or somehow move Xsetup_0 again in /etc/X11/xdm as it used to be. (I don't quite know all this new X stuff, so sorry if this is INVALID) :-)
I think a better solution might involve just changing that in the installed Xsetup_0, I don't see why it's default.
That sounds good, but in the same time you could use Xsetup_0 to make your xdm display stuff (i.e. let say that you take away xconsole, but someone wants it, or xclock or something else)...any update in xdm will erase the configuration.
The general idea should be that only the xdm files installed into /etc should require configuration. There must be a better spot to put programs to run. xdm installs these: /etc/X11/xdm/Xaccess /etc/X11/xdm/xdm-config /etc/X11/xdm/Xresources /etc/X11/xdm/Xservers xinit installs these: /etc/X11/xinit/xinitrc /etc/X11/Sessions/Xsession Do any of those work? Is there another system-level config file that would be more suitable?
The fact is that according to many howto's and from xdm-config Xsetup_0 is the correct place to make modifications to xdm appearence. You can run xconsole, or xclock, or put fancy buttons etc. I can't see any other files where to do the same things in a clean way. It's easy to change the location of Xsetup_0, just change /etc/X11/xdm/xdm-config. I did that and I'll leave my Xsetup_0 in /etc, but I still think that since it's a file that supposely (AFAIK) is user modifiable the best location should be by default in /etc/X11/xdm. Probably a similar problem can arise with Xstartup, GiveConsole and TakeConsole, since I know that people use them to do stuff, see for example this thread http://forums.gentoo.org/viewtopic.php?t=272135 But my knowledge of how X works is very limited, so I might be wrong. :-)
*** Bug 131309 has been marked as a duplicate of this bug. ***
Since upstream treats these as scripts rather than configuration files, so will we. Users may opt to add a custom file in /etc/env.d/ that adds /usr/lib/X11/xdm to CONFIG_PROTECT or change the location of these files as suggested in comment #5.
And by comment #5 I meant comment #4.