I just did a fresh install of opensuse 42.1 minimal server option on my C2D E5200, 4GB RAM with Geforce 210. I’m trying to install a bare minimum server (no desktop environment) to only run Kodi.
After installing opensuse, I installed xorg-x11-server (and all it’s dependencies), xinit, and lastly I installed Kodi from packman repo.
Whenever, I try to run kodi --standalone, it errors out with Unable to initialize gui. However when i use “sudo startx”, it runs kodi just fine. Hence, in order to start Kodi on startup, i used the command; /usr/bin/startx and placed in /etc/init.d/after.local file.
I get a feeling that this is not the proper of doing it and typing kodi --standalone should start kodi not startx.
In any case, why does startx automatically starts kodi??
I would prefer to start kodi thru systemd.
Rather than mucking around with after.local file.