X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C8E6398EC0C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1610870617;
	bh=J7djEFeCNfwe1yoxvKZBApbIMxGY7Yp57yd2MS43zYU=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=hNDY37Lhz5GzrpMcQaZVJ5/KgoX30wNF7aFvK8CWN4YoAo6ZbsQ0EkJvk8VYTbDbu
	 ldzxOo3TXVl+pUk0MOlVu+ARvdAjcYxmSH0vl67/c26sbIbAIyPNLLaKHY+FQbmSjj
	 4bPnlX9iNUBQKlEqsRLePpqCVejx3YKsynWhrjfA=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5FC4E3843893
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=W4c76AiJa+PFFt1pizejJP65NSKpzcDium3rAPO5XEU=;
 b=o0KHRcEBfWr9VHiCiNFRNrLhNbgbHxHs3kOivurOvrYOsW9clCshx8eEdGoU6Z68DF
 RxrExTB4owyplmmEcMSgSHFCZQCZ2zsw/we9JyRDm2DHsftNLET4xdT2TiserXVJMcHn
 dw+jt7YVIaab/cbLqd0GYugiIMnNBIokaLmrxne48rPtS+CGiGpaTJG1OCjIFbhUBJ/w
 mzCQcIwK0ZZXFQxLi1CUgNs57DgYGD69ujmJvoqq/w0+CifEQSwC2IqW7i81WzSIn5by
 WOoVSXFES/+tSvhBtnbGGCrbLe+XqBKoYBusd2Eu8S/PY/8E0row+Y99smEVcfbsizxN
 fglw==
X-Gm-Message-State: AOAM531hhquPaWvdpV2I3YvX4e9gRotGh1YDdH8IryzpmiYCZX1V37RW
 xi77wFP6+Kaz/TF6akRGs+3o8y9IROiPnawZ2kcnzR7+Sd8Omg==
X-Google-Smtp-Source: ABdhPJzK/LQIzaezrCGch3ifQlz053WWDkK0RrblWokDvymCkCCGVNyl3L7B+O5PsizCJSHuCUM5bZEgXXC1D+aLYlY=
X-Received: by 2002:a0c:bd9f:: with SMTP id n31mr19224830qvg.42.1610870613781; 
 Sun, 17 Jan 2021 00:03:33 -0800 (PST)
MIME-Version: 1.0
References: <CAKSGAtTA7v47DaHj_k0yQu5bEhUqaub1DXWZ3RLBxnUTyrgBSA@mail.gmail.com>
 <2c7fc63e-9c18-b90d-348c-40c1401cd273@gmail.com>
 <4da860bd-3773-6fc5-348b-917a409a22ed@t-online.de>
In-Reply-To: <4da860bd-3773-6fc5-348b-917a409a22ed@t-online.de>
Date: Sun, 17 Jan 2021 01:03:21 -0700
Message-ID: <CAEhR91h3J7kL7eZ7LhZ0oTKB6tJn04qYQwj-vYLhz_AGa1m28Q@mail.gmail.com>
Subject: Re: Can't open display issue from CMD
To: cygwin@cygwin.com
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: cygwin@cygwin.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@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Sal Bellofiore via Cygwin <cygwin@cygwin.com>
Reply-To: Sal Bellofiore <bellsal@gmail.com>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 10H843qM011698

OK.... I figured out the issue.  Inside .bashrc (in the Linux remote
machine), I was executing xrdb every time I was logging in, but I only
meant it to execute it when requesting xterm.  So, I included the following
lines in .bashrc, and everything works.

Thank you berndbausch!  You were spot on!  I didn't realize that xrdb was
the cause of my issue, and I solved the problem as you suggested.

if [[ -n $DISPLAY ]]
then
     /usr/bin/xrdb -load ~/.Xdefaults
fi


On Sat, Jan 16, 2021 at 4:23 PM Hans-Bernhard Bröker <HBBroeker@t-online.de>
wrote:

> Am 16.01.2021 um 05:40 schrieb Marco Atzeri via Cygwin:
>
> >
> > It seems the remote machine is expecting to run a X interface
> > by default.
>
> Or could it be that the local machine has ssh X11 forwarding turned on
> (for this remote machine)?  Turning it off explicitly (-x flag) would
> turn it off, so if that changes the outcome, you know what happened.
>
> Running ssh in -v (verbose) may also help with telling what's going on.
>
> --
> 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
>
--
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

