forked from srbala/fedora-kickstarts
update autologin conf for SDDM changes (from mbriza, #1149610)
This commit is contained in:
parent
852fb1a0a1
commit
6d305ab349
@ -40,11 +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/^AutoUser=.*/AutoUser=liveuser/' /etc/sddm.conf
|
cat > /etc/sddm.conf << EOF
|
||||||
|
[Autologin]
|
||||||
# set up user liveuser as default user and preselected user
|
User=liveuser
|
||||||
sed -i 's/^LastUser=.*/LastUser=liveuser/' /etc/sddm.conf
|
Session=plasma.desktop
|
||||||
sed -i 's/^LastSession=.*/LastSession=kde-plasma.desktop/' /etc/sddm.conf
|
EOF
|
||||||
|
|
||||||
# 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/
|
||||||
|
Loading…
Reference in New Issue
Block a user