Brainstorm's snippets (1/256)

  How to enable Screen Sharing on Macs via Terminal

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -off -restart -agent -privs -all -allowAccessFor -allUsers

Credits:

https://www.techrepublic.com/article/how-to-enable-screen-sharing-on-macs-via-terminal/