WDM is a display login manager for Linux. I am building WDM as replacement for xdm and slim. Before compilation, I installed the following packages in addition to the compiler toolchain:
- libwraster3-dev
- libwings-dev
- libpam0g-dev
- libxinerama-dev
- gettext
I configured wdm like this:
./configure --x-includes=/usr/local/include --x-libraries=/usr/local/lib --sysconfdir=/etc/X11 --localstatedir=/var --with-nlsdir=/usr/share/locale --with-wdmdir=/etc/X11/wdm --with-gfxdir=/usr/share/pixmaps/wdm --enable-aafont --with-wmlist=icewm:openbox:pekwm:gnome-session
Then I built WDM:
make
make install
The following files are installed.
/etc/X11/wdm/Xclients
/etc/X11/wdm/Xservers
/etc/X11/wdm/Xservers.ws
/etc/X11/wdm/Xsession
/etc/X11/wdm/Xsetup_0
/etc/X11/wdm/wdm-config
/etc/X11/wdm/wdmReconfig
/usr/local/bin/wdm
/usr/local/bin/wdmLogin
/usr/local/man/man1/wdm.1
/usr/share/locale/de/LC_MESSAGES/wdm.mo
/usr/share/locale/cs/LC_MESSAGES/wdm.mo
/usr/share/locale/cy/LC_MESSAGES/wdm.mo
/usr/share/locale/en/LC_MESSAGES/wdm.mo
/usr/share/locale/es/LC_MESSAGES/wdm.mo
/usr/share/locale/ja/LC_MESSAGES/wdm.mo
/usr/share/locale/ru/LC_MESSAGES/wdm.mo
/usr/share/locale/fr_FR/LC_MESSAGES/wdm.mo
/var/run/wdm
I created a script as /etc/init.d/wdm:
#!/bin/sh
set -e
test -x /usr/local/bin/wdm || exit 0
case "$1" in
start)
echo "Starting wdm..."
start-stop-daemon --start --quiet --pidfile /var/run/wdm.pid --name wdm --startas /usr/local/bin/wdm
;;
restart)
/etc/init.d/wdm stop
/etc/init.d/wdm start
;;
stop)
echo "Stopping wdm..."
if ! [ -f /var/run/wdm.pid ]; then
echo "/var/run/wdm.pid not found"
else
start-stop-daemon --stop --quiet --pidfile /var/run/wdm.pid --name wdm --retry TERM/5/TERM/5
fi
;;
esac
exit 0
Upon reboot, wdm started but wouldn't respond to the Return key after I typed my login name. I wasn't able to fix this problem yet.
No comments:
Post a Comment