delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/08/20:16:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,TW_RX
X-Spam-Check-By: sourceware.org
Message-ID: <4CAFB44F.1010203@bopp.net>
Date: Fri, 08 Oct 2010 19:16:15 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Can't use mintty instead of rxvt for remote ssh -Y and xserver?
References: <AANLkTin5kQ93uJmPD5A1REMo5p4f_hVmu5Lm9KexxNAP AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTin5kQ93uJmPD5A1REMo5p4f_hVmu5Lm9KexxNAP@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 10/08/2010 12:07 PM, Reckoner wrote:
> Hi,
> 
> I'm starting my xserver using
> 
>    C:\cygwin\bin\run.exe -p /usr/X11R6/bin XWin -multiwindow
> -clipboard -silent-dup-error
> 
> and then I do:
> 
>    C:\cygwin\bin\rxvt.exe -e /bin/xhere /bin/zsh
> 
> when I do
> 
>    % ssh -Y host AT remote DOT edu
> 
> I can successfully open remote x-windows.
> 
> However,
> 
> If I use mintty 0.91 instead of rxvt as shown below:
> 
>    C:\cygwin\bin\mintty.exe -e /bin/xhere /bin/zsh
> 
> when I do
> 
>    % ssh -Y host AT remote DOT edu
> 
> I *cannot* successfully open remote x-windows.
> 
> Note that changing the shell from zsh to bash doesn't help at all.
> 
> Any advice appreciated.

I don't have a Cygwin environment in front of me at the moment to check
this myself.  Before running the ssh command under each terminal, what
is the value of the DISPLAY environment variable?  I have a feeling that
it might not be set for you by mintty while it may be set by rxvt.

-Jeremy

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

- Raw text -


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