delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/08/22/13:42:32

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5D0123851ABE
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1692726151;
bh=NcCUo7ZFTZwOnXiA+5xDfTUE3K4fggDcvdOL1YjZKzE=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=cqPaVbNLeFd+MD7jYnUdIsIiMKY9tzUiyEt+2Cnsioai/+htTFICwuyBhmqa7vbG0
6AlV16EY0VlldokAeAC+SAOjOgLkW2ludsRt2MVL4E2hu5O0RCJ92FAerACFhWkZEc
g3r/REA9edjWAHFkEpeBF82HxnmepWM9feSl6KP0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 762E03858C50
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: How to use X-Server on VM with multiple client displays?
Thread-Topic: How to use X-Server on VM with multiple client displays?
Thread-Index: AdnVH2oXlPql43LcT1+36sEKkunNFA==
Date: Tue, 22 Aug 2023 17:41:50 +0000
Message-ID: <8f780780d6ff49dba93223855a778b6c@ida.org>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.0.14.18]
MIME-Version: 1.0
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Stone, Timothy M via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Stone, Timothy M" <tstone AT ida DOT org>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hello,

I hope I'm using the right list!

I have an X application that uses the cygwin X Server XWin.  It works fine on Windows:

  *   When I launch the application, XWin launches, then the X app raises it's window.

When I install this application (and cygwin and XWin) on a virtual machine, I have a DISPLAY issue:

  *   If I log into the virtual machine from <machine1>, I can launch and run the app just fine.
  *   However, if I then try to log into the virtual machine from another computer and launch the app...the app launches on the first machine's display...so I have 2 copies of it running on that display now.
  *   Typically, I'd set DISPLAY=<machine1>:0.0 for the first machine, and DISPLAY=<machine2>:0.0 for the second machine
     *   The problem is, the virtual machine is the only machine here, it only has 1 IP address
     *   I don't know how to set multiple DISPLAY when using the same virtual machine with the same IP address from 2 different machines.
     *   I have tried setting the DISPLAY to the IP addresses of the client machines, this does not work (unable to open display).
  *   I have also tried setting DISPLAY=localhost:0.0 for one machine and DISPLAY=localhost:0.1 for the other machine...this also does not work
     *   XWin is unable to open display localhost:0.1

Any help greatly appreciated!

I'm sure it must be possible to launch the X app on the virtual machine from different clients and have the display on their respective displays?  I just can't see how to set the display.

thanks



-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019