mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-09 23:50:07 +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:
parent
431bc90632
commit
e1715dc151
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user