/ Published in: Bash

Useful when logged in the server via ssh.
In Leopard, the file would be /Library/Preferences/com.apple.ScreenSharing.launchd
In Leopard, the file would be /Library/Preferences/com.apple.ScreenSharing.launchd
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# 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"
Comments
