when i ssh to a linux host from my mac using ssh -C -X linuxhost, and try to open an xterm i get this error message
bash-3.2$ xterm
xterm: Xt error: Can’t open display: /private/tmp/com.apple.launchd.vIXw1YlUUE/org.macosforge.xquartz:0
WORKAROUND: before ssh, export DISPLAY=:0 in the mac