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: 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: <4BC9FB25 DOT 9090809 AT bopp DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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