<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi Jeremy, <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">you need to install XMing, if you don't
      have it already. Then you can test the command "export DISPLAY=:0"
      simply by typing into the terminal (that will only work for the
      current session). <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I suggest you paste it into your
      ~/.bashrc file; open it with an text editor and just paste the
      command there and then type "source ~/.bashrc" into the terminal
      (or restart the application). <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">You can test if the DISPLAY variable is
      set correctly by "echo $DISPLAY" (it should output :0)</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Best,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Matic<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <blockquote type="cite"
cite="mid:CAAYDjHKQX6EHDzzQxOgoq9GFAgqW4iqzXX1CNY4CFHrn3r1cUQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I am trying to run the latest version of xcrysden for wsl,
          version 1.6.2. My issue is that when I try to run, it gives
          the following error:</div>
        <div><br>
        </div>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <div>application-specific initialization failed: no display
            name and no $DISPLAY environment variable                  
              Error in startup script: can't read "xcrys(platform)": no
            such variable                                              
               while executing                                          
                                                                   "if {
            $xcrys(platform) == "windows" } {                          
                                                                   #
            testing ...                                                
                                                                 
             rename exec _tcl_exec                                      
                                                                       
                                                                       
                                                                  proc
            exec {args} {                                              
                                                                   
            global env                                                  
                                                                       
                                                                       
                                                                 # first
            try a normal exec..."                                      
                                                         (file
            "/home/jeremy/quantumEspresso/xcrysden-1.6.2-bin-shared/Tcl/cygwin.tcl"
            line 19)                               invoked from within  
                                                                       
                                           "source
            $system(TOPDIR)/Tcl/cygwin.tcl"                            
                                                                 (file
            "/home/jeremy/quantumEspresso/xcrysden-1.6.2-bin-shared/Tcl/xcInit.tcl"
            line 449)</div>
        </blockquote>
        <div><br>
        </div>
        <div>I see on the download page of the website it says I need to
          "define the DISPLAY enviromental variable, i.e., export
          DISPLAY=:0". How do I do this? Where would I do this? I'm
          quite lost.</div>
        <div><br>
        </div>
        <div>Thank you,</div>
        <div><br>
        </div>
        <div>-Jeremy Richard</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
XCrySDen mailing list
<a class="moz-txt-link-abbreviated" href="mailto:XCrySDen@democritos.it">XCrySDen@democritos.it</a>
<a class="moz-txt-link-freetext" href="http://www.democritos.it/mailman/listinfo/xcrysden">http://www.democritos.it/mailman/listinfo/xcrysden</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Matic Poberznik
J. Stefan Institute, Jamova 39, Ljubljana, Slovenia</pre>
  </body>
</html>