title: xdotool not working - Error: Can't open display: (null)
body: <p>executing any command using xdotool gives me the following error :</p>
  
  <pre><code>Error: Can't open display: (null)
  Failed creating new xdo instance
  </code></pre>
  
  <p>I tried exporting display='0' but none seems to work.</p>
  
  <p>Any idea ?</p>