title: Running GUI applications (DISPLAY) on jupyter notebook terminal - Linux
body: <p>We are running jupyter notebook on a Ubuntu server, and using terminal feature of jupyter. This is good for running CLI but when we have to run a GUI based application (e.g. xclock) then it says Can't Open Display.  </p>
  
  <p>If we run same GUI command by taking pytty session, from windows jumpserver, and setting DISPLAY variable, then it works fine (i.e., GUI application is displayed properly)</p>
  
  <pre><code>(base) sandeep:/data$ xclock
  Error: Can't open display:
  </code></pre>
  
  <p>Ideally it should run if we set correct DISPLAY environment variable. However, what should be correct value of DISPLAY in case of jupyter notebook terminal, can anyone suggest please.</p>