[Fedora-spins] [spin-kickstarts/f21] update autologin conf for SDDM changes (from mbriza, #1149610)

Adam Williamson adamwill at fedoraproject.org
Tue Oct 28 18:58:47 UTC 2014


commit ab93ba68cb43fc95d841d357cc3885bb0c7582ea
Author: Adam Williamson <awilliam at redhat.com>
Date:   Thu Oct 23 11:03:10 2014 -0700

    update autologin conf for SDDM changes (from mbriza, #1149610)

 fedora-live-kde-base.ks |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/fedora-live-kde-base.ks b/fedora-live-kde-base.ks
index 74ba8eb..7602c56 100644
--- a/fedora-live-kde-base.ks
+++ b/fedora-live-kde-base.ks
@@ -40,11 +40,11 @@ chmod a+x /home/liveuser/.xsession
 chown liveuser:liveuser /home/liveuser/.xsession
 
 # set up autologin for user liveuser
-sed -i 's/^AutoUser=.*/AutoUser=liveuser/' /etc/sddm.conf
-
-# set up user liveuser as default user and preselected user
-sed -i 's/^LastUser=.*/LastUser=liveuser/' /etc/sddm.conf
-sed -i 's/^LastSession=.*/LastSession=kde-plasma.desktop/' /etc/sddm.conf
+cat > /etc/sddm.conf << EOF
+[Autologin]
+User=liveuser
+Session=plasma.desktop
+EOF
 
 # add liveinst.desktop to favorites menu
 mkdir -p /home/liveuser/.kde/share/config/


More information about the spins mailing list