How to kill stuck Screen sharing authentication dialogue

hangscreen-sharing

Sometimes when connecting to a screen sharing machine in Finder, the authentication dialogue hangs indefinitely. The only way I've been able to get rid of it is log out.

So far I've tried killing a number of processes including:

  • Screen Sharing
  • Finder
  • Dock
  • SystemUIServer

To no avail. Any idea what process this UI is attached to?

Best Answer

Yes, it's called NetAuthAgent.

You can tell I've had this problem before! :(