update to run on vt1
This commit is contained in:
parent
cf7043f813
commit
c649070acf
@ -7,12 +7,12 @@ A simple systemd service file to run kodi in standalone mode.
|
||||
* xorg-server with xorg-xinit
|
||||
|
||||
## Note
|
||||
Most users no longer require `/etc/X11/Xwrapper.config` on the system 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 is not all users. There have been reports of some AMD users still requiring this file. As well, Xorg's native modesetting driver may also require this.
|
||||
Most users no longer require `/etc/X11/Xwrapper.config` on the system 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.
|
||||
|
||||
Again, try the service without it, but if it fails to start, create `/etc/X11/Xwrapper.config` and have it contain a single line:
|
||||
The recommendation is to first try starting `kodi.service` it, but if the service fails to start X, create `/etc/X11/Xwrapper.config` and have it contain the following single line:
|
||||
```
|
||||
needs_root_rights = yes
|
||||
```
|
||||
|
||||
## Credit
|
||||
Credit for the service given to the Arch Linux maintainers of the official kodi package.
|
||||
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).
|
||||
|
@ -1,14 +1,14 @@
|
||||
[Unit]
|
||||
Description=Starts instance of Kodi using xinit
|
||||
After=systemd-user-sessions.service network.target sound.target mysqld.service
|
||||
Conflicts=getty@tty7.service
|
||||
Conflicts=getty@tty1.service
|
||||
|
||||
[Service]
|
||||
User=kodi
|
||||
Group=kodi
|
||||
PAMName=login
|
||||
TTYPath=/dev/tty7
|
||||
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
|
||||
TTYPath=/dev/tty1
|
||||
ExecStart=/usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt1
|
||||
Restart=on-abort
|
||||
StandardInput=tty
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user