--- alx-src/branches/alxconf_20060908/functions/config_x11.sh 2011/01/24 23:25:57 1702 +++ alx-src/branches/alxconf_20060908/functions/config_x11.sh 2011/01/24 23:27:07 1703 @@ -30,11 +30,27 @@ export ALX_MOUSE } +config_display_manager() +{ + # setup slim + cat ${ALX_SKELETONS}/slim/slim.conf > /etc/slim.conf + sed -i "s:@@USERNAME@@:${ALX_UNPRIV_USER}" /etc/slim.conf + + # setup xession + sed -i "s:\(^GLOGIN=\).*:\1slim:" /etc/rc.config + + # windowmanager + echo "exec startfluxbox" > ${ALX_UNPRIV_HOME}/.xinitrc +} + config_x11() { # get our settings from the db get_x11_settings + # setup displaymanager + config_display_manager + local xserver local xfconfig local HAS_VNC