Article View: comp.windows.x
Article #24866Can't open display: additional info
From: Richard L Jackson Jr
Date: Wed, 13 Jan 1993 01:30
Date: Wed, 13 Jan 1993 01:30
43 lines
2140 bytes
2140 bytes
Hi all, We have X11 Rel 4 PL14 running on Sun SPARCstations 1, 1+, and 2 running SunOS 4.1 and 4.1.2. We noticed a strange problem lately that we have not been able to isolate yet. After invoking xinit and a couple xterm's, we receive a message "Can't open display" after a few minutes. The error occurs when we try to invoke another X client. This occurs even if the workstation is idle after the xterm's are invoked. Nothing else is running on the system other than the normal SunOS processes. I think the message is coming from the server. I have seen this message before only when trying to make the condition occur (i.e., invoking many X clients to determine the display limit). Can anyone provide some insight into this problem? My next step is to debug the server which could be time consuming. ADDITIONAL INFORMATION: xinit sets the DISPLAY environment variable to unix:0.0. Even if I invoke xinit -display hostname:0. If I changed DISPLAY to 0:0 or hostname:0 in the xterm window, then I can invoke X clients from that xterm. STRANGE. The following are the DISPLAY values and the result from executing a X client: DISPLAY=unix:0 Can't open Display DISPLAY=unix:0.0 Can't open Display DISPLAY=:0 Can't open Display DISPLAY=:0.0 Can't open Display DISPLAY= Can't open Display DISPLAY=hostname:0 Can't open Display DISPLAY=0:0 Can't open Display DISPLAY=0:0.0 Can't open Display Side Note: 1. I didn't realize DISPLAY 0:0 is valid for X11R4. 2. Why is DISPLAY = unix:0.0 even after xinit -display hostname:0? 3. Why does 0:0 or hostname:0 work where unix:0.0 does not? Thank you, Richard Jackson
Technical Details
Message-ID:
<1993Jan13.013022.21834@gmuvax2.gmu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!news.umbc.edu!gmuvax2!rjacksonShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.x Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!news.umbc.edu!gmuvax2!rjackson From: rjackson@gmuvax2.gmu.edu (Richard L Jackson Jr) Subject: Can't open display: additional info Message-ID: <1993Jan13.013022.21834@gmuvax2.gmu.edu> Sender: rjackson@gmuvax2.gmu.edu (Richard L Jackson Jr) Organization: George Mason University, Fairfax, Virginia, USA Date: Wed, 13 Jan 1993 01:30:22 GMT Lines: 43