public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* How to remotly launch application with SSH and Cygwin/X server
@ 2010-02-09 23:31 Fabien Tillay
  2010-02-09 23:48 ` Larry Hall (Cygwin X)
  2010-02-26 16:09 ` __Ricardo__
  0 siblings, 2 replies; 6+ messages in thread
From: Fabien Tillay @ 2010-02-09 23:31 UTC (permalink / raw)
  To: cygwin-xfree

Hi,

I've got a problem with Cygwin/X server (via Cygwin 1.7.1)
Assuming we have a PC on Linux called X and a PC on Windows called Y.
I want to send a SSH command from X to Y which launchs firefox on Y.
(ie Windows)

Firstly, if I go to Y (Windows) and launch a Cygwin shell and then
enter the 'firefox' command (firefox is in the PATH environment
variable of course), the Firefox is launched correctly and I can
navigate to whatever I want.
If I send a SSH command from X (Linux) to Y (Windows) with the firefox
command : ssh username@Y_IP_ADDRESS firefox, I've got a firefox.exe
process in the task manager of Y but Firefox is in the background (ie
there is no Firefox window).

I have set the DISPLAY environment variable to :0.0.
Do you know why it is launched in background ?
Is there a mean of displaying Firefox launched from the Linux box on Windows ?

Thanks
Silver

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: How to remotly launch application with SSH and Cygwin/X server
@ 2010-02-10 20:15 Fabien Tillay
  0 siblings, 0 replies; 6+ messages in thread
From: Fabien Tillay @ 2010-02-10 20:15 UTC (permalink / raw)
  To: cygwin-xfree

Ok thanks for your information Larry.
When I enable "Allow service to interact with desktop", If I launch
from X a ssh command to Y with "firefox" it launches the Firefox
window now but not in its normal form.
We have the Firebox taskbar entry with the border of the application,
but not the main tab.
I tried with Internet Explorer and I've got the same behavior, only
the taskbar entry and the border not the main page.
It seems like a display bug or something else (I tried these tests on
2 different PCs and same effects...)
Do you know what can cause this ?

Here my test environments :
Windows XP SP3
Windows Vista SP2
IE 6.0.2900
Firefox 3.5.6

I would like to share my experience with other tools :
Winexe :
Works well between Linux and Windows XP in interactive mode.
Works on Vista but the interactive mode is not present which is
prejudicial for my context.

PsExec : works well but it runs only on Windows unfortunately.

If you have some advices, I'm looking forward to hearing from you.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


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

end of thread, other threads:[~2010-06-10 17:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-09 23:31 How to remotly launch application with SSH and Cygwin/X server Fabien Tillay
2010-02-09 23:48 ` Larry Hall (Cygwin X)
2010-02-26 16:09 ` __Ricardo__
2010-02-26 18:04   ` Mike Ayers
     [not found]     ` <27722202.post@talk.nabble.com>
2010-06-10 17:24       ` Larry Hall (Cygwin X)
2010-02-10 20:15 Fabien Tillay

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