1.7.5 - Invoking excel/word using vbscript in ssh session from Linux

2010-08-17 Thread Mehta, N.V.
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 winu...@windownode csscript xls2pdf.vbs xls_file_path 
pdf_file_path
or
ssh -n -T winu...@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?

Kind Regards,
Nitin Mehta

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



Re: 1.7.5 - Invoking excel/word using vbscript in ssh session from Linux

2010-08-17 Thread Larry Hall (Cygwin)

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 winu...@windownode csscript xls2pdf.vbs
xls_file_path pdf_file_path or ssh -n -T winu...@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