From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bb0e9d98a4bbff1f,start X-Google-Attributes: gidfee84,public From: tringali@news.ed.ray.com (Scott Tringali) Subject: How to determine if X is running? Date: 1996/02/13 Message-ID: <4fq9ke$a1v@news.res.ray.com>#1/1 X-Deja-AN: 139248431 x-disclaimer: This is the author's opinion and not that of Raytheon Company. x-authentication-warning: The author was not authenticated. content-type: text/plain; charset=us-ascii organization: Raytheon Electronic Systems mime-version: 1.0 reply-to: tringali@ultranet.com newsgroups: comp.unix.osf.osf1 Is there any REALIABLE way to determine if X is running on a given machine within a script, other than the typical ps/grep/awk garbage? There has to be a better way. -- Scott J. Tringali, tringali@ultranet.com Raytheon Electronic Systems, International Air Traffic Control