By default, the ssh connection to your Red Hat 
should forward X connections securely over the 
ssh link. You may be circumventing this security 
by setting the DISPLAY variable yourself. Check 
the DISPLAY variable after you use ssh to login:

   set | grep DISPLAY

or:

   echo $DISPLAY

and see what that says...it should be something 
like:

   localhost:10.0

or: 

   127.0.0.1:10.0

If that is correct, try to start something:

   xterm &

and see if it displays on the Mac box.

Good luck,

Troy

>>> erik at andersonfam.org 04/24/03 10:17AM >>>
mjn wrote:
> Does anyone know if this is possible? I've got Apple's X11 app and
we've
> got all of the X stuff installed on redhat but I don't really know how
to
> start an app and export the display or even if it is possible to do to
my
> OS X machine.
> 
> Any ideas? Help is much appretiated.

You should be able to do the following:

1) ssh into your redhat box from your OSX box.
2) Assumming that you use the bash shell,
	type export DISPLAY=192.168.0.1:0.0, replacing the IP address with
the 
IP address of your OSX box.
3) At this point, if your OSX box is configured correctly and ready to 
accept X11 connections, you should be able to start an x program and it 
will send the X11 packets over to the host specified in your DISPLAY 
variable.

-Erik


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org 
https://mailman.real-time.com/mailman/listinfo/tclug-list

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list