Kinda handy command to have incase your VNC connection drops and you’re unable to reconnect. SSH into the host and issue the following command.
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent
More VNC related OS X commands can be found on Apple Support