Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Question on using launchd from a C program (From: Andrew White <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.