title: display: unable to open X server
body: <p>I am running ImageMagick on my Mac which runs on Yosemite. I have just downloaded ImageMagick and I am trying to open the logo display by running this on the command line: </p>
  
  <pre><code>display logo.gif
  </code></pre>
  
  <p>after executing the above command, I am getting the following error:</p>
  
  <pre><code>display: unable to open X server `:0.0' @ error/display.c/DisplayImageCommand/426.
  </code></pre>
  
  <p>I've implemented all the steps to install ImageMagick, including executing the following command:</p>
  
  <pre><code>export DISPLAY=:0.0
  </code></pre>
  
  <p>and I am still not getting the display to show up. When I echo $DISPLAY, my console shows 0.0. </p>
  
  <p>How can I fix this error? Any help is appreciated.</p>