History

display-manager-autologin.sh: configure sddm autologin for kde live iso.

Unknown committed 8 years ago

Commit c70eb891 parent 7801df61 file · +10 −0Browse files

Unified · Split

dracut/vmklive/display-manager-autologin.sh+10−0
@@ -21,6 +21,16 @@ if [ -d ${NEWROOT}/etc/gdm ]; then · 20 unmodified lines
2121 fi
2222 fi
2323
24+# Configure sddm autologin for the kde iso.
25+if [ -r ${NEWROOT}/etc/sddm.conf ]; then
26+ mv ${NEWROOT}/etc/sddm.conf ${NEWROOT}/etc/sddm.conf.old
27+ cat > ${NEWROOT}/etc/sddm.conf <<_EOF
28+[Autologin]
29+User=anon
30+Session=plasma.desktop
31+_EOF
32+fi
33+
2434 # Configure lightdm autologin.
2535 if [ -r ${NEWROOT}/etc/lightdm.conf ]; then
2636 sed -i -e "s|^\#\(default-user=\).*|\1$USERNAME|" \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t