<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>As was already hinted at in [1], if you need more help, you
      probably need describe better what you system(s) configuration is
      like such as are you only using w2web and xcrysden in Ubuntu
      locally (physical Linux box or in a virtual machine) or are you
      connecting to them remotely?</p>
    <p><br>
    </p>
    <p>If you have defined $DISPLAY, w2web might just pick that up.  If
      you know Perl, I suggest you have a look at
      $WIENROOT/SRC_w2web/htdocs/util/viewcrys.pl.<br>
    </p>
    <p><br>
    </p>
    The xserver that you mentioned, is it setup for X11 forwarding?  If
    you are not using w2web locally with an offline setup [2], but are
    instead using an online setup were w2web is connected to the
    internet (or a local network) and is unable to get xcrysden to open
    in w2web, are you able to get it to open instead using an ssh
    connection with X11 forwarding?  Refer to [3,4].<br>
    <p><br>
    </p>
    <p>[1]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg20243.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg20243.html</a></p>
    <p>[2]
<a class="moz-txt-link-freetext" href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg01124.html">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg01124.html</a><br>
    </p>
    <p>[3]
<a class="moz-txt-link-freetext" href="http://sites.science.oregonstate.edu/~tatej/COURSES/ph575/doku.php?id=xcrysden">http://sites.science.oregonstate.edu/~tatej/COURSES/ph575/doku.php?id=xcrysden</a></p>
    <p>[4]
      <a class="moz-txt-link-freetext" href="https://users.wfu.edu/natalie/s11phy752/lecturenote/PHY752lectLAPW.pdf">https://users.wfu.edu/natalie/s11phy752/lecturenote/PHY752lectLAPW.pdf</a><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 6/22/2020 2:21 PM, Johnathon Street
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:BYAPR07MB6053960498931E6FABF24349FD970@BYAPR07MB6053.namprd07.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
      <div style="color: rgb(0, 0, 0); font-family:
        Calibri,Arial,Helvetica,sans-serif; font-size: 12pt;">
        When typing echo $DISPLAY into the terminal I am seeing :0. I
        still continue to see "requires X-Windows System..." when I try
        to view the crystal in w2web. Is there a way to set the DISPLAY
        variable inside the w2web process so that it may work there as
        well. Where do you recommend I set DISPLAY?</div>
      <div style="color: rgb(0, 0, 0); font-family:
        Calibri,Arial,Helvetica,sans-serif; font-size: 12pt;">
        <br>
      </div>
      <div style="color: rgb(0, 0, 0); font-family:
        Calibri,Arial,Helvetica,sans-serif; font-size: 12pt;">
        Thank you<br>
      </div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          face="Calibri, sans-serif" color="#000000"><b>From:</b> Wien
          <a class="moz-txt-link-rfc2396E" href="mailto:wien-bounces@zeus.theochem.tuwien.ac.at"><wien-bounces@zeus.theochem.tuwien.ac.at></a> on behalf of
          Gavin Abo <a class="moz-txt-link-rfc2396E" href="mailto:gsabo@crimson.ua.edu"><gsabo@crimson.ua.edu></a><br>
          <b>Sent:</b> Saturday, June 13, 2020 4:55 PM<br>
          <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</a>
          <a class="moz-txt-link-rfc2396E" href="mailto:wien@zeus.theochem.tuwien.ac.at"><wien@zeus.theochem.tuwien.ac.at></a><br>
          <b>Subject:</b> Re: [Wien] Xcrysden issues with w2web</font>
        <div> </div>
      </div>
      <div>
        <p>Maybe there is still a problem with your XCRYSDEN_TOPDIR,
          refer to:</p>
        <p><br>
        </p>
        <p><a class="x_moz-txt-link-freetext"
href="https://urldefense.com/v3/__https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18555.html__;!!LNEL6vXnN3x8o9c!wOFlUzcyu_b8T0m5p3xrOisn5mqtXqTGifQSvDBIX9DI1D0YgI-CoKIpEkzRTEgp$"
            moz-do-not-send="true">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg18555.html
            [mail-archive.com]</a></p>
        <p><a class="x_moz-txt-link-freetext"
href="https://urldefense.com/v3/__http://www.democritos.it/pipermail/xcrysden/2020-January/001975.html__;!!LNEL6vXnN3x8o9c!wOFlUzcyu_b8T0m5p3xrOisn5mqtXqTGifQSvDBIX9DI1D0YgI-CoKIpElJMWCG9$"
            moz-do-not-send="true">http://www.democritos.it/pipermail/xcrysden/2020-January/001975.html
            [democritos.it]</a></p>
        <p><br>
        </p>
        <p>Regarding DISPLAY, maybe the following link to a xcrysden
          mailing list post can help:<br>
        </p>
        <p><br>
        </p>
        <p><a class="x_moz-txt-link-freetext"
href="https://urldefense.com/v3/__http://www.democritos.it/pipermail/xcrysden/2020-May/001993.html__;!!LNEL6vXnN3x8o9c!wOFlUzcyu_b8T0m5p3xrOisn5mqtXqTGifQSvDBIX9DI1D0YgI-CoKIpEmZACKf6$"
            moz-do-not-send="true">http://www.democritos.it/pipermail/xcrysden/2020-May/001993.html
            [democritos.it]</a><br>
        </p>
        <p><br>
        </p>
        <div class="x_moz-cite-prefix">On 6/11/2020 2:51 PM, Johnathon
          Street wrote:<br>
        </div>
        <blockquote type="cite">
          <style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
          <div style="color:rgb(0,0,0);
            font-family:Calibri,Arial,Helvetica,sans-serif;
            font-size:12pt">
            Thank you for the response. That did resolve the issue. I am
            now seeing "Requires X-windows system..." in the view struct
            portion of w2web. I do have an xserver runner, as I am
            running on Ubuntu. Is there a place where I need to set
            DISPLAY? </div>
          <div style="color:rgb(0,0,0);
            font-family:Calibri,Arial,Helvetica,sans-serif;
            font-size:12pt">
            <br>
          </div>
          <hr tabindex="-1" style="display:inline-block; width:98%">
          <div id="x_divRplyFwdMsg" dir="ltr"><font
              style="font-size:11pt" face="Calibri, sans-serif"
              color="#000000"><b>From:</b> Wien
              <a class="x_moz-txt-link-rfc2396E"
                href="mailto:wien-bounces@zeus.theochem.tuwien.ac.at"
                moz-do-not-send="true">
                <wien-bounces@zeus.theochem.tuwien.ac.at></a> on
              behalf of Gavin Abo <a class="x_moz-txt-link-rfc2396E"
                href="mailto:gsabo@crimson.ua.edu"
                moz-do-not-send="true">
                <gsabo@crimson.ua.edu></a><br>
              <b>Sent:</b> Saturday, June 6, 2020 11:05 AM<br>
              <b>To:</b> <a class="x_moz-txt-link-abbreviated"
                href="mailto:wien@zeus.theochem.tuwien.ac.at"
                moz-do-not-send="true">
                wien@zeus.theochem.tuwien.ac.at</a> <a
                class="x_moz-txt-link-rfc2396E"
                href="mailto:wien@zeus.theochem.tuwien.ac.at"
                moz-do-not-send="true">
                <wien@zeus.theochem.tuwien.ac.at></a><br>
              <b>Subject:</b> Re: [Wien] Xcrysden issues with w2web</font>
            <div> </div>
          </div>
          <div>
            <p>Most likely you just need to kill and restart w2web.</p>
            <p><br>
            </p>
            <p>Refer to:<br>
            </p>
            <p><br>
            </p>
            <p><a class="x_x_moz-txt-link-freetext"
href="https://urldefense.com/v3/__https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg11246.html__;!!LNEL6vXnN3x8o9c!y3eR68_jwMy-ieFTucnQK_nzeOCOUwzEtSNG-uwkPO_yATLz4wAk2gM46Iqc3q-u$"
                moz-do-not-send="true">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg11246.html
                [mail-archive.com]</a><br>
            </p>
            <p><a class="x_x_moz-txt-link-freetext"
href="https://urldefense.com/v3/__https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg01987.html__;!!LNEL6vXnN3x8o9c!y3eR68_jwMy-ieFTucnQK_nzeOCOUwzEtSNG-uwkPO_yATLz4wAk2gM46Lm0FwxV$"
                moz-do-not-send="true">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg01987.html
                [mail-archive.com]</a><br>
            </p>
            <p><br>
            </p>
            <div class="x_x_moz-cite-prefix">On 6/6/2020 11:49 AM,
              Johnathon Street wrote:<br>
            </div>
            <blockquote type="cite">
              <style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
              <div style="color:rgb(0,0,0);
                font-family:Calibri,Arial,Helvetica,sans-serif;
                font-size:12pt">
                I unable to view crystal with Xcrysden in w2web
                environment. However, I am able to view directly from
                terminal when typing Xcrysden in command line. I have
                found through the mailing list that XCRYSDEN_TOPDIR
                needs to be set, but I am unsure what it should be set
                to. Any help would be appreciated. I am running
                WIEN2k_19.2 and Xcrysden version 1.6.2.</div>
              <div style="color:rgb(0,0,0);
                font-family:Calibri,Arial,Helvetica,sans-serif;
                font-size:12pt">
                Current Directory</div>
              <div style="color:rgb(0,0,0);
                font-family:Calibri,Arial,Helvetica,sans-serif;
                font-size:12pt">
                 XCRYSDEN_TOPDIR=/usr/local/share/xcrysden-1.6.2</div>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <blockquote type="cite"
cite="mid:BYAPR07MB6053960498931E6FABF24349FD970@BYAPR07MB6053.namprd07.prod.outlook.com"></blockquote>
  </body>
</html>