by p2 <pradip.patel@[EMAIL PROTECTED]
>
Apr 3, 2008 at 04:38 AM
On Apr 3, 3:23=A0pm, Gregory Weston <u...@[EMAIL PROTECTED]
> wrote:
> In article
> <0ad907f3-4016-4d54-8256-d182d9278...@[EMAIL PROTECTED]
>,
>
>
>
>
>
> =A0p2 <pradip.pa...@[EMAIL PROTECTED]
> wrote:
> > Hi
>
> > I am getting following error while using quartz API
> > CGDisplayCurrentMode(kCGDirectMainDisplay)
> > on MacOS10.5 before Loging. it works fine on 10.4
>
> > 3891612: (CGSLookupServerRoot****t) Untrusted apps are not allowed to
> > connect to or launch Window Server before login.
> > 4/2/08 8:35:13 AM =A0IP15Driver_v2[98] =A0 =A0 =A0 kCGErrorRangeCheck
: =
On-demand
> > launch of the Window Server is allowed for root user only.
> > 4/2/08 8:35:13 AM =A0IP15Driver_v2[98] =A0 =A0 =A0 kCGErrorRangeCheck
: =
Set a
> > breakpoint at CGErrorBreakpoint() to catch errors as they are
> > returned
>
> > if i comment above API then no error occur.
> > What may be the problem ?
>
> The problem may be that the app is still not trusted. Have you tried
> signing the code yet?- Hide quoted text -
>
> - Show quoted text -
Thanks
I read on link http://developer.apple.com/technotes/tn2005/tn2083.html
that code sign will not solve the problem
eventhough i will try and let you know.
please give me one example of codesign command if you have ?
i am not getting how to add identity in codesign command
p2