diff --git a/hooks/1-add-autologin.chroot b/hooks/1-add-autologin.chroot index 0807dd1..ff20cc7 100755 --- a/hooks/1-add-autologin.chroot +++ b/hooks/1-add-autologin.chroot @@ -2,5 +2,6 @@ mkdir -p /etc/gdm3 || true mkdir -p /etc/sddm.conf.d/ || true -echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/custom.conf || true +echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/daemon.conf || true +ln -sf /etc/gdm3/daemon.conf /etc/gdm3/custom.conf echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true