Bug#860486: Systemd service unit fails with permission error in X.Org Server

Paul Menzel pm.debian at googlemail.com
Mon Apr 17 17:48:58 UTC 2017


Package: kodi
Version: 2:17.1+dfsg1-2
Severity: normal


Dear Debian folks,


After having added the user *kodi* with `sudo adduser kodi`, then
trying to start Kodi using the systemd service unit [1] with `sudo
systemctl start kodi.service`, Kodi doesn’t start, as the X.Org Server
quits with a fatal error.

```
(EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
```

The page *HOW-TO:Autostart Kodi for Linux* in the Kodi Wiki [2]
suggests to run `sudo dpkg-reconfigure x11-common`, but that doesn’t do
anything on the system here.

Is something else needed, to get the systemd service unit working?


Thanks,

Paul


[1] https://sources.debian.net/src/kodi/2:17.1%2Bdfsg1-2/debian/kodi.service/
[2] http://kodi.wiki/view/HOW-TO:Autostart_Kodi_for_Linux#Add_a_new_systemd_script
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170417/e600471c/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list