2016-07-08, 17:53
If I start kodi on boot with systemd I can't select my correct sound device. Doesn't even list it. If I disable the service and boot to gnome then start kodi I can see and select the correct sound device. I have purged pulse audio and disabled it in /etc/pulse/client.conf per this.
kodi.service I am using
Using Gnome ubuntu 16.04, Graphics card is a geforce950 with hdmi and updated drivers. As I type this from work I am thinking I should look in dmesg. Been awhile since I've had to tinker in the loonix world. Anyways if you have some thoughts feel free to let me know.
Thanks
EDIT: I should check if alsa-utils is installed first.
kodi.service I am using
Code:
[Unit]
Description = Kodi Media Center
# if you don't need the MySQL DB backend, this should be sufficient
After = systemd-user-sessions.service network.target sound.target
# if you need the MySQL DB backend, use this block instead of the previous
# After = systemd-user-sessions.service network.target sound.target mysql.service
# Wants = mysql.service
[Service]
User = adam
Group = adam
Type = simple
#PAMName = login # you might want to try this one, did not work on all systems
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
Restart = on-abort
RestartSec = 5
[Install]
WantedBy = multi-user.target
Using Gnome ubuntu 16.04, Graphics card is a geforce950 with hdmi and updated drivers. As I type this from work I am thinking I should look in dmesg. Been awhile since I've had to tinker in the loonix world. Anyways if you have some thoughts feel free to let me know.
Thanks
EDIT: I should check if alsa-utils is installed first.