Hi,
My target embedded system runs Redhat 7.3 & it can have display going
to one monitor.. or there can be a dual head PCI graphics card(e.g
nVidia) present which has the display going to two monitors.
On startup(before X), i'll need to detect how many monitors are present
& then run different programs based on that outcome.

How would i detect how many monitors are available on startup?

Thanks