On Feb 6, 2009, at 1:14 PM, Tom Fortmann wrote:
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
Thank you to everyone that responded.
After reading through the Technical QA QA1133 and Technical Note TN2083 (as
well as all of your responses) I decided to use the utmpx API's for this
application. I like the concept of dividing users and system functions into
separate user agents and system
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
On 2009 Feb 06, at 13:14, Tom Fortmann wrote:
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