Posts: 10,474
Joined: Oct 2011
Reputation:
628
jjd-uk
Team-Kodi Member
Posts: 10,474
2018-07-09, 13:10
(This post was last modified: 2018-07-09, 13:10 by jjd-uk.)
I don't know the technical details of the code, but I suspect the main benefit of what a1rwulf has done is better for stability as Kodi is built around having an active display device on when using Kodi and from what I understand what this does is fool Kodi into thinking there is still a real display device connected when headless or the connected display is off, the headless patch discussed here is a more quick and dirty hack which is why it's never made it into the code.
Posts: 416
Joined: Oct 2014
Reputation:
16
a1rwulf
Team-Kodi Member
Posts: 416
fyi - my PR has been merged.
Posts: 1,746
Joined: Nov 2014
Reputation:
160
docwra
Posting Freak
Posts: 1,746
Fantastic How do we test?
What improvements can we expect when running headless?
Posts: 416
Joined: Oct 2014
Reputation:
16
a1rwulf
Team-Kodi Member
Posts: 416
2018-07-17, 06:21
(This post was last modified: 2018-07-17, 13:32 by a1rwulf.)
In this case I think you'll need to wait until our dependencies are properly untangled and we can officially make gui optional.
Posts: 283
Joined: Feb 2014
Reputation:
3
I see, are you able to do a quick write up on how to do this?
best regards
marantz
Posts: 7,640
Joined: Jun 2011
Reputation:
285
install kodi-gbm from the nightly PPA and run kodi from a shell without X running.
Posts: 1,255
Joined: Sep 2004
Reputation:
27
Have you thought about installing Addons via WebIF (Chorus2) or if there already a FR for it?
You can already configure Addons via WebIF.
That would make configuring a headless server much easier
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Posts: 416
Joined: Oct 2014
Reputation:
16
a1rwulf
Team-Kodi Member
Posts: 416
Please post a full debug log.
And what's your hw spec?