16 Oct '13, 3pm

#scriptable screen sharing via #cli in #OSX

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 -off -restart -agent -privs -all -allowAccessFor -allUsers This will work in 99% of the cases, but there may be some situations when it’s not quite enough. The above command enables Screen Sharing by enabling Remote Management; however, we lose the ability to add fine-grained control to who can connect & those who can’t. Here’s another way to enable screen sharing from the command line: sudo defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false sudo launchctl load /System/Library/LaunchDaemons/com.apple.screensharing.plist In the second example, we enable only Sc...

Full article: http://pivotallabs.com/enabling-os-x-screen-sharing-from-...

Tweets

7 Green (Washed) Things You Should Never Buy Ag...

greenamerica.org 15 Oct '13, 2pm

Conventional wisdom says that granola bars are a quick and healthy way to start your day, but most of them are filled with...

CDPATH Bash completion in OSX via @pivotallabs

pivotallabs.com 14 Oct '13, 4am

Setting the CDPATH environment variable saves you having to cd to commonly-used parent directories. I usually put my main ...

The future of my personal sharing habits

pauljacobson.org 14 Oct '13, 6pm

For a while, a distributed social network seemed to be the way to go but Diaspora didn’t gain much traction at all. The la...