X11-Forwarding in Mac

STEP ONE:

If you are using Leopard, skip this step. Otherwise, install X11 support for MacOS X if you've not installed that, you can download the X11 support file from Apple http://www.apple.com/support/downloads/x11formacosx.html. If you are using MacOS 10.4.X, some one told nme that it is also included in your MacOS installation CD-ROM.


STEP TWO:

When you log in to another Linux machine, do not forget use a -Y parameter.
like

ssh  -Y pway@darwin.cs.dartmouth.edu

Then use command to test whether you can do X11 forwarding, assume you've logged on to the linux box:
try
[darwin:~]) gedit &

If luckily you see a gedit window shown on your screen, you are success. Otherwise, *BEFORE* you log on to a linux box, type these
commands in your terminal

cd /usr/X11R6/bin
./X &

Then log to a Linux box and try to remotely run gedit again.