fedora-live-kde-base.ks: fix #1003619 (SDDM autologin)

Set SDDM rather than KDM to autologin liveuser on the KDE live image.

Patch by Martin Bříza.
This commit is contained in:
Kevin Kofler 2013-09-02 22:45:02 +02:00
parent b8dca705d6
commit f573b2905b

View File

@ -40,12 +40,11 @@ chmod a+x /home/liveuser/.xsession
chown liveuser:liveuser /home/liveuser/.xsession chown liveuser:liveuser /home/liveuser/.xsession
# set up autologin for user liveuser # set up autologin for user liveuser
sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc sed -i 's/AutoUser=/AutoUser=liveuser/' /etc/sddm.conf
sed -i 's/#AutoLoginUser=fred/AutoLoginUser=liveuser/' /etc/kde/kdm/kdmrc
# set up user liveuser as default user and preselected user # set up user liveuser as default user and preselected user
sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc sed -i 's/LastUser=/LastUser=liveuser/' /etc/sddm.conf
sed -i 's/#DefaultUser=johndoe/DefaultUser=liveuser/' /etc/kde/kdm/kdmrc sed -i 's/LastSession=/LastSession=kde-plasma.desktop/' /etc/sddm.conf
# add liveinst.desktop to favorites menu # add liveinst.desktop to favorites menu
mkdir -p /home/liveuser/.kde/share/config/ mkdir -p /home/liveuser/.kde/share/config/