Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
I also had a problem like that with my cube and the ADC display. Whenever the ADC display was attached it would randomly shut down, if I had another monitor plugged in, it wouldn't. To fix it, I disabled the power button in the display prefs (under the options tab).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.