title: GtkWarning: could not open display
body: <p>I am trying to run a spider on a vps (using scrapyjs which uses python-gtk2). On running the spider I am getting the error</p>
  
  <pre><code>/root/myporj/venv/local/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  </code></pre>
  
  <p>How do I run this in a headless setup?</p>