2024-11-04, 02:24
Code:
i have installed kodi on my steamdeck and it works realy well. i installed the vpn manager addon: https://github.com/Zomboided/service.vpn...stallation
For that addon to work it needs openpvn installed and running (see installation instructions) wich i have - verified it by entering "openvpn" in my cmd and it gave me an output how to use the program
If i try to use the addon it says that it cant find / run openvpn. Since i am a developer myself (but not for linux or python) i looked into the code and found the corresponding code. The code in question is:
https://github.com/Zomboided/service.vpn...latform.py
Code:
command = openvpn+ " > " + getVPNLogFilePath() + " 2>&1 &"
os.system(command)
so it basicly tryed to execute openvpn in a new command window - wich fails.
i modified the code to test wich user a new command windows uses: its deck, the default user for the steam deck and the same user i used to verify that openvpn works.
after that i tryed to use the full path to open vpn: /usr/bin/openvpn wich got me a file/folder not found
then i tryed to use echo <mypassword> | sudo openvpn wich gave me a "sudo command not found"
so it seems that the os.system command cant find any installed packages (i also tryed subsystem and got the same result)
only a simple ls -l gave me an expected result
i also tryed to run kodi with sudo wich also didnt change the result
i dont think its an addon problem, because any similiar working addon should have the same problem. i think its more a python / linux problem.
not sure where to go from here. anyone else with suggestions?