To enable X11 forwarding on your_osx_host machine edit /etc/sshd_config e.g.
sudo vi /etc/sshd_configAnd add the following line:
X11Forwarding yesThen restart the sshd service:
sudo launchctl stop com.openssh.sshd sudo launchctl start com.openssh.sshdor
sudo service ssh restart
Then from your remote machine logout and log back in and you should be able to use forwarded X11 apps - you may need to enable [trusted] X11 forwarding on your client as well e.g:
ssh -XY your_osx_host