Using run.exe to start XWin with different display number

Will Cladek will.cladek@nrl.navy.mil
Thu Oct 17 13:10:00 GMT 2013


This is probably a dumb question with a simple solution, but I'm trying to start multiple XWin servers on a Win8 box with each having a different display number.  The default Windows shortcut to start the X server is:

C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe

When I open a regular cygwin terminal, I can run the following command

bash.exe -l -c "/usr/bin/startxwin.exe -- :1"

and get an X server listening on display :1 (or whatever number I put there).

However, when I alter the Windows shortcut to the following, or run the following command from a Windows command prompt

C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c "/usr/bin/startxwin.exe -- :1"

it gives me an X server always with display :0.

Why would it be ignoring the -- :1 part when starting with run.exe?  Is there something I need to change about that command to get it to work from Windows command prompt/a shortcut?

Thanks,

Will

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list