public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
From: "Larry Hall (Cygwin X)" <reply-to-list-only-lh-x@cygwin.com> To: cygwin-xfree@cygwin.com Subject: Re: How to remotly launch application with SSH and Cygwin/X server Date: Tue, 09 Feb 2010 23:48:00 -0000 [thread overview] Message-ID: <4B71F3F8.9070307@cygwin.com> (raw) In-Reply-To: <dcd4b1641002091531r49b5ea2ap46454ea2406ee16d@mail.gmail.com> 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/
next prev parent reply other threads:[~2010-02-09 23:48 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-02-09 23:31 Fabien Tillay 2010-02-09 23:48 ` Larry Hall (Cygwin X) [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4B71F3F8.9070307@cygwin.com \ --to=reply-to-list-only-lh-x@cygwin.com \ --cc=cygwin-xfree@cygwin.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).