public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 1.7.5 - Invoking excel/word using vbscript in ssh session from Linux
@ 2010-08-17  8:44 Mehta, N.V.
  2010-08-17 15:40 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 2+ messages in thread
From: Mehta, N.V. @ 2010-08-17  8:44 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 1.7.5 - Invoking excel/word using vbscript in ssh session from Linux
  2010-08-17  8:44 1.7.5 - Invoking excel/word using vbscript in ssh session from Linux Mehta, N.V.
@ 2010-08-17 15:40 ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (Cygwin) @ 2010-08-17 15:40 UTC (permalink / raw)
  To: 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 winuser@windownode csscript xls2pdf.vbs
> "xls_file_path" "pdf_file_path" or ssh -n -T winuser@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-17 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-17  8:44 1.7.5 - Invoking excel/word using vbscript in ssh session from Linux Mehta, N.V.
2010-08-17 15:40 ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).