• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: X windows display and fast user switching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >X windows display and fast user switching (From: Drew McCormack <email@hidden>)

  • Prev by Date: Re: forcing a dialog to be the active (front) window
  • Next by Date: 0 < -1 !!
  • Previous by thread: X windows display and fast user switching
  • Next by thread: forcing a dialog to be the active (front) window
  • Index(es):
    • Date
    • Thread