| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <183c528b0711260804x923a4cbl5b081b8354ce3a68@mail.gmail.com> |
| Date: | Mon, 26 Nov 2007 11:04:55 -0500 |
| From: | "Brian Mathis" <brian DOT mathis AT gmail DOT com> |
| To: | roger DOT k DOT wells AT saic DOT com, cygwin AT cygwin DOT com |
| Subject: | Re: [Fwd: sshd display] |
| In-Reply-To: | <474AEC9B.1090606@saic.com> |
| MIME-Version: | 1.0 |
| References: | <474AEC9B DOT 1090606 AT saic DOT com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Nov 26, 2007 10:56 AM, Roger Wells <ROGER DOT K DOT WELLS AT saic DOT com> wrote:
> Please forgive my silence and I really do appreciate your attention to my problem.
> I originally posted my question on the cygwin-apps list and at Corinna's suggestion I
> posted it on this list without realizing that I was not subscribed. I only now have
> seen your responses as I searched the archives. I can now provide a specific example
> of what I am doing.
>
> On one cygwin installation:
> uname -a => CYGWIN_NT-5.1 dac1 1.5.21(0.156/4/2) 2006-07-30 14:21 i686 Cygwin
>
> the following command on the linux client:
> ssh wellsr start foo.exe
> results in a windows console popping up with the application (foo) running in it.
> control immediately returns to the linux console.
>
> The key to this working is the following script ("start")
> that runs on the cygwin machine:
>
> #!/usr/bin/bash
> #
> # There must be no spaces in the title field of the start command
> # Otherwise, this seems to work, but I don't know how!
> #
> #
> export XAPPLRESDIR="C:\iss60\app-def"
> cmd /c start /I \ $1\ $2 $3 $4 $5 $6
>
> (obviously the last line is the operative one)
>
> on another cygwin installation:
> uname => CYGWIN_NT-5.1 wellsr 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin
>
> the same sequence launches the application and returns control to the linux
> console but in this case there is no console window on the cygwin side. The
> application appears on the task list but no window exists.
>
When the sshd service is installed on the cygwin machine, you must
make sure that "Interact with desktop" has been enabled. I suspect it
was enabled on the one machine, but not the other. On the system that
is not working, reinstall the cygwin sshd service, and enable that
option.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |