SAS Watchout

When I connect to a Mac machine via ssh and run the xmmextractor GUI, I get the following error message:

  xmac01:Work sastest$ xmmextractorGUI
  _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
  PasteBoard: Error creating pasteboard: com.apple.pasteboard.clipboard [-4960]
  PasteBoard: Error creating pasteboard: com.apple.pasteboard.find [-4960]
  Segmentation fault: 11

How can I fix this problem?

At the moment there is no solution to this problem apart from logging onto the machine directly and not attaching via ssh if that is possible.