This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Pseudo-terminal will not be allocated because stdin is not a terminal.
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