This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Using run.exe to start XWin with different display number


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]