You need to pass a proper screen configuration for screen number 0 to XWin.exe; below is the syntax for XWin.exe parameters.
XWin.exe [-screen
screen_number
widthxheightxbit_depth...]
[-engine engine_number] [-fullscreen] [-blackpixel pixel_value] [-whitepixel pixel_value] [-linebias line_bias]
Below is an example command line for XWin.exe.