Re: The meaning(s) of $DISPLAY
Re: The meaning(s) of $DISPLAY
- Subject: Re: The meaning(s) of $DISPLAY
- From: "Nathaniel Gray" <email@hidden>
- Date: Sun, 18 Nov 2007 15:39:29 -0800
On Nov 18, 2007 3:31 PM, Harald Hanche-Olsen <email@hidden> wrote:
> + "Andrew J. Hesford" <email@hidden>:
>
> > On Nov 18, 2007, at 4:31 PM, Nathaniel Gray wrote:
> >
> > > Since that's no longer appropriate I need a replacement, and I really
> > > hope you aren't going to say "ps -a -U $USER | grep X11" or some such.
> > > ;^)
> >
> > Yes, grepping for X11 is an ugly solution. But you can't deny that
> > it works! Don't forget "grep -v grep" to avoid false hits when grep
> > matches itself.
>
> Or just use grep '[X]11'. Or perhaps better yet: killall -0 X11
How do I tell if that X11 is listening to $DISPLAY?
Cheers,
-n8
--
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden