Re: Question on using launchd from a C program
Re: Question on using launchd from a C program
- Subject: Re: Question on using launchd from a C program
- From: Paul Nelson <email@hidden>
- Date: Fri, 09 Jun 2006 22:45:27 -0500
- Thread-topic: Question on using launchd from a C program
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 <email@hidden>
> Date: Sat, 10 Jun 2006 11:19:21 +1000
> To: Mike Kobb <email@hidden>
> Cc: <email@hidden>
> 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden