delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/17/18:03:30

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: Running a Matlab script remotely via ssh
References: <h2y5969679e1004171059x1f563e57i9e58c23f5f0fc676 AT mail DOT gmail DOT com> <n2o5969679e1004171104mc6fd0357l5be8cc367c4488 AT mail DOT gmail DOT com> <4BC9FB25 DOT 9090809 AT bopp DOT net>
In-reply-to: <4BC9FB25.9090809@bopp.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019