as root before you startx
as your normal user.
If it still fails, check your kernel logs for (hopefully) the reason why. About 90% of the time, it's because you have PnP OS turned on in your BIOS (it should be off), or you have "Assign IRQ to VGA" turned off (it should be on). Of course, those aren't the only reasons, but they are the most common.