forked from srbala/fedora-kickstarts
LXDE: fix LXDM autologin
This commit is contained in:
parent
051abde973
commit
8ca163d935
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user