public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Will Cladek <will.cladek@nrl.navy.mil>
To: cygwin-xfree@cygwin.com
Subject: Using run.exe to start XWin with different display number
Date: Thu, 17 Oct 2013 13:10:00 -0000	[thread overview]
Message-ID: <525FE1B8.8050006@nrl.navy.mil> (raw)

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/


             reply	other threads:[~2013-10-17 13:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17 13:10 Will Cladek [this message]
2013-10-17 21:33 ` Charles Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525FE1B8.8050006@nrl.navy.mil \
    --to=will.cladek@nrl.navy.mil \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).