home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 21081 < prev    next >
Encoding:
Text File  |  1993-01-12  |  2.0 KB  |  54 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!news.umbc.edu!gmuvax2!rjackson
  3. From: rjackson@gmuvax2.gmu.edu (Richard L Jackson Jr)
  4. Subject: Can't open display: additional info
  5. Message-ID: <1993Jan13.013022.21834@gmuvax2.gmu.edu>
  6. Sender: rjackson@gmuvax2.gmu.edu (Richard L Jackson Jr)
  7. Organization: George Mason University, Fairfax, Virginia, USA
  8. Date: Wed, 13 Jan 1993 01:30:22 GMT
  9. Lines: 43
  10.  
  11. Hi all,
  12.  
  13. We have X11 Rel 4 PL14 running on Sun SPARCstations 1, 1+, and 2 running
  14. SunOS 4.1 and 4.1.2.  We noticed a strange problem lately that we
  15. have not been able to isolate yet.  After invoking xinit and a
  16. couple xterm's, we receive a message "Can't open display" after
  17. a few minutes.  The error occurs when we try to invoke another X
  18. client.  This occurs even if the workstation is idle after the xterm's
  19. are invoked.  Nothing else is running on the system other than the 
  20. normal SunOS processes.  I think the message is coming from the server.
  21.  
  22. I have seen this message before only when trying to make the condition 
  23. occur (i.e., invoking many X clients to determine the display limit).
  24.  
  25. Can anyone provide some insight into this problem?
  26.  
  27. My next step is to debug the server which could be time consuming.
  28.  
  29. ADDITIONAL INFORMATION:
  30. xinit sets the DISPLAY environment variable to unix:0.0.  Even if I
  31. invoke xinit -display hostname:0.  If I changed DISPLAY to 0:0 or
  32. hostname:0 in the xterm window, then I can invoke X clients from that
  33. xterm.  STRANGE.  The following are the DISPLAY values and the result
  34. from executing a X client:
  35.  
  36. DISPLAY=unix:0        Can't open Display
  37. DISPLAY=unix:0.0    Can't open Display
  38. DISPLAY=:0        Can't open Display
  39. DISPLAY=:0.0        Can't open Display
  40. DISPLAY=               Can't open Display
  41. DISPLAY=hostname:0    Can't open Display
  42. DISPLAY=0:0        Can't open Display
  43. DISPLAY=0:0.0        Can't open Display
  44.  
  45. Side Note:
  46. 1. I didn't realize DISPLAY 0:0 is valid for X11R4.
  47.  
  48. 2. Why is DISPLAY = unix:0.0 even after xinit -display hostname:0?
  49.  
  50. 3. Why does 0:0 or hostname:0 work where unix:0.0 does not?
  51.  
  52. Thank you,
  53. Richard Jackson
  54.