Hi Simon, I had to look it up myself how I did it on the SL miniLiveCD. The important parts are in the files mini-livecd.sh and customize/livecd-autologin. Possibly that's not the easiest solution, but it seems to work. In short: At the end of the LiveCD booting the script customize/runlast is executed as /etc/rc.d/init.d/runlast. In case of the miniLiveCD runlast calls the script livecd-autologin, which enables auto login for the local user and creates the files ~./xinitrc and ~/.xsession for the local user where icewm-session is started for him. It may works, if you write something like the following at the very end of customize/runlast: ### variable LOCALUSER should be known by runlast, ### default is sluser STARTSESSION="icewm-session" LOCALUSER_HOME=$(grep "^${LOCALUSER}:" /etc/passwd | cut -d":" -f6) ### create .xinitrc for LOCALUSER XINITRC=$LOCALUSER_HOME/.xinitrc echo "[ -x ~/autostart ] && ~/autostart" > $XINITRC echo "exec $STARTSESSION" >> $XINITRC chmod 755 $XINITRC ### link .xsession to .xinitrc ln -sf .xinitrc $LOCALUSER_HOME/.xsession On the SL minLiveCD no login manager (kdm, gdm, xdm) is installed. That's the reason why I did it over ~/.xinitrc. If you have a login manager installed, maybe this does not work or there is a much easier way to set icewm as default. Cheers, Urs On 11/17/2010 04:30 PM, Simon Dadoun wrote: > Hello Urs, > > Thanks you for your quick answer :) > > Now my livecd boots without asking those questions. > > Actually firstboot was in SERVICES_OFF, but the program chkconfig was > not in PATH, then build-livecd.sh was complaining (chkconfig command > not found) but created the iso file anyway. So I just add /sbin in PATH. > > Now I am trying to use ICEWM as default window manager, so far I have > to specify it in the login screen otherwise I don't have any (windows > have no borders and there isn't taskbar). > > In livecd.conf there are two parameters : DESKTOP and DISPLAYMANAGER > but it seems they are only for KDE or GNOME. > > Do you know how to set up ICEWM as default windows manager ? > > Cheers > Simon > > Le 16/11/10 20:26, Urs Beyerle a écrit : >> Hi, >> >> this sounds like you still have firstboot active. Do you have in >> livecd.conf "firstboot" in SERVICES_OFF? >> >> On the LiveCD check >> >> chkconfig --list firstboot >> >> firstboot should be off. >> >> Cheers, >> >> Urs >> >> >> >> >> On 11/16/2010 05:17 PM, Simon Dadoun wrote: >>> Dear Urs, >>> I successfully built a Scientific-Linux live cd, thanks for your >>> precious scripts and documentations. >>> >>> But when it boots it asks me if I want to activate the firewall, >>> Selinux, create a user and confirm the sound config (it is the same >>> questions it asks when one installs regular Scientific-Linux >>> distribution). >>> >>> Do you if it is possible to avoid those questions ? >>> >>> (Actually I will like to build the same live cd as >>> ftp://ftp.scientificlinux.org/linux/scientific/livecd/55/i386/mini_livecd_SL55_2010-06-17.iso >>> >>> >>> ) >>> >>> Thanks you >>> Regards >>> >>> >>> ----------------------------------------------------- >>> Simon DADOUN LAL, Univ Paris-Sud, IN2P3/CNRS >>> Bat 200 91898 ORSAY France >>> Tel: +33 1 64 46 86 28 Skype: simon.dadoun >>> mailto:[log in to unmask] >>> ----------------------------------------------------- >