Enabling OS X Screen Sharing from the Command Line - Pivotal Labs
There are several ways to enable screen sharing on OS X Mountain Lion from the command line. The first method is an old standby: sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access ......