Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: User Startup Bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User Startup Bundle



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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.