Connecting external display turns both screens black
The solution explained in this Apple Discussions thread worked for me.


Delete /Library/Preferences/com.apple.windowserver.plist.
Delete ~/Library/Preferences/ByHost/com.apple.windowserver.XXXXX.plist.
Reset NVRAM.