From 19bf2ed724f7cf2ef76c19b7b6d3a1f8422e0c07 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 12 Mar 2009 14:43:36 +0000 Subject: [PATCH] - Don't force X server on active vt more than once --- gdm-2.24.0-force-active-vt.patch | 5 +++-- gdm.spec | 13 ++++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/gdm-2.24.0-force-active-vt.patch b/gdm-2.24.0-force-active-vt.patch index 935f1db..11a9c55 100644 --- a/gdm-2.24.0-force-active-vt.patch +++ b/gdm-2.24.0-force-active-vt.patch @@ -335,7 +335,7 @@ diff -ur gdm-2.24.0/daemon/gdm-slave.c new/daemon/gdm-slave.c diff -ur gdm-2.24.0/daemon/gdm-static-display.c new/daemon/gdm-static-display.c --- gdm-2.24.0/daemon/gdm-static-display.c 2008-07-10 11:07:42.000000000 -0400 +++ new/daemon/gdm-static-display.c 2008-10-15 16:24:38.000000000 -0400 -@@ -86,10 +86,26 @@ +@@ -86,10 +86,27 @@ } static gboolean @@ -357,8 +357,9 @@ diff -ur gdm-2.24.0/daemon/gdm-static-display.c new/daemon/gdm-static-display.c + if (triggered_to_force_display_on_active_vt ()) { + g_object_set (display, "force-active-vt", TRUE, NULL); ++ } else { ++ g_object_set (display, "force-active-vt", FALSE, NULL); + } -+ GDM_DISPLAY_CLASS (gdm_static_display_parent_class)->manage (display); return TRUE; diff --git a/gdm.spec b/gdm.spec index b9580fa..d9e819b 100644 --- a/gdm.spec +++ b/gdm.spec @@ -15,7 +15,7 @@ Summary: The GNOME Display Manager Name: gdm Version: 2.25.2 -Release: 15%{?dist} +Release: 17%{?dist} Epoch: 1 License: GPLv2+ Group: User Interface/X @@ -91,6 +91,8 @@ Patch13: gdm-system-keyboard.patch Patch14: gdm-2.25.2-multistack-but-boring.patch Patch15: gdm-2.25.2-start-faster.patch +Patch16: gdm-2.25.2-use-resolvable-hostname.patch + # Fedora-specific Patch99: gdm-2.23.1-fedora-logo.patch @@ -118,6 +120,7 @@ multiple simulanteous logged in users. %patch14 -p1 -b .multistack-but-boring %patch15 -p1 -b .start-faster +%patch16 -p1 -b .use-resolvable-hostname %patch99 -p1 -b .fedora-logo @@ -341,6 +344,14 @@ fi %{_datadir}/gnome-2.0/ui/GNOME_FastUserSwitchApplet.xml %changelog +* Thu Mar 12 2009 Ray Strode - 1:2.25.2-17 +- Don't force X server on active vt more than once + +* Tue Mar 10 2009 Ray Strode - 1:2.25.2-16 +- Store greeter's auth cookie under "localhost" instead + of g_get_host_name() since NetworkManager tries to synchronize + the internal hostname with the externally resolvable one. + * Mon Mar 9 2009 Ray Strode - 1:2.25.2-15 - Don't race with PAM modules that ask questions during pam_open_session (and don't subsequently go bonkers when