X-Spam-Check-By: sourceware.org
Date: Mon, 1 May 2006 18:24:32 -0400 (EDT)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
Subject: Re: ssh from remote system into cygwin bash, JScript engine won't  run
In-Reply-To: <m3vestlh8i.fsf@bfnet.com>
Message-ID: <Pine.GSO.4.63.0605011824230.28555@access1.cims.nyu.edu>
References: <m3vestlh8i.fsf@bfnet.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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 Fri, 28 Apr 2006, David Wuertele wrote:

> I have an IDE ("VDSP++") from a vendor on which I'm trying to automate
> software builds.  It is a windows-only application, and they require
> that I write scripts for the IDE in JScript.
>
> When I use the windows host's console display to run a cygwin bash
> shell, I can execute my automated build just fine:
>
>        /path/to/vendors/Idde.exe -f /path/to/my/script.js
>
> But when I use ssh to remotely login to the windows host, also on a
> bash shell, and try to execute the automated build, it complains that
> the JScript engine can't be loaded.
>
> I verified
> 1) my environment variables are set identically in both the local case
>    and the remote login case
> 2) in the service control panel, the sshd's login properties tab has
>    "allow interaction with display" enabled
>
> My vendor tells me that something in cygwin's sshd is probably
> preventing the windows JScript DLL from loading properly.  Does anyone
> here have experience running an appliaction over sshd that uses
> JScript?

It's quite possible that the JScript engine needs to allocate an invisible
window, and is unable to do so because sshd cannot interact with the
desktop.  You might play with the "-i" and "-j" flags to cygrunsrv when
installing sshd.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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

