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: the remote problem with cygwin/x


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/


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