• 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: Fast User Switching in Panther...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fast User Switching in Panther...


  • Subject: Re: Fast User Switching in Panther...
  • From: Dave Camp <email@hidden>
  • Date: Tue, 5 Aug 2003 09:52:36 -0700

My thoughts:

1. Instead of having your app launch at boot time, why don't you launch one when each user logs in (i.e. a copy running for each user)? That would completely avoid the issue.

2. If for some reason you can't do #1, how does the user interact with your app? It was launched at boot time, but somehow it is doing something on behalf of a process owned by a user. Is there not some way you can determine the owner of the process that is interacting with your root owned process?

3. As others have stated before, you are making the assumption there can only be one user currently using a GUI. That may not always be the case.

Dave

On Tuesday, August 5, 2003, at 08:52 AM, Alec Carlson wrote:

The intent is to get the user defaults of the user currently using the Mac -
the person interacting with the GUI since his preferences are the important
ones. That would be UserB. However, since the background app is running in
UserA9s context, this call returns UserA9s preferences, not UserB9s. Since
UserA has 3left the building2, his prefs don9t really matter...


---
There's an old proverb that says just about whatever you want it to.
_______________________________________________
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: 
 >Re: Fast User Switching in Panther... (From: Alec Carlson <email@hidden>)

  • Prev by Date: Cocoa training?
  • Next by Date: Re: Fast User Switching in Panther...
  • Previous by thread: Re: Fast User Switching in Panther...
  • Next by thread: Re: Fast User Switching in Panther...
  • Index(es):
    • Date
    • Thread