OSX VNC server restart

Do you want to start or restart an Apple Remote Desktop / VNC server on OSX 10.5 Leopard?

Use command ‘kickstart’ from ARDAgent.app package, replace YOURUSERNAME with your own:

sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users YOURUSERNAME -privs -all -restart -agent -menu
Activated Remote Management.
Stopped ARD Agent.
Stopped VNC Privilege Proxy
Stopped VNC Server.
Stopped RFB Register MDNS
ClientSetup: Set user remote control privileges.
ClientSetup: Set user remote access.
Restarted Menu Extra (System UI Server).

Sometimes non-apple VNC clients – like TightVNC – killing ARD…