Thinlinc server fails to start Fedora 39

Hello,

Thinlinc server fails to start on a fresh install of Fedora 39.

Failed to start vsmserver.service - ThinLinc VSM server.
vsmserver.service: Failed with result 'exit-code'.
vsmserver.service: Control process exited, code=exited, status=1/FAILURE
ModuleNotFoundError: No module named 'asyncore'
import asyncore
File "/opt/thinlinc/modules/thinlinc/vsm/asyncbase.py", line 21, in <module>
from . asyncbase import AsyncTCPControlServer
File "/opt/thinlinc/modules/thinlinc/vsm/vsmserver.py", line 6, in <module>
from thinlinc . vsm . vsmserver import VSMServer
File "/opt/thinlinc/sbin/vsmserver", line 10, in <module>

Hello macjo and welcome to the ThinLinc community!

I’m afraid the Python version in Fedora 39 removed a component that is critical for ThinLinc. The upcoming version of ThinLinc will resolve this issue, but unfortunately, it’s not possible to use Fedora 39 until then.

Hopefully, Fedora 38 can be sufficient for you until we can get the next version of ThinLinc ready.

2 Likes

Hello macjo,

it is possible to use Thinlinc 4.15 in combination with Fedora 39. It is possible to install additional python versions in fedora. The required module was removed in python 3.12. So you can simply install it with:

# dnf install python3.11

Now you have following options:

  • Adopt thinlinc python executable
    This ist not update persistant.
    # sed -i "s/python3/python3.11/" /opt/thinlinc/libexec/python3
    
  • set python version globally
    side effects possible
    # alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1
    # alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2
    
    you can switch python3 versions with alternatives --config python3

Finally you can start your thinlinc services.

# systemctl start vsmagent vsmserver
1 Like