RE: the remote problem with cygwin/x

2007-04-11 Thread Casey Smith
sun wrote:

> 
> hello, everyone,
> 
> I am using cygwin in the windows system.
> When I connect to a remote MAC machine,
> I want the gui window displayed on my side of cygwin.
> I start the xwin with 'startxwin.bat', then
> 
> ssh -Y -l 'name' 'address'
> 
> it can ssh to it succesfully, but the xterm& is failed and
> 
> 'can't open display'
> 
> Please help me!
> 
> sun

Macs have X11 forwarding disabled by default.

Edit /etc/sshd_config with your favorite editor (you'll need to sudo to get
write privileges).
Change
#X11Forwarding no
to 
X11Forwarding yes

Restart sshd on your Mac: System Preferences -> Sharing.  Stop Remote Login
then Start it again.

That worked for me.


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



the remote problem with cygwin/x

2007-04-11 Thread sun

hello, everyone,

I am using cygwin in the windows system.
When I connect to a remote MAC machine,
I want the gui window displayed on my side of cygwin.
I start the xwin with 'startxwin.bat', then

ssh -Y -l 'name' 'address'

it can ssh to it succesfully, but the xterm& is failed and

'can't open display'

Please help me!

sun

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