running remote x programs in os x
Ok so I have downloaded and installed x11 from the Apple web site. On my Sun server I have exported my display to be that of my laptop (192.0.0.10:0.0). But when I run xterm, or any x app on the server it just hangs. Works fine for my w2k desktop with Reflections. Is there something that needs to be enabled in os X before connections are accepted. I have tried playing with the x11 prefs to no avail.
Thanks in advance.
Thanks in advance.
Comments
now, when you say you try to run these programs, from which computer are you spawning them? you mentioned possibly 4 computers, a SUN, a laptop, a mac and a windows box. is the LT actually the mac or win?
here's an example of how it works for me. on my mac, i 'setenv DISPLAY :0.0' then 'xhost comp1'. on comp1, i 'setenv macip:0.0' then 'xterm&' (or other x11 program).
display on pb set to :0.0
xhost 192.0.0.2 (on pb)
display on sun box set to 192.0.0.10:0.0
forget the windows machine i just used that to test the sun box was set up correctly. the connection is purely between my pb and sun server. programs should be running on the sun box with the display being pushed back to my pb.
followed your example which i agree should work but the xterm/xclock/xapp... hangs and doesn't show up on the pb. it shouldn't make any difference but i'm doing this through an airport.
Originally posted by gardnerj
When I turn off the firewall on the the pb. hey presto it works but OSX won't let me edit the settings. Is there a manual way of doing this?
in sys prefs, you can add new firewall settings, and edit old ones. what you need, to let the x11 connection run through, is to open up port 5900 (for display 0.0, 5901 for 1.0, etc). i think its tcp and udp.