Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <ADF57C3C368ED411803C00508BCDF1A5093A8E@pc-56.cddk.dk>
From: Peter Ring <pri@magnus.dk>
To: cygwin@cygwin.com
Subject: RE: ssh hanging with -f option
Date: Thu, 6 Sep 2001 14:37:34 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"

OK I got it ... of course sshd must have a PATH that includes
/usr/X11R6/bin, and it didn't (tested with ssh -f someserver "echo \$PATH".
So I added a key named PATH in ..\Services\sshd\Parameters\Environment with
a string value that includes /usr/X11R6/bin, stopped and started sshd, and
Voila! almost success. I have to introduce a small pause like this:

  ssh -X -f 10.10.2.131 "sleep 5; rxvt"

but who cares.

As an aside, should I want to be able to start win32 gui applications on the
remote end, what priviliges must sshd have?

Kind regards
Peter Ring


-----Original Message-----
From: Peter Ring [mailto:pri@magnus.dk]
Sent: Thursday, September 06, 2001 1:48 PM
To: cygwin@cygwin.com
Subject: RE: ssh hanging with -f option


I just installed the cygwin1.dll snapshot from the 4. of Sep.

Can you also start an rxvt terminal like this

  ssh -v -X -f someserver rxvt

While I can log in with ssh -X someserver and then start an rxvt on a local
X server (Cygwin/XFree, BTW), I can't use the -f option. I get:

<snip>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

