"dnf search libxss" shows that the missing package on RHEL/CentOS/Rocky/Alma 9 is the libXScrnSaver package.   So someone needs to install that package.   If you are a system administrator for that computer, run "sudo dnf install libXScrnSaver".

And remember, Chimera is no longer being developed or supported (except for easy things like this).  If you can, you should switch to ChimeraX.

    HTH,

    Greg

On 3/23/2024 12:48 PM, Evan Kantrowitz via Chimera-users wrote:
Hi All,

    I am trying to move our viewmotions.bc.edu server to a new server running Centos 9.  I downloaded the most recent chimera (chimera-1.17.3-linux_x86_64.bin).  Followed the install procedure with no issues.

When I ran chimera I got these errors, both in commandline mode or regular. Any help would be appreciated.

Thanks

kantrow@localhost ~/vm_test]$ chimera --preferences /data/viewmotions/lib/chimeraVMPreferences --script chimera_script.py

Traceback (most recent call last):
  File "/progs/share/__main__.py", line 73, in <module>
    value = chimeraInit.init(sys.argv)
  File "/progs/share/chimeraInit.py", line 680, in init
    import chimera
  File "/progs/share/chimera/__init__.py", line 2782, in <module>
    from SimpleSession import BEGIN_RESTORE_SESSION, END_RESTORE_SESSION
  File "/progs/share/SimpleSession/__init__.py", line 14, in <module>
    from save import saveSession, sessionID, noAutoRestore, autoRestorable, \
  File "/progs/share/SimpleSession/save.py", line 13, in <module>
    from chimera import replyobj, selection, SessionPDBio, version
  File "/progs/share/chimera/replyobj.py", line 24, in <module>
    import Tkinter
  File "/progs/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libXss.so.1: cannot open shared object file: No such file or directory



-----------------------------------------------------------------------------
Evan R. Kantrowitz, Ph.D                                               evan.kantrowitz@bc.edu
Emeritus Professor of Chemistry                                    Cell: 617-775-9915
Boston College                                                              www2.bc.edu/evan-kantrowitz                  
-----------------------------------------------------------------------------


_______________________________________________
Chimera-users mailing list -- chimera-users@cgl.ucsf.edu
To unsubscribe send an email to chimera-users-leave@cgl.ucsf.edu
Archives: https://mail.cgl.ucsf.edu/mailman/archives/list/chimera-users@cgl.ucsf.edu/