You are not logged in.

#1 2022-04-10 07:28:04

eisenschweinchen
Member
Registered: 2022-04-10
Posts: 1

GDM autologin no longer works after fresh install under GNOME 42

The usual config doesn't seem to work anymore:
echo "[daemon]
AutomaticLogin=chaudeen
AutomaticLoginEnable=True" >> /etc/gdm/custom.conf;

On another machine, which has been upgraded from GNOME 41 to 42, the autologin still works. Do you know what could be the reason for this?

Offline

#2 2022-09-03 23:11:39

makujama
Member
Registered: 2022-09-03
Posts: 1

Re: GDM autologin no longer works after fresh install under GNOME 42

Because the session if failing. Do you get gnome-session errors in your log? Really surprised nobody pointed you to that debugging and reporting gnome errors page.

Anyhow, if you rebuild gdm with this patch, then bob's your uncle.

--- a/daemon/gdm-local-display-factory.x    2022-03-27 15:34:40.260983491 -0500
+++ b/daemon/gdm-local-display-factory.c    2022-03-27 15:34:56.360928948 -0500
@@ -634,6 +634,7 @@
         return lookup_by_seat_id (id, display, user_data);
}

+#undef HAVE_UDEV
#ifdef HAVE_UDEV
static gboolean
udev_is_settled (GdmLocalDisplayFactory *factory)

Offline

#3 2022-09-03 23:15:20

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: GDM autologin no longer works after fresh install under GNOME 42

Thanks for the contribution, but the OP has not been here since April.

Closing.

Offline

Board footer

Powered by FluxBB