X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4BC9FB25.9090809@bopp.net> Date: Sat, 17 Apr 2010 13:17:09 -0500 From: Jeremy Bopp User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Running a Matlab script remotely via ssh References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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. What you probably want instead is a Cygwin build of Matlab, if such a thing exists. -Jeremy -- 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