From 2e6da9acf89268833b8f766c96d3a72ea5116e39 Mon Sep 17 00:00:00 2001 From: Celestia Ludenberg Date: Tue, 16 Jun 2026 19:10:54 +0200 Subject: [PATCH] fix: switch live session from startx to GDM for GNOME --- airootfs/etc/gdm/custom.conf | 12 ++++++++++++ run_before_squashfs.sh | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 airootfs/etc/gdm/custom.conf diff --git a/airootfs/etc/gdm/custom.conf b/airootfs/etc/gdm/custom.conf new file mode 100644 index 0000000..8910de5 --- /dev/null +++ b/airootfs/etc/gdm/custom.conf @@ -0,0 +1,12 @@ +[daemon] +AutomaticLoginEnable=True +AutomaticLogin=antergos + +[security] + +[xdmcp] + +[chooser] + +[debug] + diff --git a/run_before_squashfs.sh b/run_before_squashfs.sh index c1c2c99..476da97 100755 --- a/run_before_squashfs.sh +++ b/run_before_squashfs.sh @@ -130,7 +130,9 @@ echo " --> per default now in airootfs/etc/systemd/system/multi-user.target.want #systemctl enable NetworkManager.service systemd-timesyncd.service bluetooth.service firewalld.service #systemctl enable vboxservice.service vmtoolsd.service vmware-vmblock-fuse.service #systemctl enable intel.service -systemctl set-default multi-user.target +# Use graphical target with GDM for GNOME live session +systemctl set-default graphical.target +systemctl enable gdm.service echo "---> Set wallpaper for live-session and installed system --->" mkdir -p "/usr/share/antergos/backgrounds"