by Gregory Weston <uce@[EMAIL PROTECTED]
>
Apr 3, 2008 at 10:23 AM
In article
<0ad907f3-4016-4d54-8256-d182d92781cd@[EMAIL PROTECTED]
>,
p2 <pradip.patel@[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 IP15Driver_v2[98] kCGErrorRangeCheck : On-demand
> launch of the Window Server is allowed for root user only.
> 4/2/08 8:35:13 AM IP15Driver_v2[98] 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?