You are not logged in.

#1 2020-12-16 14:59:38

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

systemd unit help: start Xorg and run kodi-standalone

I built/maintain the kodi-standalone-service package.  I would like to implement a suggestion made by schard quoted below to have two service units:
1. Start Xorg running as a non-privileged user
2. Start kodi-standalone in that xorg as the same non-privileged user

In this thread, schard suggested the following:

schard wrote:

I just realized that you don't actually run kodi in the systemd unit, but X.
I'd suggest that you change your architecture of systemd units accordingly, so that one unit runs the X-Server and another unit runs kodi on it.
This way you have full control over the respective programs without running into side effects like this.


I am a bit over my head with Xorg.  First question is how to start Xorg running as the kodi user in a service.  Second question is how to run kodi-standalone in the running Xorg all from a systemd service unit.

For reference, here is how am I doing it with a single service unit: https://github.com/graysky2/kodi-standa … 11.service

Last edited by graysky (2020-12-16 15:03:01)

Offline

Board footer

Powered by FluxBB