• 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: User Startup Bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User Startup Bundle


  • Subject: Re: User Startup Bundle
  • From: Finlay Dobbie <email@hidden>
  • Date: Sat, 31 Jul 2004 13:26:05 +0100

On 31 Jul 2004, at 00:53, Jim Ways wrote:

I have a valid and working startup bundle which runs
from Library/StartupItems when i copy that same file
to my user's startup folder it dosnt attempt to run.

That's because SystemStarter runs at system startup, and doesn't search the user domain because the user is root at that time.

If your daemon is started from SystemStarter it obviously runs as root, and can do pretty much what it wants. You will encounter many issues if you try to run as a user, connect to the windowserver, etc, from a daemon started from SystemStarter.

PS. Login items does not work correctly for my problem

Define "does not work correctly".

You have not provided any information as to why login items is not an acceptable solution. From the information you have provided, it most certainly sounds like the most sensible solution and I can see no reason why it would not work.

Failing that, have a look at /etc/mach_init_per_user.d (but this is new in 10.3).

-- Finlay
_______________________________________________
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: 
 >User Startup Bundle (From: Jim Ways <email@hidden>)

  • Prev by Date: Re: Add keys programatically to NSArrayController? [solved]
  • Next by Date: Re: Where is NSList?
  • Previous by thread: User Startup Bundle
  • Next by thread: Mac telephony resources
  • Index(es):
    • Date
    • Thread