Enable Screen Sharing from the Terminal in Leopard
Posted in Uncategorized on 03/17/2008 01:13 pm by jmccune
After graduation and my last day at work, I’ve taken a road trip to visit the Bennett’s in D.C. and was promptly chagrined while trying to show off Leopard’s screen sharing over OpenVPN.
Fortunately, it’s pretty easy to turn on Screen Sharing from an SSH session.
echo -n enabled > /Library/Preferences/com.apple.ScreenSharing.launchd
Launchd should automatically start the Screen Sharing service when this file is modified.
More information is available at Apple Remote Desktop: Configuring remotely via command line (kickstart)