the remote problem with cygwin/x

Casey Smith temp@caseysmith.net
Thu Apr 12 06:37:00 GMT 2007


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/



More information about the Cygwin-xfree mailing list