Remotely run X programs in Mac using Cygwin in local PC
1. Make sure X windows server has been installed in Cygwin (local PC)
2. Make sure X11 tunneling has been enable in remote Mac OS X.
http://developer.apple.com/qa/qa2004/qa1383.html
For security reasons, Mac OS X does not enable X11 forwarding by default. In order for clients to receive X11 forwarding, the system administrator must explicitly enable it on the Mac OS X system. This is done by altering the /etc/sshd_config file, either by manual edit, or as shown as below:
sed 's/#X11Forwarding\ no/X11Forwarding\ yes/' /etc/sshd_config > /tmp/sshd_config3. In local Cygwin, run "ssh -X myusername@remotemacserver"
sudo mv /tmp/sshd_config /etc/.
4. In remote Mac, the DISPLAY will be automatically set as "localhost:10.0". It's ready to run X programs such as Amide.