Re: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?
Re: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?
- Subject: Re: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?
- From: Matthew Lindfield Seager <email@hidden>
- Date: Sun, 28 Feb 2010 18:35:24 +1100
On Saturday, February 27, 2010, Jonathan Hendry <email@hidden> wrote:
> You might try checking for any telltale running processes, or checking the output of lsof -i for any open sockets that are indicative of a VNC or ARD connection. That might have to run sudo'd as root.
But again you have no way of knowing whether local, remote or both
users are currently interacting with the host... That may or may not
matter depending on your purpose in wanting this.
Matt
_______________________________________________
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