diff -ru /home/posadmin/src.orig/lightdm/lightdm-1.18.3/src/seat.c lightdm-1.18.3/src/seat.c --- /home/posadmin/src.orig/lightdm/lightdm-1.18.3/src/seat.c 2017-07-28 11:35:49.000000000 +0200 +++ lightdm-1.18.3/src/seat.c 2017-07-28 13:10:20.252126174 +0200 @@ -1287,6 +1287,7 @@ Greeter *greeter; const gchar *greeter_wrapper; const gchar *autologin_username; + const gchar *autologin_session; int autologin_timeout; gboolean autologin_guest; @@ -1349,6 +1350,9 @@ autologin_username = seat_get_string_property (seat, "autologin-user"); if (g_strcmp0 (autologin_username, "") == 0) autologin_username = NULL; + autologin_session = seat_get_string_property (seat, "autologin-session"); + if (g_strcmp0 (autologin_session, "") == 0) + autologin_session = NULL; autologin_timeout = seat_get_integer_property (seat, "autologin-user-timeout"); autologin_guest = seat_get_boolean_property (seat, "autologin-guest"); if (autologin_timeout > 0) @@ -1360,6 +1364,8 @@ g_free (value); if (autologin_username) greeter_set_hint (greeter, "autologin-user", autologin_username); + if (autologin_session) + greeter_set_hint (greeter, "autologin-session", autologin_session); if (autologin_guest) greeter_set_hint (greeter, "autologin-guest", "true"); }