If you are using HDMI to VGA for using your monitor for display then check if the hdmi_safe flag is on in the /boot/config.txt file. If this is disabled then uncomment the line and reboot Raspberry Pi.