The lxdm build in Gentoo had a /usr/sbin/lxdm executable script
file, that primarily targetted RedHat/Fedora, and caused some
minor problems with Gentoo's xdm startup scripts.
I have moved /usr/sbin/lxdm to /usr/sbin/startlxdm, and made
/usr/sbin/lxdm into a symbolic link to /usr/sbin/lxdm-binary.
Modify the source code to disable the pam_console configuration
in /etc/pam.d/lxdm. The sys-libs/pam ebuild complains and quits
if it sees any active reference to pam_console, since Gentoo
doesn't support pam_console.
Added an /etc/lxdm/xinitrc file to allow processing of
global and user xinitrc and xprofile files.
The kdm version of Xsession provided the example code
used in this file.
LXDM was having trouble starting under xdm since it doesn't run as
a daemon like xdm, gdm, or kdm. LXDM would start OK, but the
processing of init scripts would freeze due to this behaviour.
I've added a custom /etc/init.d/lxdm and /etc/conf.d/lxdm based on
/etc/init.d/xdm, /etc/X11/startDM.sh, and /usr/sbin/lxdm that can
be used in place of starting with xdm.
While Gentoo is supporting a good number of lxde ebuilds,
lxdm is currently lightly supported due to it's expirmental status.
The lxde-base/lxdm-0.2.0 package currently has some shortcomings.
It will not work correctly when configured in /etc/conf.d/xdm
since it causes /etc/init.d/xdm to hang due to the program not
exiting like a daemon.
This ebuild is being provided for evaluation, but needs further
development in the scripts that launch it.