Imported from the Apple Support Forums via the Wayback Machine 🔗
My Macbook Pro Retina 2013 could not establish a stable connection with 2nd monitor. It connects/disconnects randomly with both HDMI and Display Port connector. Please help
How to reset the System Management Controller (SMC) on your Mac -- If you're connecting the external monitor correctly, reset the System Management Controller. Follow the steps under "How to reset the SMC on Mac notebooks" for a nonremovable battery. Test the issue once you're back to the desktop.
Reset NVRAM or PRAM on your Mac -- If resetting the SMC didn't resolve the issue, reset the nonvolatile random-access memory (NVRAM) using the steps in this article.