How to debug Detect Displays? Having trouble using an external monitor
A few steps to try:

Try a different cable
Try a different screen
Try a different laptop/macbook 

If you get success with one of these then the problem probably lies with whatever you left out, after that you'll have to try combinations of the above.