Querying Supported Monitors and Screen Resolutions

You can use xrandr to get information about supported monitors and screen resolutions.