TIL -X option to enable X Windows forwarding X Windows Forwarding on Mac OS X. X Windows has to be installed on local Mac. I downloaded XQuartz, a version of X Window System that runs on macOS. Than I could login ssh -X my-ubuntu-server and there run xclock and see:

xclock