diff --git a/lib/util-livecd.sh b/lib/util-livecd.sh index 6dda748..75d3963 100644 --- a/lib/util-livecd.sh +++ b/lib/util-livecd.sh @@ -431,5 +431,7 @@ configure_displaymanager(){ sed -i -e "s|^User=.*|User=${username}|" /etc/sddm.conf elif [[ -f /usr/bin/lxdm ]];then sed -i -e "s/^.*autologin=.*/autologin=${username}/" /etc/lxdm/lxdm.conf + elif [[ -f /usr/bin/gdm ]];then + sed -i -e "s/^.*AutomaticLogin=.*/AutomaticLogin=${username}/" /etc/gdm/custom.conf fi }