www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
X-Yahoo-SMTP: | Uu383n6swBCEN1G9up0WSnxbvN8fCPmk |
Message-ID: | <4C6AAD2E.7070207@cygwin.com> |
Date: | Tue, 17 Aug 2010 11:39:26 -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: 1.7.5 - Invoking excel/word using vbscript in ssh session from Linux |
References: | <1282034674 DOT 3901677759 AT as03 DOT cooltoad DOT com> |
In-Reply-To: | <1282034674.3901677759@as03.cooltoad.com> |
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 8/17/2010 5:44 AM, Mehta, N.V. wrote: > Hi, > > I am starting SSH session from a Linux box to CYGWIN on Windows XP. In this > session I call a vbscript which invokes MS word or Excel 2007 to export file > to PDF. The command is: ssh -n -T winuser AT windownode csscript xls2pdf.vbs > "xls_file_path" "pdf_file_path" or ssh -n -T winuser AT windownode csscript > doc2pdf.vbs "doc_file_path" "pdf_file_path" > > I have already passwordless login setup using ssh-keygen and > authorized_keys. > > The script starts Word and Excel as I can see the corresponding process in > the "Task Manager". But it seems both Word and Excel are hanging and doing > nothing. > > If I use wsscript instead of csscript, the wsscript process can be found in > "Task Manager", but no word or excel, so wsscript is hanging. > > There are several messages like this in the mailing list, but no resolution. > > Can some one help? Try it with password authentication. If that works, visit <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview> From this list of options, you can pick and configure the mechanism that works best for you. FWIW, this basic issue has been discussed many times in the email archives with multiple pointers to this documentation. YMMV. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |