there are several possibilities if you faced this kind situation.
Such as,RAM,your monitor cable and bios setting.
Try using graphic card,see whether it works or not.
I also faced the same problem,by my case is about my RAM.i rub it with eraser,the i insert back.after that it works as usual.