I installed the image of raspbian stretch (version: 9) on an SD card and mounted the card on the Raspberry Pi. On first boot the display came up and the initial setup was done. In addition to the initial setup I configured the pi for SSH connection (save WiFi Credentials, static IP).
When I do this and reboot the Pi, it boots to the GUI but on another reboot the GUI does not come up.
One of two things happen when I reboot the Pi,
There is no input to the monitor. (Monitor is Idle)
There is an input to the monitor, but only a black screen
Raspberry pi model: 2
Connected to monitor via HDMI to VGA adapter
Power Supply: 5V 2A
The Pi does not boot to the CLI either.