Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 forwarding the other way



 Ar an fichiú lá de mí Deireadh Fómhair, scríobh Timothy Knox: 

 > [...] I'd like to run X apps on my Mac, and have them show up on my
 > FreeBSD or Linux box. When I SSH into my Mac with X11 forwarding enabled
 > on my FreeBSD box, my DISPLAY is still either unset or set to
 > localhost:0.0 instead of (for example) localhost:10.0 or some such.

A useful technique for debugging this sort of thing is to use the -v flag to
ssh; so ssh -X -vvv user@hostname will give you a detailed log of what
happens, including the attempts to set up an X11 propxy, and perhaps why
they failed.  

 > [...] Does X11.app even enter in to it? 

No. 

 > I thought I read that SSH ran its own X proxy, that forwarded over the
 > SSH tunnel. If so, where do I change sshd configs (or whatever) to make
 > this happen?

/etc/ssh/sshd_config , change the line that says "X11Forwarding no" to say
"X11Forwarding yes". Or add a line that says "X11Forwarding yes" if no such
line exists.

-- 
Like the early Christians, Marx expected the millennium very soon; like
their successors, his have been disappointed--once more, the world has shown
itself recalcitrant to a tidy formula embodying the hopes of some section of
mankind. (Russell)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >X11 forwarding the other way (From: Timothy Knox <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.