diff options
-rwxr-xr-x | scripts/LINARO/22-display-manager-autologin.chroot | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/LINARO/22-display-manager-autologin.chroot b/scripts/LINARO/22-display-manager-autologin.chroot index b4806c3..83e5c91 100755 --- a/scripts/LINARO/22-display-manager-autologin.chroot +++ b/scripts/LINARO/22-display-manager-autologin.chroot @@ -15,3 +15,9 @@ if [ -e $target/usr/bin/sddm ]; then sed -i "s|^Current=.*|Current=breeze|" $target/etc/sddm.conf sed -i "s|^CursorTheme==.*|CursorTheme=breeze_cursors|" $target/etc/sddm.conf fi + +# Enable GDM3 autologin for linaro user +if [ -e $target/etc/gdm3/daemon.conf ]; then + sed -i "s|^#.*AutomaticLoginEnable.*|AutomaticLoginEnable=true|" $target/etc/gdm3/daemon.conf + sed -i "s|^#.*AutomaticLogin.*|AutomaticLogin=linaro|" $target/etc/gdm3/daemon.conf +fi |