LXDE: fix LXDM autologin

This commit is contained in:
Christoph Wickert 2010-03-23 19:41:51 +01:00
parent 051abde973
commit 8ca163d935
1 changed files with 2 additions and 5 deletions

View File

@ -108,10 +108,9 @@ ssmtp
%end %end
%post %post
# LXDE and SLiM configuration # LXDE and LXDM configuration
# create /etc/sysconfig/desktop (needed for installation) # create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/startlxde PREFERRED=/usr/bin/startlxde
DISPLAYMANAGER=/usr/sbin/lxdm DISPLAYMANAGER=/usr/sbin/lxdm
@ -134,9 +133,7 @@ MailClient=redhat-sylpheed.desktop
FOE FOE
# set up auto-login for liveuser # set up auto-login for liveuser
cat >> /etc/lxdm/lxdm.conf << FOE sed -i 's|# autologin=dgod|autologin=liveuser|g' /etc/lxdm/lxdm.conf
autologin=liveuser
FOE
# Show harddisk install on the desktop # Show harddisk install on the desktop
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop