autologin issue while gdm(gnome)
Hi
It seems the autologin don't work while gdm start
in the latest live-package & casper
in the casper : 15autologin
there is no AutomaticLoginEnable= entity in the original /etc/gdm/gdm.conf
so the sed replace command (in casper : 15autologin) don't work ,
the AutomaticcLoginEnable and other entities should be added .
Best Regards
Wufu Chen
//////////////// casper : 15autologin/////////////////
if chroot /root [ -f /etc/gdm/gdm-cdd.conf ]; then
GDMCONF=/etc/gdm/gdm-cdd.conf
else
GDMCONF=/etc/gdm/gdm.conf
fi
if chroot /root [ -f ${GDMCONF} ]; then
# Configure GDM autologin
chroot /root sed -i \
-e "s/^AutomaticLoginEnable=.*\$/AutomaticLoginEnable=true/" \
-e "s/^AutomaticLogin=.*\$/AutomaticLogin=$USERNAME/" \
-e "s/^TimedLoginEnable=.*\$/TimedLoginEnable=true/" \
-e "s/^TimedLogin=.*\$/TimedLogin=$USERNAME/" \
-e "s/^TimedLoginDelay=.*\$/TimedLoginDelay=10/" \
${GDMCONF}
fi
////////////etc/gdm/gdm.conf///////////////////////////////
/////////there is no AutomaticLoginEnable entity in orignal gdm.conf
////////////////////
/etc/gdm/gdm.conf
.......
# Have fun!
[daemon]
[security]
[xdmcp]
[gui]
[greeter]
[chooser]
[debug]
# Note that to disable servers defined in the defaults.conf file (such as
......
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.debian-unofficial.org/pipermail/live/attachments/20060527/a04040a7/attachment.html
Reply to: