X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.1 required=5.0 	tests=BAYES_00,BOTNET,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-id: <4BCA3021.8080704@cygwin.com>
Date: Sat, 17 Apr 2010 18:03:13 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320  Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: Running a Matlab script remotely via ssh
References: <h2y5969679e1004171059x1f563e57i9e58c23f5f0fc676@mail.gmail.com>  <n2o5969679e1004171104mc6fd0357l5be8cc367c4488@mail.gmail.com>  <4BC9FB25.9090809@bopp.net>
In-reply-to: <4BC9FB25.9090809@bopp.net>
Content-type: text/plain; charset=UTF-8; format=flowed
Content-transfer-encoding: 7bit
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 4/17/2010 2:17 PM, Jeremy Bopp wrote:
> On 4/17/2010 1:04 PM, Geraldo Veiga wrote:
>> I have Cygwin installed in a Vista/64 system with sshd enabled.  I
>> would like to login remotely via ssh and run a script written in
>> Matlab.
>> Directly from the DOS command line this is possible:
>>
>> matlab -nosplash -nodesktop -minimize -r test_batch -logfile logfile
>>
>> No such luck when I try the same with a remote session.  The thing
>> just hangs there until I interrupt it with CTRL-C.
>>
>> Is there any way around this?  Matlab is a Windows application and
>> always opens a window when executed.  That "-minimize" in the
>> command-line  just hides the obvious.
>>
>> Thanks in advance for your help
>
> Since it's a Windows-native build which needs to open a window, running
> it remotely won't be an option unless you give the sshd service the
> right to interact with the desktop.

And of course MS removed that feature in Vista so...

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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

