[xcrysden] Xcrysden not opening

sumit shah dmatsumit123 at gmail.com
Tue Mar 4 05:38:17 CET 2025


Dear all,
I have  installed xcrysden from the package manager. However, it blinks and
disappears when I open it showing following error message;

XCRYSDEN_TOPDIR=/usr/share/xcrysden
XCRYSDEN_SCRATCH=/tmp

Running on platform : unix
   Operating system : Linux
Package ImageMagick's convert: /usr/bin/convert
Package ImageMagick's import: /usr/bin/import
Package Ppmtompeg: /usr/bin/ppmtompeg
Package Xwd: /usr/bin/xwd
Executing: /usr/lib/xcrysden/ftnunit
Error in startup script:
Couldn't configure togl widget
    while executing
"togl .mesa  -width          400  -height         400  -ident
 .mesa  -rgba           $toglOpt(rgba)           -redsize
 $toglOpt(redsize..."
    (procedure "PlaceGlobWin" line 107)
    invoked from within
"PlaceGlobWin 0 [expr round(670 * $fac1)] [expr round(670 * $fac1)]"
    (procedure "ViewMol" line 25)
    invoked from within
"ViewMol ."
    invoked from within
"if { [llength $argv] > 2 } {
    parseComLinArg [lrange $argv 2 end]
} else {
    ViewMol .
}"
    (file "/usr/share/xcrysden/Tcl/xcInit.tcl" line 633)
How can I fix this issue? I am using the 24.04 version of ubuntu. Please
advise me.

Regards,
Shyam Sharma
M.Sc Physics, Tribhuvan University, Nepal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20250304/c41666e6/attachment.htm 


More information about the XCrySDen mailing list