Re: The meaning(s) of $DISPLAY (was Re: Explanation of X implementations)
Re: The meaning(s) of $DISPLAY (was Re: Explanation of X implementations)
- Subject: Re: The meaning(s) of $DISPLAY (was Re: Explanation of X implementations)
- From: "Ambrose Li" <email@hidden>
- Date: Sun, 18 Nov 2007 23:49:49 -0500
On 18/11/2007, Andrew J. Hesford <email@hidden> wrote:
> 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.
Let me be "the devil's advocate" here, since I am not speaking for
myself.
Besides the case where the display is remote, grepping for X is
also not portable. There are systems (certain Linuxes included)
where you cannot see the X process simply because it has been
setuid'd. In some systems, non-root users simply cannot see
any process not run as their own uid.
--
cheers,
-ambrose
Yahoo and Gmail must die. Yes, I use them, but they still must die.
PS: Don't trust everything you read in Wikipedia. (Very Important)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden