Screen Sharing connection failure

Isn’t there some sort of HDMI dongle you need on a headless Mac to screen share with it? It was discussed a bit in this thread.