delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/09/04:14:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <1ef5a52f0911060716k6d8fc8d2l8a8a85ef849e17df@mail.gmail.com>
References: <1ef5a52f0911060453t726dfc5bwd7793b0346f9eb13 AT mail DOT gmail DOT com> <20091106132150 DOT GJ26344 AT calimero DOT vinschen DOT de> <1ef5a52f0911060716k6d8fc8d2l8a8a85ef849e17df AT mail DOT gmail DOT com>
Date: Mon, 9 Nov 2009 10:14:35 +0100
Message-ID: <1ef5a52f0911090114n770bda4bk54bb21d0b6fe7ca7@mail.gmail.com>
Subject: Re: Pseudo-terminal will not be allocated because stdin is not a terminal.
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

A closer look at Process Explorer revealed the cause of the problem:

rxvt.exe	3732		8	444,184 K	4,740 K	6,332
K	me	1,630	C:\cygwin17\bin\rxvt.exe --geometry 170x60+0+0 -e ssh -Y
lab1
 rxvt.exe	5276		8	431,304 K	3,628 K	3,940 K	me	1,023	C:\cygwin17\bin\rxvt.exe
  ssh.exe	8640		8	449,540 K	3,704 K	6,224
K	me	1,807	C:\cygwin\bin\ssh.exe -Y lab1

It was running the ssh from Cygwin 1.5 !
It is true that c:\cygwin\bin is in the Windows path although I don't
understand why rxvt didn't pick its own ssh. I assume rxvt wasn't
started in C:\cygwin17\bin (the shortcut launched
C:\cygwin17\bin\run.exe in C:\cygwin17)

The easy fix is to make sure rxvt launches its own ssh by supplying an
absolute path:
Target: C:\cygwin17\bin\run.exe rxvt --geometry 170x60+0+0 -e
/usr/bin/ssh -Y lab1

Csaba
-- 
Life is complex, with real and imaginary parts

--
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