X Applications on Mac

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

In order to get a remote X application to display on a Mac:

1. Install XQuartz

2. Start XQuartz (last time I had to restart the Mac for it to accept remote display)

3. Connect to the remote machine with ssh -X ... This will set up the DISPLAY variable appropriately (the sshd server has to be configured to forward X). More details on X forwarding over ssh are available here:

Configure sshd X Forwarding

4. xclock