Re: CoreMidi/CoreAudio and root user
Re: CoreMidi/CoreAudio and root user
- Subject: Re: CoreMidi/CoreAudio and root user
- From: Shaun Wexler <email@hidden>
- Date: Mon, 27 Mar 2006 14:39:11 -0800
On Mar 27, 2006, at 12:18 PM, Ethan Funk wrote:
I am trying to run my audio daemon application as root at system
startup via launchd. It's not going well!
First, when I try to run the program as any user but root (using
the UserName plist property in launchd) I get the following error
(fatal) via the console:
Mar 26 07:57:53 Dusk /usr/local/arserver/arserver:
kCGErrorRangeCheck : Window Server communications from outside of
session allowed for root and console user only
Are you mistakenly linked to Cocoa or AppKit.framework? It's not
supported by launchd daemons. You'll need to manage your own main
thread loop yourself, or use CFRunLoop/NSRunLoop. NSApplication is
part of AppKit, and connects to the window server for event and
window management, etc.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
"A person who never made a mistake never tried anything new." -
Albert Einstein
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden