/ Published in: Bash
Useful when logged in the server via ssh. In Leopard, the file would be /Library/Preferences/com.apple.ScreenSharing.launchd
Expand |
Embed | Plain Text
# To enable screen sharing: sudo sh -c "/bin/echo -n enabled > /private/etc/ScreenSharing.launchd" # To disable screen sharing: sudo sh -c "/bin/rm /private/etc/ScreenSharing.launchd"
You need to login to post a comment.
