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: Derek Fawcus <email@hidden>
- Date: Mon, 19 Nov 2007 00:13:45 +0000
On Sun, Nov 18, 2007 at 06:07:48PM -0600, Andrew J. Hesford wrote:
> On Nov 18, 2007, at 5:56 PM, Derek Fawcus wrote:
>
> Launchd is fully capable of listening to /tmp/.X11-unix/:0. However,
> the default plist specifies a random socket. This provides some degree
> of security, and also avoids problems with multi-user conflicts. If
> you tell launchd to list to the normal :0, what happens when multiple
> users attempt to use X11?
Well assuming fast user switching is in use, the first user gets :0,
the second :1, etc... launchd sets DISPLAY as required... Or if it
is truely random, then just pick a random display number.
DF
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden