From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26071 invoked by alias); 17 Oct 2013 13:10:21 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 26059 invoked by uid 89); 17 Oct 2013 13:10:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail6.nrl.navy.mil Received: from smail6.nrl.navy.mil (HELO mail6.nrl.navy.mil) (132.250.21.116) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 17 Oct 2013 13:10:18 +0000 Received: from [132.250.110.37] (manbearpig.nrl.navy.mil [132.250.110.37]) by mail6.nrl.navy.mil (8.14.5/8.14.5) with ESMTP id r9HDAG78029950; Thu, 17 Oct 2013 09:10:16 -0400 Message-ID: <525FE1B8.8050006@nrl.navy.mil> Date: Thu, 17 Oct 2013 13:10:00 -0000 From: Will Cladek User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Using run.exe to start XWin with different display number Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-10/txt/msg00026.txt.bz2 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/