I use my iMac as an external monitor for my MacBook Pro via mini DisplayPort. But, sometimes, it fails. The iMac went black for some seconds when I plugged the cable in but it went back into the normal mode instead of displaying the MacBook Pro's screen. Today I couldn't get it to work any way. I restarted the iMac, removed and reinserted the cable, but nothing helps.