This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Using run.exe to start XWin with different display number
- From: Will Cladek <will dot cladek at nrl dot navy dot mil>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 17 Oct 2013 09:10:16 -0400
- Subject: Using run.exe to start XWin with different display number
- Authentication-results: sourceware.org; auth=none
- Reply-to: cygwin-xfree at cygwin dot com
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/