gdm r6426 - in branches/gnome-2-20: . daemon



Author: bcameron
Date: Mon Aug 25 18:41:41 2008
New Revision: 6426
URL: http://svn.gnome.org/viewvc/gdm?rev=6426&view=rev

Log:
2008-08-25  Brian Cameron  <brian cameron sun com>

        * daemon/server.c:  Add -n argument to call to fbconsole so it
          doesn't open a connection to the X display, to avoid race
          conditions with XDMCP remote sessions.


Modified:
   branches/gnome-2-20/ChangeLog
   branches/gnome-2-20/daemon/server.c

Modified: branches/gnome-2-20/daemon/server.c
==============================================================================
--- branches/gnome-2-20/daemon/server.c	(original)
+++ branches/gnome-2-20/daemon/server.c	Mon Aug 25 18:41:41 2008
@@ -141,9 +141,10 @@
         char *argv[6];
 
         argv[0] = FBCONSOLE;
-        argv[1] = "-d";
-        argv[2] = disp->name;
-        argv[3] = NULL;
+        argv[1] = "-n";
+        argv[2] = "-d";
+        argv[3] = disp->name;
+        argv[4] = NULL;
 
 	gdm_debug ("Forking fbconsole");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]