site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 1.5.0.4 (Macintosh/20060530) Thanks for that! Pretty interesting. As a stupid question, have you handled two unusual cases: (1) There are multiple users logged in? -- Andrew White -------------------------------------------------------------------------- This email and any attachments may be confidential. They may contain legally privileged information or copyright material. You should not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. This notice should not be removed. _______________________________________________ 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... Mike Kobb wrote: As it happens, since I really didn't want to introduce big Mac dependencies into the server code, I ended up writing a tiny little faceless background "helper" app that launches the server when it starts and quits it when it exits. Because it's a MacOS app and not a BSD daemon-type process like the server, I can add it to the Login Items, and that works beautifully for me. The helper reads a preference set by my prefs pane so it knows whether to launch the server when it starts or let the user do it manually... (2) What happens when a user logs in via ssh, independent of the normal display? The two possible problem cases here are logging in when no-one is logged in and having the display user log out while someone is still logged in via ssh. This email sent to site_archiver@lists.apple.com