The 1st thing you have to do is try to determine if it’s merely a software issue with your OS install or if the problem relies on the hardware (whether it’s the screen or the computer itself).
In order to facilitate that task, you must check the obvious.
1) The DVI adapter (already tested).
2) The Screen. Can you hook the monitor to another computer?
3) Can you hook another monitor to the same computer?
Extras: Have you tried another VGA cable?
The above should result in any of the following:
a) The screen is defective, change screen.
b) The Mac mini has a hardware issue where no other screen works. Time for repairs (probably not worth).
c) The Cable is defective, change cable.
d) The screen works fine on another computer, the Mac mini works fine with another display. what…?
In case of D, there could be a problem with the software instead, either the driver that the Mac mini is using when it detects the display is broken or the video driver or something. That’s a whole new world and -as already suggested- you might want to try booting from the install CD/DVD and trying to see if video works there. Back up your drive and a full reinstall might also help you have everything fresh.
Hope it helps. I know it’s a lot of obvious steps, but this is how the tech guys do it :) Find the problem first.
UPDATE:
After reading that the Mac mini doesn’t work with a different screen and that this issue happens before login screen (i.e. it’s not ‘user’ related), there are two possible ideas you can try before a complete OS reinstall.
You mention that it works in Single User but not safe mode; given that Single User goes straight to the command line, have you tried running fsck on the partition? Maybe there’s some data corruption in the OS X volume.
Safe Mode doesn’t load external drivers and items in the StartupFolders, so that should work and I find it weird that it doesn’t. Of course make sure you unplug all external devices (sans keyboard/mouse/display) before diagnosing a problem like this.
In any case, I’d try to install a fresh copy of OS X on an external drive (if you don’t want to wipe your internal copy) and see what happens from there. If the external copy works, then the OS X copy has a big problem. I know this is obvious (and it’s already in your list of things to do) but sadly debugging a problem like this without access to the OS/hardware is really hard. You can always later clone the freshly installed OS X to your internal drive to avoid the reinstall in the internal drive.
Good Luck!
Best Answer
UPDATE
I almost forgot I had this issue, recently I changed cables. I am now using MDP to HDMI without adapters. Before I am using DVI to DVI Cable + DVI to MDP Adapter.
I think you need to avoid 2 conversions and use only 1 cable.
OLD ANSWER
It is also happening to me, and I can't find the solutions either. But I figured out how to avoid it.
When booting up mac
Settings
It also occurs when mac goes to sleep and to avoid it, the steps above should be followed. Only do the settings step if you don't mind the power consumption.
Please let me know if you have better suggestions but this works for me as of now.