<div dir="ltr">I would recommend trying a fix proposed a while ago on this list, which has worked on MacOS: in the file Tcl/Viewer.tcl, make the change shown here -- <a href="https://trac.macports.org/browser/trunk/dports/science/xcrysden/files/patch-Tcl-Viewer.tcl.diff?rev=140738">https://trac.macports.org/browser/trunk/dports/science/xcrysden/files/patch-Tcl-Viewer.tcl.diff?rev=140738</a><div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 9, 2016 at 10:03 AM, Gavin Abo <span dir="ltr"><<a href="mailto:gsabo@crimson.ua.edu" target="_blank">gsabo@crimson.ua.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>On your Windows system:<br>
<br>
What X server are you using [1]? Xming?<br>
Do you have the "Enable X11 Forwarding" box checked in PuTTY [2]?<br>
<br>
On the cluster:<br>
<br>
Is X11 forwarding (like X11Forwarding or ForwardX11 or
ForwardX11Trusted) set to Yes [1,3,4]?<br>
What Mesa (or OpenGL) did you compile XCrySDen with [5]?<br>
Did you try "export LIBGL_ALWAYS_INDIRECT=1" [6,7]?<br>
<br>
[1]
<a href="http://superuser.com/questions/119792/how-to-use-x11-forwarding-with-putty/119908#119908" target="_blank">http://superuser.com/questions/119792/how-to-use-x11-forwarding-with-putty/119908#119908</a><br>
[2]
<a href="https://wiki.utdallas.edu/wiki/display/FAQ/X11+Forwarding+using+Xming+and+PuTTY" target="_blank">https://wiki.utdallas.edu/wiki/display/FAQ/X11+Forwarding+using+Xming+and+PuTTY</a><br>
[3]
<a href="http://lists.mindrot.org/pipermail/openssh-unix-dev/2004-March/020658.html" target="_blank">http://lists.mindrot.org/pipermail/openssh-unix-dev/2004-March/020658.html</a><br>
[4]
<a href="https://padraic2112.wordpress.com/2007/07/09/bad-security-201-remote-x-sessions-over-ssh/" target="_blank">https://padraic2112.wordpress.com/2007/07/09/bad-security-201-remote-x-sessions-over-ssh/</a><br>
[5] <a href="https://trac.macports.org/ticket/41320" target="_blank">https://trac.macports.org/ticket/41320</a><br>
[6]
<a href="http://www.democritos.it/pipermail/xcrysden/2014-August/001642.html" target="_blank">http://www.democritos.it/pipermail/xcrysden/2014-August/001642.html</a><br>
[7] <a href="http://www.straightrunning.com/xmingnotes/trouble.php#head-19" target="_blank">http://www.straightrunning.com/xmingnotes/trouble.php#head-19</a><div><div class="h5"><br>
<br>
On 4/9/2016 9:14 AM, Elio Physics wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear all,</p>
<p><br>
</p>
<p>I have compiled and configure XCRYSDEN successfully. However
when I type xcrysden, and after a while, the window does not
open and I get the error:</p>
<p><br>
</p>
<p>Running on platform : unix<br>
Operating system : Linux<br>
Package ImageMagick's convert: /usr/bin/convert<br>
Package ImageMagick's import: /usr/bin/import<br>
Package Gifsicle: /usr/bin/gifsicle<br>
Package Ppmtompeg: /usr/bin/ppmtompeg<br>
Package Babel: /usr/bin/babel<br>
Package Xwd: /usr/bin/xwd<br>
Executing: /usr/lib64/xcrysden/bin/ftnunit<br>
X Error of failed request: BadWindow (invalid Window
parameter)<br>
Major opcode of failed request: 3 (X_GetWindowAttributes)<br>
Resource id in failed request: 0xffffffff<br>
Serial number of failed request: 786<br>
Current serial number in output stream: 787<br>
</p>
<p><br>
</p>
<p>Can anyone help me on this? I am using PuTTY to access the
cluster where XCRYSDEN is.</p>
<p><br>
</p>
<p>Thank you</p>
<p><br>
</p>
<p>Elio moujaes</p>
<p>University of Rondonia Brazil<br>
</p>
</div>
</blockquote>
</div></div></div>
<br>_______________________________________________<br>
XCrySDen mailing list<br>
<a href="mailto:XCrySDen@democritos.it">XCrySDen@democritos.it</a><br>
<a href="http://www.democritos.it/mailman/listinfo/xcrysden" rel="noreferrer" target="_blank">http://www.democritos.it/mailman/listinfo/xcrysden</a><br>
<br></blockquote></div><br></div>