It is distribution-dependant. Generally, GDM and KDM4 both have a search path that includes /usr/share/xsessions/ , so I put the files there. But sometimes (on Mandriva-derived distribution), there are specific tools and locations that must be used ...
Thank you.
Would you please itemize those locations?
From what I have read, /usr/share/xsessions is more or less a default location.
Thus far I know of the following:
/etc/X11/sessions /etc/kde/kdm/sessions /usr/share/xsessions /usr/share/apps/kdm/sessions /usr/share/config/kdm/sessions /usr/share/config/kdm/Xsession /var/lib/menu-xdg/xsessions
I am curious about other login managers, such as SLiM and LightDM.
I am gathering information for bug report 1934.
Darrell