Restart VNC for MAC OS X

If your remote server is hanging, cannot remote desktop via VNC on MAC  OS X.

This way is a solution to restart a remote desktop agent and bring you to a remote server again.

Open terminal and SSH to destination server

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent

ball Written by:

Teerapat Khunpech Live, Tech, Beers, Bike, Cafe Racer, Docker, Devops, Eco-System