This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to remotly launch application with SSH and Cygwin/X server


On 02/09/2010 06:31 PM, Fabien Tillay wrote:
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.

No matter. Firefox on Windows knows nothing of X Windows anyway. No surprise, right?

Do you know why it is launched in background ?
Is there a mean of displaying Firefox launched from the Linux box on Windows ?

Generally, no. Depending on the version of Windows and Cygwin you're running, you can go to the Control Panel->Administrative Tools->Services->Cygwin SSHD-> Log On and enable "Allow service to interact with desktop" if you're already running the service with "Local System". Pretty much for any other case, you can't do on Windows what you want to do.

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]