public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: cygwin-xfree@cygwin.com
Subject: Re: rsh from other linux machines on the network to my cygwin machine
Date: Wed, 16 Feb 2011 23:41:00 -0000 [thread overview]
Message-ID: <4D5C60B5.50502@cwilson.fastmail.fm> (raw)
In-Reply-To: <F6C4814A9B336243ABC3D1FB44E08AE801BE5704A1@US01WXMBX1.internal.synopsys.com>
On 2/16/2011 6:17 PM, Srikanth Katkam wrote:
> I can do rsh/ssh onto other linux machines in the network and use
> all the resources on those machines but I cannot do the reverse, i.e., rsh
> on to my windows machine (i.e., Cygwin X server), why the other machines
> not able to see my cygwin/windows machine?
>
> This is why I am not able to run any DISPLAY required applications
> on the other linux machines (which rsh'ed on to from my cygwin/windows
> machine). The main reason is when I set the DISPLAY environment variable
> on the linux machines as my_windows_machine:0.0 it says cannot
> open DISPLAY
Your title does not appear to match the question you are asking.
If you are logged on to a linux box, and want to rsh over to your cygwin
box ... then you need to set up the rshd server on your cygwin box. See
/usr/share/doc/Cygwin/rsh-server.README
If you are logged on to a linux box, and want to ssh over to your cygwin
box ... then you need to setup up the sshd server on your cygwin box.
See /usr/share/doc/Cygwin/openssh.README (but basically, run
/usr/bin/ssh-host-config and answer the questions).
That answers what your TITLE appears to ask. However, the TEXT of your
question appears to ask a completely different question:
You are ssh'ing from cygwin to linux, and want to run an X application
on the linux machine, and have the display show up on your local cygwin
box -- but it's not working.
OK, FIRST you have to install and configure the cygwin Xserver, and have
it running.
SECOND, you need to be able to display X apps LOCALLY on cygwin box.
e.g. launch an xterm on the cygwin box.
THEN, from /that xterm/ on your cygwin box, do this:
ssh -Y remote_linux_host
FINALLY, once logged on to the linux host, launch an X app. It should work.
Read about the -Y (and -X) options...
--
Chuck
--
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:[~2011-02-16 23:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 23:17 Srikanth Katkam
2011-02-16 23:41 ` Charles Wilson [this message]
2011-02-17 14:25 ` Jon TURNEY
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=4D5C60B5.50502@cwilson.fastmail.fm \
--to=cygwin@cwilson.fastmail.fm \
--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: link
Be 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).