Information
Screen sharing allows a computer to connect to another computer on a network and display the computer's screen. While sharing the computer's screen, the user can control what happens on that computer, such as opening documents or applications, opening, moving, or closing windows, and even shutting down the computer.
Rationale:
Disabling screen sharing mitigates the risk of remote connections being made without the user of the console knowing that they are sharing the computer.
Solution
Perform the following to disable Screen Sharing:
Graphical Method:
Open System Preferences
Select Sharing
Uncheck Screen Sharing
Terminal Method:
Run the following command to turn off Screen Sharing:
$ sudo launchctl disable system/com.apple.screensharing