1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-26 09:03:09 +00:00

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 431bc90632
commit e1715dc151

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/