SUMMARY : openwin problem

From: Okan OKCU (okan@toros.eee.metu.edu.tr)
Date: Mon Jun 12 1995 - 19:43:31 CDT


my original message was as follows:
>
> Hi!
>
> My problem is as follows: When I run openwin, evething seems good
> for a while, but then when i try to open a window, the following
> message appears:
> unable to open display :0.0.
>
> The DISPLAY environment variable is :0.0
>
>
> Thanks in advance.
>
> Okan Okcu
>

Thanks to everyone who responded.
The following people explained my problem:

Michael Sullivan <mike@trdlnk.com>
Jochen Bern <bern@TI.Uni-Trier.DE>

The problem is that a cron job cleans the /tmp directory and so the
file /tmp/.X11-unix/X0 is removed, which the UNIX domain socket
used to connect to the X server when the hostname is omitted from
the DISPLAY value. So two solutions is possible:

1-Do not clean /tmp directory when openwindows is running.
2-Set the DISPLAY env var to hostname:0.0 not only to :0.0

Thanks the following people who advised the 2nd soultion:

Bismark Espinoza <bismark@alta.jpl.nasa.gov>
Jeremy Hunt <jeremyh@chiron.nabaus.com.au>
Barry Donovan <bdo@salt.atb.CH>
Larry Ridenour <ldr@taec.com>

And thanks to following for their comments:

Laura Taylor <ltaylor@hootowl.bbn.com>
Houman Safai <hsafai@esri.com>
Steve Raffensberger <sdr@rdga3.att.com>
Zia Iqbal <iqbalz@fw.gs.com>
Jeff Adams <jadams@washington.engr.ukans.edu>
Gene Loriot <epl@caps.kodak.com>
Joseph A. Mervini <jamervi@sandia.gov>
Robert L. Spence <bspence@devtech.devtech.com>
Al Venz <Al.Venz@seag.fingerhut.com>
Stephen Hauskins <sunlist@mendel.ucsc.edu>
Kalpesh Dharia <kalpeshd@daffy.netrex.com>

Okan Okcu



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:26 CDT