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

Paul Menzel pm.debian at googlemail.com
Tue Aug 22 05:54:20 UTC 2017


Control: reopen -1


Am Montag, den 07.08.2017, 09:25 +0200 schrieb Paul Menzel:

> Am Montag, den 17.04.2017, 19:48 +0200 schrieb Paul Menzel:
> > Package: kodi
> > Version: 2:17.1+dfsg1-2
> > Severity: normal
> 
> […]
> 
> > 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?
> 
> Since package version 2:17.3+dfsg1-2 the upstream service unit is used.
> That works. (Though sometimes it still doesn’t start, but that’s
> probably a different issue due to some race condition.)

No idea, why, but I am getting the error again, and Kodi does not start
with the same error. Maybe some race condition?


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/20170822/d259b6b6/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list