• 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: Problems with Launchd Daemon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with Launchd Daemon


  • Subject: Re: Problems with Launchd Daemon
  • From: "Kyle Sluder" <email@hidden>
  • Date: Tue, 29 Apr 2008 04:16:56 -0400

On Tue, Apr 29, 2008 at 3:37 AM, JanakiRam <email@hidden> wrote:
> Is there any way i can my application trusted to make my daemon work ?

Again, read the documentation.  The message you are seeing is
generated because you are acting in defiance of the rules for daemons
on Mac OS X, which I and other have pointed out to you several times.
In fact, this exact symptom is mentioned in TN2083 under the heading
"Pre-Login Trust Issues".

Your daemon may not connect to the window server.  This means you
cannot link against AppKit or any other framework that requires such a
connection.  A list of daemon-safe (i.e. not-WindowServer-dependent)
frameworks is contained in TN2083.

Please abandon the idea right now of your daemon putting up any user
interface.  You must split this functionality off into an agent that
runs in the user's login context as a login item or per-user launchd
agent.

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

References: 
 >Problems with Launchd Daemon (From: JanakiRam <email@hidden>)
 >Re: Problems with Launchd Daemon (From: Dave Camp <email@hidden>)
 >Re: Problems with Launchd Daemon (From: JanakiRam <email@hidden>)
 >Re: Problems with Launchd Daemon (From: "Kyle Sluder" <email@hidden>)
 >Re: Problems with Launchd Daemon (From: JanakiRam <email@hidden>)
 >Re: Problems with Launchd Daemon (From: "Kyle Sluder" <email@hidden>)
 >Re: Problems with Launchd Daemon (From: JanakiRam <email@hidden>)

  • Prev by Date: Re: autosizing problem
  • Next by Date: Re: How to adopt a superclass's protocol?
  • Previous by thread: Re: Problems with Launchd Daemon
  • Next by thread: Re: Problems with Launchd Daemon
  • Index(es):
    • Date
    • Thread