• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Determining if a user is logged in from a Launchd Daemon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining if a user is logged in from a Launchd Daemon


  • Subject: Determining if a user is logged in from a Launchd Daemon
  • From: "Tom Fortmann" <email@hidden>
  • Date: Fri, 6 Feb 2009 15:14:42 -0600

Is there a way of determining if a GUI user (ignoring remote shells and
such) is logged in from a system daemon?  It looks like the WindowServer
process is started for a user session, but I'm not sure scanning the process
list is the best way of tackling this problem.  Is there some Apple Event
that can be sent to determine this?  Please let me know if anyone has any
ideas on how to do this.



Thanks,

Tom



___________________________________



THOMAS FORTMANN
Director of Development


XCAPE SOLUTIONS, INC.
207 Crystal Grove Blvd.
Lutz, FL 33548


TEL 847 228 9831

 <http://www.xcapesolutions.net> www.xcapesolutions.net
 <mailto:email@hidden> email@hidden





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Determining if a user is logged in from a Launchd Daemon
      • From: David Duncan <email@hidden>
    • Re: Determining if a user is logged in from a Launchd Daemon
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Memory Question on returning a View
  • Next by Date: Re: NSTask + incomplete stdout at end of process
  • Previous by thread: Re: Memory Question on returning a View
  • Next by thread: Re: Determining if a user is logged in from a Launchd Daemon
  • Index(es):
    • Date
    • Thread