Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Untrusted apps are not allowed to connect to or launch Window Server before login.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Untrusted apps are not allowed to connect to or launch Window Server before login.



On May 28, 2008, at 2:24 PM, Axel Luttgens wrote:

I want to connect a python script with webkit on the commandline for generating
images out of websites. This works fine for the normal MacOSX 10.5 version on my Mac
but not on the server variant.

You already got some replies. But I don't really understand the above. Do you mean that your script fails on Mac OS X server while it works when run on Mac OS X client under exactly the same circumstances?
Could you elaborate?

I think that the more likely situation is that on the 'client machine he is trying things out when he is logged in (thus there is a Window server available). If you look at the last bit of the error he is getting you will see this line:


AppKit.NSBorderlessWindowMask, 2, 0) objc.error: NSInternalInconsistencyException - Error (1002) creating CGSWindow

So one of the calls he is making (probably indirectly) on AppKit needs to create a Window (possibly off-screen) to do some compositing work, and is failing when it realizes that it can't create windows.


I looked at using another section of WebKit before (the JavaScript section) and found that the WebKit version of it required a connection to a live WindowServer as well. This makes some sense for WebKit (since it is dedicated to creating WebBrowsers which need a display, but makes it hard to pirate things out for faceless scripts that run on servers.

--
		Karl Kuehn
			email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Untrusted apps are not allowed to connect to or launch Window Server before login. (From: Hannes Bohring <email@hidden>)
 >Re: Untrusted apps are not allowed to connect to or launch Window Server before login. (From: Axel Luttgens <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.