X-Recipient: archive-cygwin@delorie.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@bopp.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@cygwin.com
Subject: Re: Can't use mintty instead of rxvt for remote ssh -Y and xserver?
References: <AANLkTin5kQ93uJmPD5A1REMo5p4f_hVmu5Lm9KexxNAP@mail.gmail.com>
In-Reply-To: <AANLkTin5kQ93uJmPD5A1REMo5p4f_hVmu5Lm9KexxNAP@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@remote.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@remote.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

