Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The meaning(s) of $DISPLAY



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)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >Re: The meaning(s) of $DISPLAY (was Re: Explanation of X implementations) (From: Ben Byer <email@hidden>)
 >Re: The meaning(s) of $DISPLAY (was Re: Explanation of X implementations) (From: "Nathaniel Gray" <email@hidden>)
 >Re: The meaning(s) of $DISPLAY (was Re: Explanation of X implementations) (From: "Andrew J. Hesford" <email@hidden>)
 >Re: The meaning(s) of $DISPLAY (From: Harald Hanche-Olsen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.