From f573b2905bfda13ccb34fdf9cf4b25cf0466cef2 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Mon, 2 Sep 2013 22:45:02 +0200 Subject: [PATCH] fedora-live-kde-base.ks: fix #1003619 (SDDM autologin) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Set SDDM rather than KDM to autologin liveuser on the KDE live image. Patch by Martin Bříza. --- fedora-live-kde-base.ks | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fedora-live-kde-base.ks b/fedora-live-kde-base.ks index 3bbd023..e4a6232 100644 --- a/fedora-live-kde-base.ks +++ b/fedora-live-kde-base.ks @@ -40,12 +40,11 @@ chmod a+x /home/liveuser/.xsession chown liveuser:liveuser /home/liveuser/.xsession # set up autologin for user liveuser -sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc -sed -i 's/#AutoLoginUser=fred/AutoLoginUser=liveuser/' /etc/kde/kdm/kdmrc +sed -i 's/AutoUser=/AutoUser=liveuser/' /etc/sddm.conf # set up user liveuser as default user and preselected user -sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc -sed -i 's/#DefaultUser=johndoe/DefaultUser=liveuser/' /etc/kde/kdm/kdmrc +sed -i 's/LastUser=/LastUser=liveuser/' /etc/sddm.conf +sed -i 's/LastSession=/LastSession=kde-plasma.desktop/' /etc/sddm.conf # add liveinst.desktop to favorites menu mkdir -p /home/liveuser/.kde/share/config/