Re: Question on using launchd from a C program
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AcaMQE+5jlf2KvgzEdqDHQAWy4i6sA== Thread-topic: Question on using launchd from a C program User-agent: Microsoft-Entourage/11.2.3.060209 1) When multiple users are logged in to the "console" (fast user switching), you get the proper events as the users change:
com.apple.sessionDidMoveOffConsole - for fast user switching com.apple.sessionDidMoveOnConsole - for fast user switching
2) Users that log in using ssh don't have things run from loginwindow.plist (login items). This is also why I suggested monitoring ALL events, so that behaviors like ssh users can be verified. It should be a piece of cake to avoid interference from ssh users. Paul
From: Andrew White <andrew.white@nicta.com.au> Date: Sat, 10 Jun 2006 11:19:21 +1000 To: Mike Kobb <mjkobb@alum.mit.edu> Cc: <darwin-dev@lists.apple.com> Subject: Re: Question on using launchd from a C program
As a stupid question, have you handled two unusual cases:
(1) There are multiple users logged in?
(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.
-- Andrew White
_______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Nelson