This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Using run.exe to start XWin with different display number
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 17 Oct 2013 17:32:27 -0400
- Subject: Re: Using run.exe to start XWin with different display number
- Authentication-results: sourceware.org; auth=none
- References: <525FE1B8 dot 8050006 at nrl dot navy dot mil>
- Reply-to: cygwin-xfree at cygwin dot com
On 10/17/2013 9:10 AM, Will Cladek wrote:
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?
Looks like it is the new parsing code. This:
C:\cygwin64\bin\run.exe --run-notty --run-debug=2 /usr/bin/bash.exe -l
-c "/usr/bin/startxwin.exe -- :1"
reports that run is trying to execute the following command line:
C:\cygwin\bin\bash.exe -l -c /usr/bin/startxwin.exe -- :1
That is, the quotes are dropped. For now, try escaping them:
C:\cygwin64\bin\run.exe /usr/bin/bash.exe -l -c \"/usr/bin/startxwin.exe
-- :1\"
--
Chuck
--
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/