site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com tn2083 "Daemons and Agents" is a good read. Thanks, -john _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Something isn't quite adding up though. Early on in the note: "Agents are useful because they can do things that daemons can't, like connect to the window server". But later on in Figure 5 (a decision tree for selecting an agent launch method) is a different story where by global login items (/Library/Preferences/ loginwindow.plist) are the only option for launching an agent for every user on login that can talk to the window server. But earlier in the document, that method is described as unsupported. launchd will work, but it also attempts to launch agents for ssh logins, which fails because the window server is inaccessible. (Of course, the agent could be fixed to detect that and deal with it sensibly, but in this particular organizational context I don't have control over the code in the agent.) So, there appears to be no *supported* way, according to tn2083 Figure 5, to launch an agent with GUI for all users on login. Am I reading that right? Or is there some undocumented launchd.plist option to suppress attempting to launch in a non-gui (sshd) context? This email sent to site_archiver@lists.apple.com