From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by sourceware.org (Postfix) with ESMTPS id 5FC4E3843893 for ; Sun, 17 Jan 2021 08:03:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5FC4E3843893 Received: by mail-qv1-xf29.google.com with SMTP id a1so6126852qvd.13 for ; Sun, 17 Jan 2021 00:03:34 -0800 (PST) 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: <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> From: Sal Bellofiore Date: Sun, 17 Jan 2021 01:03:21 -0700 Message-ID: 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2021 08:03:36 -0000 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=C3=B6ker 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 >