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!
Did you try the final solution on that thread?
"Final update. Got my new 2014 Mac Mini now, works w/o problem with my 4k Hisense TV now.
Maybe, worth a note ...
Initially, boots in 4k but then switches to 1080p after the OS is loaded.
To get 4k at the OS level, one has to do this:
1. Switch to 24Hz, 25Hz or 30Hz under Scaling
2. Now, the 2160p resolution emerges in the list (3840x2160)
3. Select it
4. Note how 50Hz and 60Hz now disappeared from the list
It is straightforward to do. But maybe not as intuitive to everybody as Apple may think."
Best Answer
Try using Recovery Mode to correct this issue. Change the affected user password with Recovery Mode and see if it works. If this doesn't work, you need to return this Mac to the Apple Store and have a Mac Genius check it out. It will save you many headaches to let them check it than trying to solve the issue yourself.