Index: XGServer.m
===================================================================
RCS file: /sources/gnustep/gnustep/core/back/Source/x11/XGServer.m,v
retrieving revision 1.20
diff -u -r1.20 XGServer.m
--- XGServer.m	14 Jan 2006 11:34:55 -0000	1.20
+++ XGServer.m	22 Jan 2006 21:55:42 -0000
@@ -380,34 +380,7 @@
 	    host = @"";
 	  display_name = [NSString stringWithFormat: @"%@:%@.%@", host, dn,sn];
 	}
-    }
-
-  if (display_name == nil)
-    {
-      if (host == nil)
-	{
-	  NSString	*d = [[[NSProcessInfo processInfo] environment]
-	    objectForKey: @"DISPLAY"];
-
-	  host = _parse_display_name(d, &display_number, &screen_number);
-	  if (display_number != 0)
-	    {
-	      NSLog(@"NOTE: Only one display per host fully supported.");
-	    }
-	  if ([host isEqual: @""] == NO)
-	    {
-	      /**
-	       * If we are using the DISPLAY environment variable to
-	       * determine where to display, set the NSHost default
-	       * so that other parts of the system know where we are
-	       * displaying.
-	       */
-	      [[NSUserDefaults standardUserDefaults] registerDefaults:
-		  [NSDictionary dictionaryWithObject: host
-			                      forKey: @"NSHost"]];
-	    }
-	}
-      else if ([host isEqual: @""] == NO)
+      else if (host != nil && [host isEqual: @""] == NO)
 	{
 	  /**
 	   * If the NSHost default told us to display somewhere, we need
