From Elio-Physics at live.com Sat Apr 9 17:14:45 2016 From: Elio-Physics at live.com (Elio Physics) Date: Sat, 9 Apr 2016 15:14:45 +0000 Subject: [xcrysden] Error when initiating XCrysDEN Message-ID: Dear all, 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: Running on platform : unix Operating system : Linux Package ImageMagick's convert: /usr/bin/convert Package ImageMagick's import: /usr/bin/import Package Gifsicle: /usr/bin/gifsicle Package Ppmtompeg: /usr/bin/ppmtompeg Package Babel: /usr/bin/babel Package Xwd: /usr/bin/xwd Executing: /usr/lib64/xcrysden/bin/ftnunit X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 3 (X_GetWindowAttributes) Resource id in failed request: 0xffffffff Serial number of failed request: 786 Current serial number in output stream: 787 Can anyone help me on this? I am using PuTTY to access the cluster where XCRYSDEN is. Thank you Elio moujaes University of Rondonia Brazil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.democritos.it/pipermail/xcrysden/attachments/20160409/d2d252cf/attachment.htm From gsabo at crimson.ua.edu Sat Apr 9 19:03:04 2016 From: gsabo at crimson.ua.edu (Gavin Abo) Date: Sat, 9 Apr 2016 11:03:04 -0600 Subject: [xcrysden] Error when initiating XCrysDEN In-Reply-To: References: Message-ID: <570935C8.7080607@crimson.ua.edu> On your Windows system: What X server are you using [1]? Xming? Do you have the "Enable X11 Forwarding" box checked in PuTTY [2]? On the cluster: Is X11 forwarding (like X11Forwarding or ForwardX11 or ForwardX11Trusted) set to Yes [1,3,4]? What Mesa (or OpenGL) did you compile XCrySDen with [5]? Did you try "export LIBGL_ALWAYS_INDIRECT=1" [6,7]? [1] http://superuser.com/questions/119792/how-to-use-x11-forwarding-with-putty/119908#119908 [2] https://wiki.utdallas.edu/wiki/display/FAQ/X11+Forwarding+using+Xming+and+PuTTY [3] http://lists.mindrot.org/pipermail/openssh-unix-dev/2004-March/020658.html [4] https://padraic2112.wordpress.com/2007/07/09/bad-security-201-remote-x-sessions-over-ssh/ [5] https://trac.macports.org/ticket/41320 [6] http://www.democritos.it/pipermail/xcrysden/2014-August/001642.html [7] http://www.straightrunning.com/xmingnotes/trouble.php#head-19 On 4/9/2016 9:14 AM, Elio Physics wrote: > > Dear all, > > > 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: > > > Running on platform : unix > Operating system : Linux > Package ImageMagick's convert: /usr/bin/convert > Package ImageMagick's import: /usr/bin/import > Package Gifsicle: /usr/bin/gifsicle > Package Ppmtompeg: /usr/bin/ppmtompeg > Package Babel: /usr/bin/babel > Package Xwd: /usr/bin/xwd > Executing: /usr/lib64/xcrysden/bin/ftnunit > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 3 (X_GetWindowAttributes) > Resource id in failed request: 0xffffffff > Serial number of failed request: 786 > Current serial number in output stream: 787 > > > Can anyone help me on this? I am using PuTTY to access the cluster > where XCRYSDEN is. > > > Thank you > > > Elio moujaes > > University of Rondonia Brazil > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.democritos.it/pipermail/xcrysden/attachments/20160409/e60f6c96/attachment.htm From dstrubbe at civet.berkeley.edu Sun Apr 10 07:50:42 2016 From: dstrubbe at civet.berkeley.edu (David Strubbe) Date: Sat, 9 Apr 2016 22:50:42 -0700 Subject: [xcrysden] Error when initiating XCrysDEN In-Reply-To: <570935C8.7080607@crimson.ua.edu> References: <570935C8.7080607@crimson.ua.edu> Message-ID: 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 -- https://trac.macports.org/browser/trunk/dports/science/xcrysden/files/patch-Tcl-Viewer.tcl.diff?rev=140738 David On Sat, Apr 9, 2016 at 10:03 AM, Gavin Abo wrote: > On your Windows system: > > What X server are you using [1]? Xming? > Do you have the "Enable X11 Forwarding" box checked in PuTTY [2]? > > On the cluster: > > Is X11 forwarding (like X11Forwarding or ForwardX11 or ForwardX11Trusted) > set to Yes [1,3,4]? > What Mesa (or OpenGL) did you compile XCrySDen with [5]? > Did you try "export LIBGL_ALWAYS_INDIRECT=1" [6,7]? > > [1] > http://superuser.com/questions/119792/how-to-use-x11-forwarding-with-putty/119908#119908 > [2] > https://wiki.utdallas.edu/wiki/display/FAQ/X11+Forwarding+using+Xming+and+PuTTY > [3] > http://lists.mindrot.org/pipermail/openssh-unix-dev/2004-March/020658.html > [4] > https://padraic2112.wordpress.com/2007/07/09/bad-security-201-remote-x-sessions-over-ssh/ > [5] https://trac.macports.org/ticket/41320 > [6] http://www.democritos.it/pipermail/xcrysden/2014-August/001642.html > [7] http://www.straightrunning.com/xmingnotes/trouble.php#head-19 > > > On 4/9/2016 9:14 AM, Elio Physics wrote: > > Dear all, > > > 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: > > > Running on platform : unix > Operating system : Linux > Package ImageMagick's convert: /usr/bin/convert > Package ImageMagick's import: /usr/bin/import > Package Gifsicle: /usr/bin/gifsicle > Package Ppmtompeg: /usr/bin/ppmtompeg > Package Babel: /usr/bin/babel > Package Xwd: /usr/bin/xwd > Executing: /usr/lib64/xcrysden/bin/ftnunit > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 3 (X_GetWindowAttributes) > Resource id in failed request: 0xffffffff > Serial number of failed request: 786 > Current serial number in output stream: 787 > > > Can anyone help me on this? I am using PuTTY to access the cluster where > XCRYSDEN is. > > > Thank you > > > Elio moujaes > > University of Rondonia Brazil > > > _______________________________________________ > XCrySDen mailing list > XCrySDen at democritos.it > http://www.democritos.it/mailman/listinfo/xcrysden > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.democritos.it/pipermail/xcrysden/attachments/20160409/b19f4656/attachment.htm