2014年6月14日星期六

LXDM without PAM support for BLFS 7.5

1. Install lxdm 0.5.0
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --without-pam
make
make install

Modify /etc/lxdm/lxdm.conf:
- Correct the path of the “greeter”: change “/usr/local/libexec” to “/usr/libexec”
- set session={your x window}

2. Create startup for runlevel 5:
cat > “/etc/init.d/lxdm” << “EOF”
/usr/sbin/lxdm
EOF
chmod 754 /etc/init.d/lxdm
ln -sv /etc/init.d/lxdm /etx/rc.d/rc5.d/S99lxdm

If you want to show onscreen keyboard (onboard) for login screen, add “/usr/bin/onboard” in “/etc/lxdm/LoginReady” and “/etc/lxdm/PostLogout” files

Reference:
https://launchpad.net/ubuntu/+source/lxdm
https://wiki.archlinux.org/index.php/LXDM

沒有留言: