Are you using a DVI -> VGA adapter? Sometimes that can screw the connection up. If you have another cable lying around try that as well. It could just be the actual wiring inside the cable that isn't working.
Also make sure the cable isn't near anything magnetic. That can distort the colours.