Re: Problems with Launchd Daemon
Re: Problems with Launchd Daemon
- Subject: Re: Problems with Launchd Daemon
- From: JanakiRam <email@hidden>
- Date: Tue, 29 Apr 2008 13:07:59 +0530
Hi All,
>From the error log , it looks like my app is not trusted , hence its unable
to connect to Windows server before login.
Is there any way i can my application trusted to make my daemon work ?
*<Warning>: 3891612: (CGSLookupServerRootPort) Untrusted apps are not
allowed to connect to or launch Window Server before login.*
*<Error>: kCGErrorRangeCheck : On-demand launch of the Window Server is
allowed for root user only.*
*_RegisterApplication(), FAILED TO establish the default connection to the
WindowServer,_CGSDefaultConnection() is NULL.*
Can any one help me to solve this problem. Please help me to solve this
problem.
Thanks in Advance,
JanakiRam.
On Tue, Apr 29, 2008 at 1:02 PM, Kyle Sluder <
email@hidden <email@hidden>> wrote:
> On Tue, Apr 29, 2008 at 2:20 AM, JanakiRam <email@hidden>
> wrote:
> > Will this work on 10.4 as well as 10.5 ?
>
> Yes, as long as you use a login item for the agent. Per-user launchd
> agents are broken on 10.4. Login items work just fine. IIRC, to
> create a login item you send an Apple Event to the System Events
> "application".
>
> --Kyle Sluder
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden