Can't open display issue from CMD
Sal Bellofiore
bellsal@gmail.com
Sun Jan 17 08:03:21 GMT 2021
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
>
More information about the Cygwin
mailing list