fixes #4
This commit is contained in:
parent
43de034265
commit
bfa43577d6
@ -28,7 +28,7 @@ systemctl start kodi
|
|||||||
* systemd
|
* systemd
|
||||||
* xorg-server with xorg-xinit
|
* xorg-server with xorg-xinit
|
||||||
|
|
||||||
## Note
|
## Notes
|
||||||
Most users should not `/etc/X11/Xwrapper.config` since the created X server becomes the [controlling process](http://www.freedesktop.org/software/systemd/man/systemd.exec.html#StandardInput=) of the VT to which it is bound. Most users does not mean all users. There have been reports of some AMD users still requiring this file. As well, users of Xorg's native modesetting driver may also require it.
|
Most users should not `/etc/X11/Xwrapper.config` since the created X server becomes the [controlling process](http://www.freedesktop.org/software/systemd/man/systemd.exec.html#StandardInput=) of the VT to which it is bound. Most users does not mean all users. There have been reports of some AMD users still requiring this file. As well, users of Xorg's native modesetting driver may also require it.
|
||||||
|
|
||||||
The recommendation is to first try starting `kodi.service` without it, but if the service fails to start X, you may need to create `/etc/X11/Xwrapper.config` which should contain the following:
|
The recommendation is to first try starting `kodi.service` without it, but if the service fails to start X, you may need to create `/etc/X11/Xwrapper.config` which should contain the following:
|
||||||
@ -36,5 +36,10 @@ The recommendation is to first try starting `kodi.service` without it, but if th
|
|||||||
needs_root_rights = yes
|
needs_root_rights = yes
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Users wishing to run the kodi web service on a privileged port (i.e. <1024) can simply modify `kodi.service` to contain the following line under the `[Service]` section:
|
||||||
|
`AmbientCapabilities=CAP_NET_BIND_SERVICE`
|
||||||
|
|
||||||
|
If installing this manually, that should be all that's needed. If installing from the AUR, to avoid an overwrite, simply copy `kodi.service` (with the modified line) to `/etc/systemd/system` which will take president over the package-provided one.
|
||||||
|
|
||||||
## Credit
|
## Credit
|
||||||
Note that this service was provided by the Arch Linux maintainers of the official kodi package, but was removed upon the [1.16-1 release of Xorg](https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/xbmc&id=9763c6d32678f3a3f45c195bfae92eee209d504f).
|
Note that this service was provided by the Arch Linux maintainers of the official kodi package, but was removed upon the [1.16-1 release of Xorg](https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/xbmc&id=9763c6d32678f3a3f45c195bfae92eee209d504f).
|
||||||
|
Loading…
Reference in New Issue
Block a user