I've searched this problem up on google and these forums, but I have not found a solution to my particular problem.

Let me describe my hardware in more detail:

I have a Dell Inspirion 1545 (laptop). The builtin monitor broke, so I hooked it up via VGA and removed the laptop screen completely (that is, I unplugged it from the motherboard. I don't know if Gentoo still thinks there is a monitor there or not). I installed X, and enabled the AGP and KMS support in my kernel for my Intel Integrated Chipset.

The only thing I can think of at the moment is to run X -configure in the console then identify the monitor and add Option "Ignore" "true" to the monitor section which should then completely ignore that monitor._________________Good luck

I forgot to mention earlier, I tried removing all the configuration files (both the ones under /usr/share/X11/xorg.conf.d and the /etc/X11/xorg.conf), and running startx produced an error log showing that an error occurred at the same place (failed to set mode: invalid argument).

This is when there are no configuration files and when I ran X, it said something like "Using default configuration (30 lines) etc"

When I ran X -configure no monitor section was created for the LVDS1, so I assumed it was automatically ignoring it. Should I create a Monitor section for it so that I can tell it to ignore that monitor manually?