auto detecting the vga1 monitor