I can only say I've used daemon/headless LoginHooks without any problem. If you make the headless program immediately launch an app that has a GUI during the loginWindow's login prompt window, I believe the login window will run while your app runs. It did at least with 10.2.4. There's some documentation for making kiosks with MacOS X 10.2. You should check them out. There might or might not be something related to the login mechanism in the tech note that you want to (or don't want to) take advantage of. http://developer.apple.com/technotes/tn2002/tn2062.html --Steve On Fri, Jul 11, 2003 at 03:20:13PM -0600, David Blanton wrote:
Yes, Chess does launch but I guess because it has UI the system is sitting
saying Logging In ... For 10 minutes now. I know Chess launched because it
also displays a speech widget on the screen which I can see. So do apps
launched through -LoginHook need to be headless?
On 7/11/03 2:55 PM, "Steven Bytnar" <sbytnar@kagi.com> wrote:
If the target of the -LoginHook parameter is a plain Mach-O binary
that acts like a daemon, the mechanism works.
If you execute the binary instead of the .app folder:
-LoginHook /Applications/Chess.app/Contents/MacOS/Chess
the LoginHook does indeed cause Chess to execute.
--Steve
On Fri, Jul 11, 2003 at 01:48:06PM -0600, David Blanton wrote:
I have added the path to an executable and the path to a script using the
-LoginHook parameter to loginwindow and neither getsexecuted. Can anyone
comment on my error please:
console
"/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
-LoginHook /applications/chess.app" vt100 on secure
window=/System/Library/CoreServices/WindowServer
onoption="/usr/libexec/getty std.9600"
The above does not cause chess.app to launch
console
"/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
-LoginHook /usr/mruip" vt100 on secure
window=/System/Library/CoreServices/WindowServer
onoption="/usr/libexec/getty std.9600"
The above does not cause /usr/mruip to execute where /usr/mruip is open -a
chess
Help!
David Blanton
_______________________________________________
darwin-kernel mailing list | darwin-kernel@lists.apple.com
Help/Unsubscribe/Archives:
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-kernel mailing list | darwin-kernel@lists.apple.com
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.
_______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Steven Bytnar