diff -ur gdm-2.20.3/daemon/display.c gdm-2.20.3.new/daemon/display.c
--- gdm-2.20.3/daemon/display.c	2008-01-07 20:39:37.000000000 +0100
+++ gdm-2.20.3.new/daemon/display.c	2008-02-08 20:33:03.000000000 +0100
@@ -324,7 +324,7 @@
  *
  * Manage (Initialize and start login session) display
  */
-
+gdm_debug ("Test #3 - The XDG_DATA_DIRS value is %s", g_getenv ("XDG_DATA_DIRS"));
 gboolean 
 gdm_display_manage (GdmDisplay *d)
 {
Sólo en gdm-2.20.3.new/daemon: display.c~
diff -ur gdm-2.20.3/daemon/gdm.c gdm-2.20.3.new/daemon/gdm.c
--- gdm-2.20.3/daemon/gdm.c	2008-01-07 20:39:37.000000000 +0100
+++ gdm-2.20.3.new/daemon/gdm.c	2008-02-08 20:34:32.000000000 +0100
@@ -139,6 +139,8 @@
 static GdmLogoutAction safe_logout_action = GDM_LOGOUT_ACTION_NONE;
 
 /* set in the main function */
+gdm_debug ("Test #1 - The XDG_DATA_DIRS value is %s", g_getenv ("XDG_DATA_DIRS"));
+
 gchar **stored_argv = NULL;
 int stored_argc     = 0;
 
@@ -232,6 +234,7 @@
 }
 
 static void
+gdm_debug ("Test #2 - The XDG_DATA_DIRS value is %s", g_getenv ("XDG_DATA_DIRS"));
 gdm_start_first_unborn_local (int delay)
 {
 	GSList *li;
Sólo en gdm-2.20.3.new/daemon: gdm.c~
diff -ur gdm-2.20.3/daemon/slave.c gdm-2.20.3.new/daemon/slave.c
--- gdm-2.20.3/daemon/slave.c	2008-01-07 20:39:38.000000000 +0100
+++ gdm-2.20.3.new/daemon/slave.c	2008-02-08 20:35:37.000000000 +0100
@@ -792,6 +792,9 @@
 }
 
 void
+
+gdm_debug ("Test #4 - The XDG_DATA_DIRS value is %s", g_getenv ("XDG_DATA_DIRS"));
+
 gdm_slave_start (GdmDisplay *display)
 {
 	time_t first_time;
@@ -3547,6 +3550,7 @@
 #endif /* HAVE_SELINUX */
 
 static void
+gdm_debug ("Test #5 - The XDG_DATA_DIRS value is %s", g_getenv ("XDG_DATA_DIRS"));
 session_child_run (struct passwd *pwent,
 		   int logfd,
 		   gboolean failsafe,
@@ -3688,7 +3692,7 @@
 	{
 		const char *old_system_data_dirs;
 		char *new_system_data_dirs;
-
+		gdm_debug ("Test #6 - The XDG_DATA_DIRS value is %s", g_getenv ("XDG_DATA_DIRS"));
 		old_system_data_dirs = g_getenv ("XDG_DATA_DIRS") ?
 				       g_getenv ("XDG_DATA_DIRS") :
 				       "/usr/local/share/:/usr/share/";
Sólo en gdm-2.20.3.new/daemon: slave.c~
