![]() |
Linux kodi cant find installed packages when executing commands from commandline - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux kodi cant find installed packages when executing commands from commandline (/showthread.php?tid=379347) |
kodi cant find installed packages when executing commands from commandline - Hulk - 2024-11-04 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.manager/wiki/01.-Installation 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.manager/blob/master/libs/vpnplatform.py Code:
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? RE: SteamDeck Kodi + VPN Manager not working - Karellen - 2024-11-04 @Hulk Sorry, but we don't provide support for VPN setups. That is a 3rd party modification that becomes a nightmare to deal with. RE: SteamDeck Kodi + VPN Manager not working - Hulk - 2024-11-04 i dont need support for that specific addon - i need support with linux/kodi running commands in a commandline. or isnt that an undesired coding practice for kodi? RE: SteamDeck Kodi + VPN Manager not working - Hulk - 2024-11-04 sadly i cant edit my posts - i would edit the topic title to a more describing one - "kodi cant find installed packages when executing commands from commandline" - maybe a mod can change that for me? @Karellen RE: kodi cant find installed packages when executing commands from commandline - Karellen - 2024-11-04 (2024-11-04, 02:37)Hulk Wrote: maybe a mod can change that for me?Done RE: kodi cant find installed packages when executing commands from commandline - izprtxqkft - 2024-11-05 (2024-11-04, 02:24)Hulk Wrote: not sure where to go from here. anyone else with suggestions? if kodi is trying to run commands and returning command not found and it has been verified that the command does indeed exist and is at the path it should be then it would only be logical that the user kodi is running as does not have permission to that command or location i think you need to seek out a steamdeck forum as i'm not sure the help you need exists here instead of finding a kodi user that uses steamdeck, find a steamdeck user that uses kodi basically |