Re: X windows display and fast user switching
Re: X windows display and fast user switching
- Subject: Re: X windows display and fast user switching
- From: "Corey O'Connor" <email@hidden>
- Date: Thu, 22 Jul 2004 18:29:34 -0700
In /tmp/.X11-unix/ will be a list of lock-files (?Is that the right
term?) These should give you enough info to figure out which user has
control over which X11 display.
-Corey O'Connor
On Thu, 22 Jul 2004 14:23:06 +0200, Drew McCormack
<email@hidden> wrote:
>
I have a cocoa app that starts up X windows. It sets the DISPLAY
>
environment variable beforehand, to "localhost:0.0". Problem is --- I
>
have just learned --- is that with fast user switching, it can be
>
"localhost:1.0" and so forth, if another user is logged in.
>
>
Does anyone know how to determine what the display number should be?
>
>
Drew
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
>
>
--
-Corey O'Connor
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.