The generic Red Hat Xsession script is now owned by the xorg-x11-xinit
package, which contains:
Provides: xinitrc = 5.0.0-1
The reason it was kept in the xinit package instead of being coupled with
xdm is twofold:
1) The 'xinitrc' and 'Xsession' scripts used to share a lot of code which
got out of sync very often as a bugfix was applied to one file, but not
the other. I split out their common code into 'xinitrc-common' which
both of them source. It is easiest to maintain them in one package
rather than two.
2) I believe both gdm and kdm use xdm's Xsession script. It is better to
have it in the xinit package, so that gdm/kdm do not have to have a
hard dependency on xdm for the script to be installed.
That coupled with the above virtual provide I mentioned, means gdm/kdm
should work fine by doing 'Requires: xinitrc', at least for the time
being.
Note however, that the monolithic tree with xinitrc, has a number of files
with hard coded paths set in /usr/X11R6, whereas the new xorg-x11-xinit
package has all of the paths set to /usr. If this is a problem for gdm
or kdm, I can review the scripts and have them check /usr/bin first, and
fall back to looking in /usr/X11R6.