Package Details: kodi-standalone-service 1.135-1

Git Clone URL: (read-only, click to copy)
Package Base: kodi-standalone-service
Description: Systemd services to run kodi in stand-alone mode without a DE
Upstream URL:
Licenses: MIT
Replaces: kodi-standalone-gbm-service, kodi-standalone-wayland-service, kodi-standalone-x11-service
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 65
Popularity: 0.60
First Submitted: 2014-11-05 20:25
Last Updated: 2022-01-18 12:27

graysky commented on 2016-01-02 19:12

@epinephrine - That is not needed. Confirmed on a fresh install just now. Upon rebooting into it, I was greeted with kodi with no additional setup.

I suspect you are missing something with regard to your ati drivers... unless the ATI drivers for some reason require that file which would surprise me. I have not ATI hardware for testing.

mount /dev/sda4 /mnt/mini
pacstrap -i /mnt/mini base xf86-video-intel kodi kodi-standalone-service
echo "LABEL=mini / ext4 defaults,relatime 0 1" >> /mnt/mini/etc/fstab
echo mini > /mnt/mini/etc/hostname
sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /mnt/mini/etc/locale.gen
echo "LANG=en_US.UTF-8" > /mnt/mini/etc/locale.conf

arch-chroot /mnt/mini /bin/bash
sed -i '/^MODULES/ s,"","i915",' /etc/mkinitcpio.conf
mkinitcpio -p linux
systemctl enable kodi

sebstar commented on 2016-01-02 17:07

Just want to mention that I also needed the Xwrapper.config file with 'needs_root_rights = yes'. I use the ati drivers and have a minimal X installation, i.e., the only xorg related software that I installed is kodi.

Maybe this package should include the Xwrapper.config file or at least a post-installation comment that this file might be needed.

tetris11 commented on 2015-12-17 15:40

After uninstalling and reinstalling I can't seem to recreate the error message. Sorry, ignore please. Works well, as expected.

graysky commented on 2015-12-17 12:33

@tetris - Shouldn't have anything to do with deps as everything it needs is already a dep. Not sure why you have an error... is the error keeping kodi from launching since you say, "kodi.service itself seems to run fine" I do not understand.

Error = break ; warning = still runs.

tetris11 commented on 2015-12-17 12:26

Upon starting the service I'm getting:

Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)

The kodi.service itself seems to run fine.

My desktop is literally just xinit and metacity, so maybe it's just a complaint about not finding gnome/kde?

graysky commented on 2015-11-21 12:53

@hendry - Your log shows you're running this on an ARM processor. I implicitly defined only i686 and x86_64 for this package because kodi on Arch ARM has its own implementation of the standalone service. Recommend that you remove this package on that device.

hendry commented on 2015-11-21 10:51

On my alarm rpi2:

10:44:38 T:1945907792 ERROR: Failed to choose a config 12288
10:44:38 T:1945907792 ERROR: Failed to query native visual id
10:44:38 T:1945907792 ERROR: Failed to find matching visual

Any ideas what's that about?

graysky commented on 2015-10-18 19:49

I can't explain. I just tested on a new partition (with kodi-standalone-service in a local repo). After configuring the root passwd, network, etc. and enabling kodi.service, it booted right into it.

# pacstrap -i /mnt base sudo kodi-standalone-service xf86-video-intel

bananabrain commented on 2015-10-18 18:47

Sorry for the delay in replying. I still have this problem of being unable to start the kodi service without an Xwrapper.config file in place. Yes, I have the xf86-video-ati driver installed and have used this machine with an X environment in the past without issue. It would be good to know what's missing from a machine with just the basic xorg system and graphics card driver that prevents the kodi service from working as expected, but I haven't been able to work this out for myself.

Manually running "systemctl start kodi" puts the following into the journal (time stamps and hostname removed):

polkitd[434]: Registered Authentication Agent for unix-process:444:5962 (system bus name :1.6 [/usr/bin/pkttyagent --notify-fd 4 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)

systemd[1]: Started Starts instance of Kodi using xinit.

polkitd[434]: Unregistered Authentication Agent for unix-process:444:5962 (system bus name :1.6, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from bus)

systemd[450]: pam_unix(login:session): session opened for user kodi by (uid=0)

systemd[1]: Created slice user-420.slice.

systemd[1]: Starting User Manager for UID 420...

systemd-logind[313]: New session c3 of user kodi.

systemd[1]: Started Session c3 of user kodi.

systemd[453]: pam_unix(systemd-user:session): session opened for user kodi by (uid=0)

systemd[453]: Reached target Timers.

systemd[453]: Listening on D-Bus User Message Bus Socket.

systemd[453]: Reached target Sockets.

systemd[453]: Reached target Paths.

systemd[453]: Reached target Basic System.

systemd[453]: Reached target Default.

systemd[453]: Startup finished in 48ms.

systemd[1]: Started User Manager for UID 420.

graysky commented on 2015-09-21 21:44

No, that isn't it. I see on some other minimal boxes that particular driver is not installed. Have you installed a video driver?