This worked thanks for your helpThanks I will give it a tryI have one of my Raspberry Pis running as, among other things, a Kodi media player. To start Kodi, I SSH in and use:...
I have the same error when I launch kodi with cli commandto send to the background. Like the OP kodi starts and functions fine, but when I close the terminal window it closes kodi. So I do need to fix it so I don't have to leave an active terminal window open while I'm using kodi.Code:
kodi&
...The nohup utility stops the kodi process from being terminated when its parent process terminates. Any output that would normally have gone to the terminal ends up in a file named nohup.out in whichever directory you run the command, in my case /home/andrew.Code:
nohup kodi&
See the man page at:BTW: You don't need pipewire - if you installed Kodi using apt then it automatically pulled in everything it needs to run.Code:
man nohup
(I probably should get around to writing a systemd unit file for kodi so I don't have to do this every time I reboot the Pi).
Statistics: Posted by chewy74 — Tue May 14, 2024 1:03 am