[comp.windows.open-look] How to avoid the cannot open display problem

jtk@Unify.Com (06/27/91)

Hi, I not a frequent openwindow user, but I have the openning display
problem. I don't have problem to run it but if I don't logout of the
openwindow environment and coming back next day I will get the
XView Error: Cannot open display on window server: :0 (server package)
message when I try to open any window.

Most our users have this problem too. I am running Sun4/110 with OS 4.1
Openwindow 2.0. The Openwindow is loaded on one of network file server.

Is any suggestion? Thanks!!!

Jeff Ku
jtk@fmiapd.fai.com

hmayer@venus.darmstadt.gmd.de (Hans J. Mayer) (06/28/91)

In article <xnasj02@openlook.Unify.Com>, uunet!uunet!fmiapd!saturn!jtk@Unify.Com writes:
|> Hi, I not a frequent openwindow user, but I have the openning display
|> problem. I don't have problem to run it but if I don't logout of the
|> openwindow environment and coming back next day I will get the
|> XView Error: Cannot open display on window server: :0 (server package)
|> message when I try to open any window.
|> 
|> Most our users have this problem too. I am running Sun4/110 with OS 4.1
|> Openwindow 2.0. The Openwindow is loaded on one of network file server.
|> 
|> Is any suggestion? Thanks!!!
|> 
|> Jeff Ku
|> jtk@fmiapd.fai.com

First a disclaimer: I don't run Openwindows so I might not know what I'm
talking about :-)

X (and that is - Openwindows) use Unix domain sockets for interprocess
communication. These sockets are established in /tmp (/tmp/.X11-unix in
my case). Some system administrators run daily (better: nightly :-) scripts
that clean up /tmp. And that's it. Next morning you came back and your ipc
socket is gone.
-- 
Hans J. Mayer, hmayer@venus.darmstadt.gmd.de (or mayer@gmdzi.gmd.de)
German National Research Center for Computer Science (GMD)
     "Hacking is an art, but most programmers are butchers, not artists."
			                            Marshall T. Rose