public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Sal Bellofiore <bellsal@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Can't open display issue from CMD
Date: Sun, 17 Jan 2021 01:03:21 -0700	[thread overview]
Message-ID: <CAEhR91h3J7kL7eZ7LhZ0oTKB6tJn04qYQwj-vYLhz_AGa1m28Q@mail.gmail.com> (raw)
In-Reply-To: <4da860bd-3773-6fc5-348b-917a409a22ed@t-online.de>

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
>

  reply	other threads:[~2021-01-17  8:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-16  4:22 Luna Bellofiore
2021-01-16  4:40 ` Marco Atzeri
     [not found]   ` <CAEhR91gW6YKbQMoiw+_J3R2AWROcw3N4jOUoyYob1CmGipWsLQ@mail.gmail.com>
2021-01-16 10:48     ` Marco Atzeri
2021-01-16 23:22   ` Hans-Bernhard Bröker
2021-01-17  8:03     ` Sal Bellofiore [this message]
2021-01-16  6:15 ` ASSI

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=CAEhR91h3J7kL7eZ7LhZ0oTKB6tJn04qYQwj-vYLhz_AGa1m28Q@mail.gmail.com \
    --to=bellsal@gmail.com \
    --cc=cygwin@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).