--- gdm-2.28.1/gui/simple-greeter/gdm-language-option-widget.c-orig	2009-11-04 23:25:00.148433359 -0600
+++ gdm-2.28.1/gui/simple-greeter/gdm-language-option-widget.c	2009-11-05 01:31:26.395895575 -0600
@@ -35,6 +35,8 @@
 #include <glib/gstdio.h>
 #include <gtk/gtk.h>
 
+#include "gdm-common.h"
+#include "gdm-settings-keys.h"
 #include "gdm-profile.h"
 #include "gdm-languages.h"
 #include "gdm-language-option-widget.h"
@@ -186,6 +188,10 @@ gdm_language_option_widget_lookup_item (
         char *lang_tag;
         char *normalized_locale;
 
+        if (strcmp (locale, GDM_LAST_LANGUAGE) == 0) {
+                return NULL;
+        }
+
         normalized_locale = gdm_normalize_language_name (locale);
 
         language = gdm_get_language_from_name (locale, normalized_locale);
@@ -210,6 +216,7 @@ static void
 gdm_language_option_widget_init (GdmLanguageOptionWidget *widget)
 {
         GError *error;
+        gboolean show_last;
 
         widget->priv = GDM_LANGUAGE_OPTION_WIDGET_GET_PRIVATE (widget);
 
@@ -234,6 +241,16 @@ gdm_language_option_widget_init (GdmLang
                                     _("Choose a language from the "
                                       "full list of available languages."),
                                     GDM_OPTION_WIDGET_POSITION_BOTTOM);
+
+
+        gdm_settings_client_get_boolean (GDM_KEY_SHOW_LAST, &show_last);
+        if (show_last == TRUE) {
+                gdm_option_widget_add_item (GDM_OPTION_WIDGET (widget),
+                                            GDM_LAST_LANGUAGE,
+                                            C_("lastlanguage", "Last"),
+                                            _("Last language"),
+                                            GDM_OPTION_WIDGET_POSITION_TOP);
+        }
 }
 
 static void
--- gdm-2.28.1/gui/simple-greeter/Makefile.am-orig	2009-11-04 22:21:02.058835986 -0600
+++ gdm-2.28.1/gui/simple-greeter/Makefile.am	2009-11-04 22:24:41.485260955 -0600
@@ -186,6 +186,8 @@ test_language_chooser_SOURCES = 	\
 
 test_language_chooser_LDADD =	\
 	$(GTK_LIBS)		\
+	$(top_builddir)/common/libgdmcommon.la	\
+	$(COMMON_LIBS) \
 	$(NULL)
 
 test_layout_chooser_SOURCES = 	\
@@ -208,6 +210,7 @@ test_layout_chooser_SOURCES = 	\
 
 test_layout_chooser_LDADD =		\
 	$(GTK_LIBS)			\
+	$(top_builddir)/common/libgdmcommon.la	\
 	$(LIBXKLAVIER_LIBS)		\
 	$(NULL)
 
@@ -220,6 +223,8 @@ test_languages_SOURCES = 		\
 
 test_languages_LDADD =		\
 	$(GTK_LIBS)		\
+	$(top_builddir)/common/libgdmcommon.la	\
+	$(COMMON_LIBS)		\
 	$(NULL)
 
 test_sessions_SOURCES = 		\
@@ -230,6 +235,8 @@ test_sessions_SOURCES = 		\
 
 test_sessions_LDADD =		\
 	$(GTK_LIBS)		\
+	$(top_builddir)/common/libgdmcommon.la	\
+	$(COMMON_LIBS)		\
 	$(NULL)
 
 test_user_chooser_SOURCES = 		\
--- gdm-2.28.1/gui/simple-greeter/gdm-layout-option-widget.c-orig	2009-11-04 23:24:40.934654235 -0600
+++ gdm-2.28.1/gui/simple-greeter/gdm-layout-option-widget.c	2009-11-05 01:33:27.621165273 -0600
@@ -35,6 +35,9 @@
 #include <glib/gstdio.h>
 #include <gtk/gtk.h>
 
+#include "gdm-common.h"
+#include "gdm-settings-client.h"
+#include "gdm-settings-keys.h"
 #include "gdm-profile.h"
 #include "gdm-layouts.h"
 #include "gdm-layout-option-widget.h"
@@ -184,6 +187,10 @@ gdm_layout_option_widget_lookup_item (Gd
 {
         char *layout;
 
+        if (strcmp (key, GDM_LAST_LAYOUT) == 0) {
+                return NULL;
+        }
+
         layout = gdm_get_layout_from_name (key);
 
         if (layout == NULL) {
@@ -200,6 +207,7 @@ static void
 gdm_layout_option_widget_init (GdmLayoutOptionWidget *widget)
 {
         GError *error;
+        gboolean show_last;
 
         widget->priv = GDM_LAYOUT_OPTION_WIDGET_GET_PRIVATE (widget);
 
@@ -224,6 +232,15 @@ gdm_layout_option_widget_init (GdmLayout
                                     _("Choose a keyboard layout from the "
                                       "full list of available layouts."),
                                     GDM_OPTION_WIDGET_POSITION_BOTTOM);
+
+        gdm_settings_client_get_boolean (GDM_KEY_SHOW_LAST, &show_last);
+        if (show_last == TRUE) {
+                gdm_option_widget_add_item (GDM_OPTION_WIDGET (widget),
+                                            GDM_LAST_LAYOUT,
+                                            C_("lastlayout", "Last"),
+                                            _("Last layout"),
+                                            GDM_OPTION_WIDGET_POSITION_TOP);
+       }
 }
 
 static void
@@ -288,7 +305,10 @@ gdm_layout_option_widget_set_current_lay
                                             id, NULL, NULL, NULL)) {
                 gdm_recent_option_widget_add_item (GDM_RECENT_OPTION_WIDGET (widget),
                                                    id);
+        } else if (strcmp (id, GDM_LAST_LAYOUT) == 0) {
+                gdm_option_widget_set_active_item (GDM_OPTION_WIDGET (widget), id);
         }
+
         g_debug ("GdmLayoutOptionWidget: Setting active item: '%s'", id);
         gdm_option_widget_set_active_item (GDM_OPTION_WIDGET (widget), id);
 }
--- gdm-2.28.1/gui/simple-greeter/gdm-session-option-widget.c-orig	2009-11-05 01:28:55.241372676 -0600
+++ gdm-2.28.1/gui/simple-greeter/gdm-session-option-widget.c	2009-11-05 01:31:46.422101341 -0600
@@ -36,8 +36,10 @@
 #include <glib/gstdio.h>
 #include <gtk/gtk.h>
 
+#include "gdm-common.h"
 #include "gdm-session-option-widget.h"
 #include "gdm-sessions.h"
+#include "gdm-settings-keys.h"
 
 #define GDM_SESSION_OPTION_WIDGET_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GDM_TYPE_SESSION_OPTION_WIDGET, GdmSessionOptionWidgetPrivate))
 
@@ -133,8 +135,19 @@ add_available_sessions (GdmSessionOption
 static void
 gdm_session_option_widget_init (GdmSessionOptionWidget *widget)
 {
+        gboolean show_last;
+
         widget->priv = GDM_SESSION_OPTION_WIDGET_GET_PRIVATE (widget);
 
+        gdm_settings_client_get_boolean (GDM_KEY_SHOW_LAST, &show_last);
+        if (show_last == TRUE) {
+                gdm_option_widget_add_item (GDM_OPTION_WIDGET (widget),
+                                            GDM_LAST_SESSION,
+                                            C_("lastsession", "Last"),
+                                            _("Last session"),
+                                            GDM_OPTION_WIDGET_POSITION_TOP);
+        }
+
         add_available_sessions (widget);
 }
 
@@ -189,5 +202,7 @@ gdm_session_option_widget_set_current_se
         } else if (gdm_option_widget_lookup_item (GDM_OPTION_WIDGET (widget), session,
                                             NULL, NULL, NULL)) {
                 gdm_option_widget_set_active_item (GDM_OPTION_WIDGET (widget), session);
+        } else if (strcmp (session, GDM_LAST_SESSION) == 0) {
+                gdm_option_widget_set_active_item (GDM_OPTION_WIDGET (widget), session);
         }
 }
--- gdm-2.28.1/gui/simple-greeter/gdm-languages.c-orig	2009-11-05 01:59:01.681852584 -0600
+++ gdm-2.28.1/gui/simple-greeter/gdm-languages.c	2009-11-05 01:52:31.426242787 -0600
@@ -37,6 +37,7 @@
 #include <glib/gi18n.h>
 #include <glib/gstdio.h>
 
+#include "gdm-common.h"
 #include "gdm-languages.h"
 
 #include <langinfo.h>
@@ -246,6 +247,11 @@ gdm_normalize_language_name (const char 
                 return NULL;
         }
 
+        if (strcmp (name, GDM_LAST_LANGUAGE) == 0) {
+                normalized_name = g_strdup (name);
+                return normalized_name;
+        }
+
         gdm_parse_language_name (name,
                                  &language_code,
                                  &territory_code,
--- gdm-2.28.1/daemon/gdm-session-settings.c-orig	2009-11-03 14:22:02.562125262 -0600
+++ gdm-2.28.1/daemon/gdm-session-settings.c	2009-11-04 20:31:28.802328150 -0600
@@ -21,6 +21,7 @@
  */
 #include "config.h"
 #include "gdm-session-settings.h"
+#include "gdm-common.h"
 
 #include <errno.h>
 #include <pwd.h>
@@ -268,19 +269,64 @@ gdm_session_settings_is_loaded (GdmSessi
 gboolean
 gdm_session_settings_load (GdmSessionSettings  *settings,
                            const char          *username,
+                           gboolean             handle_last,
                            GError             **error)
 {
         GKeyFile *key_file;
         GError   *load_error;
         gboolean  is_loaded;
+        gboolean  skip_session;
+        gboolean  skip_language;
+        gboolean  skip_layout;
         char     *session_name;
         char     *language_name;
         char     *layout_name;
         char     *filename;
 
+        skip_session = FALSE;
+        skip_language = FALSE;
+        skip_layout = FALSE;
+
         g_return_val_if_fail (settings != NULL, FALSE);
         g_return_val_if_fail (username != NULL, FALSE);
-        g_return_val_if_fail (!gdm_session_settings_is_loaded (settings), FALSE);
+
+        if (handle_last == FALSE) {
+                g_return_val_if_fail (!gdm_session_settings_is_loaded (settings), FALSE);
+        } else {
+                if (settings->priv->session_name != NULL && 
+                    strcmp (settings->priv->session_name, GDM_LAST_SESSION) == 0) {
+                        g_debug ("Session value is last, loading user value");
+                        g_free (settings->priv->session_name);
+                        settings->priv->session_name = NULL;
+                } else {
+                        skip_session = TRUE;
+                }
+
+                if (settings->priv->language_name != NULL && 
+                    strcmp (settings->priv->language_name, GDM_LAST_LANGUAGE) == 0) {
+                        g_debug ("Session value is last, loading user value");
+                        g_free (settings->priv->language_name);
+                        settings->priv->language_name = NULL;
+                } else {
+                        skip_language = TRUE;
+                }
+
+                if (settings->priv->layout_name != NULL && 
+                    strcmp (settings->priv->layout_name, GDM_LAST_LAYOUT) == 0) {
+                        g_debug ("Language value is last, loading user value");
+                        g_free (settings->priv->layout_name);
+                        settings->priv->layout_name = NULL;
+                } else {
+                        skip_layout = TRUE;
+                }
+
+                if (skip_session == TRUE &&
+                    skip_language == TRUE &&
+                    skip_layout == TRUE) {
+                        is_loaded = TRUE;
+                        goto out;
+                }
+        }
 
         filename = g_build_filename (GDM_CACHE_DIR, username, "dmrc", NULL);
 
@@ -294,46 +340,52 @@ gdm_session_settings_load (GdmSessionSet
                 goto out;
         }
 
-        session_name = g_key_file_get_string (key_file, "Desktop", "Session",
-                                              &load_error);
-
-        if (session_name != NULL) {
-                gdm_session_settings_set_session_name (settings, session_name);
-                g_free (session_name);
-        } else if (g_error_matches (load_error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_KEY_NOT_FOUND)) {
-                g_error_free (load_error);
-                load_error = NULL;
-        } else {
-                g_propagate_error (error, load_error);
-                goto out;
-        }
-
-        language_name = g_key_file_get_string (key_file, "Desktop", "Language",
-                                               &load_error);
-
-        if (language_name != NULL) {
-                gdm_session_settings_set_language_name (settings, language_name);
-                g_free (language_name);
-        } else if (g_error_matches (load_error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_KEY_NOT_FOUND)) {
-                g_error_free (load_error);
-                load_error = NULL;
-        } else {
-                g_propagate_error (error, load_error);
-                goto out;
-        }
-
-        layout_name = g_key_file_get_string (key_file, "Desktop", "Layout",
-                                             &load_error);
-
-        if (layout_name != NULL) {
-                gdm_session_settings_set_layout_name (settings, layout_name);
-                g_free (layout_name);
-        } else if (g_error_matches (load_error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_KEY_NOT_FOUND)) {
-                g_error_free (load_error);
-                load_error = NULL;
-        } else {
-                g_propagate_error (error, load_error);
-                goto out;
+        if (skip_session == FALSE) {
+                session_name = g_key_file_get_string (key_file, "Desktop",
+                        "Session", &load_error);
+                if (session_name != NULL) {
+                        g_debug ("Setting value to %s", session_name);
+                        gdm_session_settings_set_session_name (settings, session_name);
+                        g_free (session_name);
+                } else if (g_error_matches (load_error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_KEY_NOT_FOUND)) {
+                        g_error_free (load_error);
+                        load_error = NULL;
+                } else {
+                        g_propagate_error (error, load_error);
+                        goto out;
+                }
+        }
+
+        if (skip_language == FALSE) {
+                language_name = g_key_file_get_string (key_file, "Desktop", "Language",
+                                                       &load_error);
+
+                if (language_name != NULL) {
+                        gdm_session_settings_set_language_name (settings, language_name);
+                        g_free (language_name);
+                } else if (g_error_matches (load_error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_KEY_NOT_FOUND)) {
+                        g_error_free (load_error);
+                        load_error = NULL;
+                } else {
+                        g_propagate_error (error, load_error);
+                        goto out;
+                }
+        }
+
+        if (skip_layout == FALSE) {
+                layout_name = g_key_file_get_string (key_file, "Desktop", "Layout",
+                                                     &load_error);
+
+                if (layout_name != NULL) {
+                        gdm_session_settings_set_layout_name (settings, layout_name);
+                        g_free (layout_name);
+                } else if (g_error_matches (load_error, G_KEY_FILE_ERROR, G_KEY_FILE_ERROR_KEY_NOT_FOUND)) {
+                        g_error_free (load_error);
+                        load_error = NULL;
+                } else {
+                        g_propagate_error (error, load_error);
+                        goto out;
+                }
         }
 
         is_loaded = TRUE;
--- gdm-2.28.1/daemon/gdm-session-settings.h-orig	2009-11-03 14:22:24.893794520 -0600
+++ gdm-2.28.1/daemon/gdm-session-settings.h	2009-11-04 17:34:05.519510299 -0600
@@ -55,6 +55,7 @@ GdmSessionSettings *gdm_session_settings
 
 gboolean            gdm_session_settings_load               (GdmSessionSettings  *settings,
                                                              const char          *username,
+                                                             gboolean             handle_last,
                                                              GError             **error);
 gboolean            gdm_session_settings_save               (GdmSessionSettings  *settings,
                                                              const char          *home_directory,
--- gdm-2.28.1/daemon/gdm-session-direct.c-orig	2009-11-03 14:22:09.290517498 -0600
+++ gdm-2.28.1/daemon/gdm-session-direct.c	2009-11-04 18:11:37.230528358 -0600
@@ -56,6 +56,7 @@
 
 #include "gdm-session-record.h"
 #include "gdm-session-worker-job.h"
+#include "gdm-common.h"
 
 #define GDM_DBUS_NAME                 "org.gnome.DisplayManager"
 #define GDM_DBUS_DISPLAY_INTERFACE    "org.gnome.DisplayManager.Display"
@@ -1093,6 +1094,13 @@ gdm_session_direct_handle_saved_language
         dbus_connection_send (connection, reply, NULL);
         dbus_message_unref (reply);
 
+        /* If setting to GDM_LAST_LANGUAGE, then just set default */
+        if (strcmp (language_name, GDM_LAST_LANGUAGE) == 0) {
+                _gdm_session_default_language_name_changed (GDM_SESSION (session),
+                                                            language_name);
+                goto out;
+        }
+
         if (strcmp (language_name,
                     get_default_language_name (session)) != 0) {
                 g_free (session->priv->saved_language);
@@ -1102,7 +1110,7 @@ gdm_session_direct_handle_saved_language
                                                             language_name);
         }
 
-
+out:
         return DBUS_HANDLER_RESULT_HANDLED;
 }
 
@@ -1126,6 +1134,13 @@ gdm_session_direct_handle_saved_layout_n
         dbus_connection_send (connection, reply, NULL);
         dbus_message_unref (reply);
 
+        /* If setting to GDM_LAST_LAYOUT, then just set default */
+        if (strcmp (layout_name, GDM_LAST_LAYOUT) == 0) {
+                _gdm_session_default_layout_name_changed (GDM_SESSION (session),
+                                                          layout_name);
+                goto out;
+        }
+
         if (strcmp (layout_name,
                     get_default_layout_name (session)) != 0) {
                 g_free (session->priv->saved_layout);
@@ -1135,7 +1150,7 @@ gdm_session_direct_handle_saved_layout_n
                                                           layout_name);
         }
 
-
+out:
         return DBUS_HANDLER_RESULT_HANDLED;
 }
 
@@ -1159,6 +1174,13 @@ gdm_session_direct_handle_saved_session_
         dbus_connection_send (connection, reply, NULL);
         dbus_message_unref (reply);
 
+        /* If setting to GDM_LAST_SESSION, then just set default */
+        if (strcmp (session_name, GDM_LAST_SESSION) == 0) {
+                _gdm_session_default_session_name_changed (GDM_SESSION (session),
+                                                           session_name);
+                goto out;
+        }
+
         if (! get_session_command_for_name (session_name, NULL)) {
                 /* ignore sessions that don't exist */
                 g_debug ("GdmSessionDirect: not using invalid .dmrc session: %s", session_name);
--- gdm-2.28.1/daemon/gdm-session-worker.c-orig	2009-11-03 14:22:16.411609672 -0600
+++ gdm-2.28.1/daemon/gdm-session-worker.c	2009-11-05 01:43:12.609790668 -0600
@@ -72,6 +72,8 @@
 
 #include "gdm-session-settings.h"
 #include "gdm-common.h"
+#include "gdm-settings-direct.h"
+#include "gdm-settings-keys.h"
 
 #define GDM_SESSION_WORKER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GDM_TYPE_SESSION_WORKER, GdmSessionWorkerPrivate))
 
@@ -734,10 +736,26 @@ gdm_session_worker_get_username (GdmSess
 
 static void
 attempt_to_load_user_settings (GdmSessionWorker *worker,
-                               const char       *username)
+                               const char       *username,
+                               gboolean          handle_last)
 {
+        gboolean show_last;
+
+        gdm_settings_direct_get_boolean (GDM_KEY_SHOW_LAST, &show_last);
+        if (show_last == TRUE && handle_last == FALSE) {
+                g_debug ("Setting selection options to Last");
+                gdm_session_settings_set_session_name (worker->priv->user_settings,
+                        GDM_LAST_SESSION);
+                gdm_session_settings_set_language_name (worker->priv->user_settings,
+                        GDM_LAST_LANGUAGE);
+                gdm_session_settings_set_layout_name (worker->priv->user_settings,
+                        GDM_LAST_LAYOUT);
+                return;
+        }
+
         gdm_session_settings_load (worker->priv->user_settings,
                                    username,
+                                   handle_last,
                                    NULL);
 }
 
@@ -779,7 +797,9 @@ gdm_session_worker_update_username (GdmS
                  */
                 if (worker->priv->username != NULL &&
                     !gdm_session_settings_is_loaded (worker->priv->user_settings)) {
-                        attempt_to_load_user_settings (worker, worker->priv->username);
+                        attempt_to_load_user_settings (worker,
+                               worker->priv->username,
+                               FALSE);
                 }
         }
 
@@ -1792,12 +1812,16 @@ gdm_session_worker_accredit_user (GdmSes
 {
         gboolean ret;
         gboolean res;
+        gboolean has_last;
         uid_t    uid;
         gid_t    gid;
         char    *shell;
         char    *home;
         char    *path_str;
         int      error_code;
+        char    *session_name;
+        char    *language_name;
+        char    *layout_name;
 
         ret = FALSE;
 
@@ -1870,6 +1894,46 @@ gdm_session_worker_accredit_user (GdmSes
 
         ret = TRUE;
 
+        /*
+         * If the user is using the "Last" session, get the defaults
+         * now, after pam_setcred is complete.
+         */
+        session_name  = gdm_session_settings_get_session_name (
+                worker->priv->user_settings);
+        language_name = gdm_session_settings_get_language_name (
+                worker->priv->user_settings);
+        layout_name   = gdm_session_settings_get_layout_name (
+                worker->priv->user_settings);
+
+        has_last = FALSE;
+        if (session_name != NULL &&
+            strcmp (session_name, GDM_LAST_SESSION) == 0) {
+                g_debug ("Session setting is Last");
+                has_last = TRUE;
+        }
+        if (language_name != NULL &&
+            strcmp (language_name, GDM_LAST_LANGUAGE) == 0) {
+                g_debug ("Language setting is Last");
+                has_last = TRUE;
+        }
+        if (layout_name != NULL &&
+            strcmp (layout_name, GDM_LAST_LAYOUT) == 0) {
+                g_debug ("Layout setting is Last");
+                has_last = TRUE;
+        }
+
+        if (has_last == TRUE) {
+                g_debug ("Now loading users default settings.");
+
+                /* Now copy user settings to cache and load */
+                gdm_session_worker_cache_userfiles (worker);
+                attempt_to_load_user_settings (worker, worker->priv->username,
+                        TRUE);
+        }
+        g_free (session_name);
+        g_free (language_name);
+        g_free (layout_name);
+
  out:
         if (ret) {
                 g_debug ("GdmSessionWorker: state ACCREDITED");
@@ -2519,7 +2583,8 @@ do_setup (GdmSessionWorker *worker)
          */
         if (worker->priv->username != NULL) {
                 attempt_to_load_user_settings (worker,
-                                               worker->priv->username);
+                                               worker->priv->username,
+                                               FALSE);
         }
 
         error = NULL;
--- gdm-2.28.1/common/gdm-settings-keys.h-orig	2009-11-04 22:05:28.777373518 -0600
+++ gdm-2.28.1/common/gdm-settings-keys.h	2009-11-05 00:42:22.440982808 -0600
@@ -36,6 +36,7 @@ G_BEGIN_DECLS
 #define GDM_KEY_INCLUDE "greeter/Include"
 #define GDM_KEY_EXCLUDE "greeter/Exclude"
 #define GDM_KEY_INCLUDE_ALL "greeter/IncludeAll"
+#define GDM_KEY_SHOW_LAST "greeter/ShowLast"
 
 #define GDM_KEY_DISALLOW_TCP "security/DisallowTCP"
 
--- gdm-2.28.1/common/gdm-common.h-orig	2009-11-04 18:14:28.591538569 -0600
+++ gdm-2.28.1/common/gdm-common.h	2009-11-04 18:02:16.210664528 -0600
@@ -30,6 +30,10 @@
 #define GDM_SDTLOGIN_DIR "/var/dt/sdtlogin"
 #endif
 
+#define GDM_LAST_LANGUAGE "GDM_LAST_LANGUAGE"
+#define GDM_LAST_LAYOUT   "GDM_LAST_LAYOUT"
+#define GDM_LAST_SESSION  "GDM_LAST_SESSION"
+
 G_BEGIN_DECLS
 
 gboolean       gdm_is_version_unstable            (void);
--- gdm-2.28.1/data/gdm.schemas.in.in-orig	2009-11-05 00:43:47.400381466 -0600
+++ gdm-2.28.1/data/gdm.schemas.in.in	2009-11-05 00:44:05.689969770 -0600
@@ -69,6 +69,11 @@
       <signature>b</signature>
       <default>false</default>
     </schema>
+    <schema>
+      <key>greeter/ShowLast</key>
+      <signature>b</signature>
+      <default>false</default>
+    </schema>
 
     <schema>
       <key>xdmcp/Enable</key>
