Re: User Startup Bundle
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.