by unformatted » Sun Oct 10, 2021 12:55 pm
Yes I run kodi as my "regular" user using "/usr/bin/kodi-standalone" from the terminal. Actually I use a bash startup script using dialog which gives me a menu with "LXDE" and "Kodi". This way I can start kodi from the menu and when I exit kodi, I'm back in the menu and can start my LXDE desktop session.
Using "sudo systemctl start kodi.service" works but I want to run kodi as my regular user, having .kodi folder in my /home/user folder, not in /root folder.
On my other RPI4 ARMv7 with kodi-rpi 19.1-11 using "/usr/bin/kodistandalone" works. For some reason on AArch64 with linux-raspberrypi4 kernel and kodi-rpi 19.2-1 using "/usr/bin/kodi-standalone" from terminal I cannot control kodi with keyboard or remote anymore.
So can I use "/usr/bin/kodi-standalone" command if I provide my user as you described?
If so, I would have to create "/etc/sysusers.d/sysusers.conf" as follows? I am user and belong to users group.
$this->bbcode_second_pass_code('', '
# override these settings by copying this to /etc/sysusers.d/ and modifying it therein
# Type Name ID GECOS Home directory Shell
g users - -
u user - "Kodi User" /var/lib/kodi
# supplemental groups
m users audio
m users input
m users video
m users disk
m users network
m users optical
m users power
m users storage
m users tty
')