How to solve XWin error?

Jack Tanner ihok@hotmail.com
Thu Jul 8 15:20:00 GMT 2004


Alexander Gottwald wrote:
> winCheckDisplayNumber - Cygwin/X is already running on display 0
> 
> Fatal server error:
> InitOutput - Duplicate invocation on display number: 0.  Exiting.
> 
> This means you have started XWin twice. You can't do that. Only start XWin
> (or start or startxwin.bat or simlar scripts) once. If you wan't another 
> terminal window then run it from a bash shell, from the start menu entry 
> or from the already running terminal window.

It seems like this issue (that comes up several times a day) can be 
easily avoided.

Can't startxwin.bat and friends be modified to not abort if XWin is 
already running? That is, if XWin is already running, don't run another 
XWin, but do run the other programs in startxwin.bat, like an xterm, on 
the running XWin's display.

Even if this only works for an uncustomized startxwin.bat, that would 
still take care of 80% of the problems.

-JT



More information about the Cygwin-xfree mailing list