In the pre-modular Xorg, startx manpage had something like this: "Note that in the Debian system, what many people traditionally put in the .xinitrc file should go in .xsession instead; this permits the same X environment to be presented whether startx, xdm, or xinit is used to start the X session. All discussion of the .xinitrc file in the xinit(1) manual page applies equally well to .xsession."
I can't find this now, is it still valid? Also note that statx manpage talks about /usr/lib/X11/xinit/ directory, shouldn't that be /etc/X11/xinit? Regards, Vedran Furač