i recently installed xcrysden 1.6.2-4 in ubuntu 22.04 however it doesn't open neither from the show applications or from the terminal.
if i run the command xcrysden &
via the terminal,it shows the following error
|*****************************************************************||* *||* XCrySDen -- (X-Window) CRYstalline Structures and DENsities *||* = === = === *||*---------------------------------------------------------------*||* *||* Anton Kokalj (tone.kokalj@ijs.si) *||* Jozef Stefan Institute, Ljubljana, Slovenia *||* *||* Copyright (c) 1996--2019 by Anton Kokalj *||* *||*****************************************************************|+-----------------------------------------------------------------+ Version: 1.6.2 Please report bugs to: tone.kokalj@ijs.si TERMS OF USE: ------------- XCRYSDEN is released under the GNU General Public License. Whenever graphics generated by XCRYSDEN are used in scientific publications, it shall be greatly appreciated to include an explicit reference. The preferred form is the following: [ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999. Code available from http://www.xcrysden.org/.XCRYSDEN_TOPDIR=/usr/share/xcrysdenXCRYSDEN_SCRATCH=/tmpRunning on platform : unix Operating system : LinuxPackage ImageMagick's convert: /usr/bin/convertPackage ImageMagick's import: /usr/bin/importPackage Ppmtompeg: /usr/bin/ppmtompegPackage Xwd: /usr/bin/xwdExecuting: /usr/lib/xcrysden/ftnunitError 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)
i tried removing it and re-installing or checking the packages needed to run it but the same problem persists.