Kodi Community Forum
Headless Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Headless Kodi (/showthread.php?tid=212061)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


RE: Headless Kodi - docwra - 2018-09-24

Windows 10 uses a newer version of samba I think, try searching for how to enable a lower version in windows 10.


RE: Headless Kodi - Damien67 - 2018-09-24

Yeah...SMBv1 is enabled on my Win10 machine...
It's weird that only the docker container isn't able to access it. I shared a folder on my kid's Win10 PC for testing, can access it from anywhere except from the container as well, so it has to do with Win10.

I'll dig some more, thanks!


RE: Headless Kodi - Buzzthebuzzsaw - 2018-10-05

Hi All,
I've been using the patches for years to run a headless kodi on a server for updates.
After compiling the kodi-gbm version I'm trying to run the headless option but I can't find how to get it to run.
When started normally it eventually seg faults with:
ERROR: Unable to create GUI. Exiting

I've been able to run it using Ctrl-Alt-F<num> and run it without any display, but it takes over all displays and I can't get back to my normal windowed environment.
Any tips would be great as I'm trying to update the suite of kodi setups I'm using but the server is the critical link before any upgrades.

Thanks,
B.


RE: Headless Kodi - a1rwulf - 2018-10-05

No option needed.
You need to make sure no X is running though.
You can do it like this:
sudo systemctl isolate multi-user.target


RE: Headless Kodi - Buzzthebuzzsaw - 2018-10-05

Does that basically take over all displays?
I'm looking to have it essentially be headless, whilst still being able to use the server for other tasks.

Thanks and Regards,
B.


RE: Headless Kodi - wsnipex - 2018-10-06

yes, gbm takes over the display. You cannot run on or in parallel to X11/Wayland


RE: Headless Kodi - pgjensen - 2018-10-09

I still haven't been able to get GDM to work on my system.  My user is in input, video, audio groups.  My motherboard has built-in video that is an ASUS video card (not INTEL or NVIDIA, which I suspect could be my issue)

I ensured X wasn't running, multi-user, then did:

sudo systemctl isolate multi-user.target
/opt/kodi-server-18.0b3/bin/kodi --no-test --nolirc -p


22:52:45.194 T:140165320243200   DEBUG: Selected UDev as storage provider
22:52:45.195 T:140165320243200    INFO: RetroPlayer[PROCESS]: Registering process control for GBM
22:52:45.195 T:140165320243200    INFO: RetroPlayer[RENDER]: Registering renderer factory for GBM
22:52:45.195 T:140165320243200    INFO: RetroPlayer[RENDER]: Registering renderer factory for OpenGLES
22:52:46.183 T:140164810602240 WARNING: CActiveAE::StateMachine - signal: 22 from port: timer not handled for state: 1
22:52:59.493 T:140165320243200 WARNING: Previous line repeats 13 times.
22:52:59.493 T:140165320243200   ERROR: CWinSystemGbm::InitWindowSystem - failed to initialize Atomic DRM
22:53:00.185 T:140164810602240 WARNING: CActiveAE::StateMachine - signal: 22 from port: timer not handled for state: 1
22:53:13.851 T:140165320243200 WARNING: Previous line repeats 13 times.
22:53:13.851 T:140165320243200   ERROR: CWinSystemGbm::InitWindowSystem - failed to initialize Legacy DRM
22:53:14.187 T:140164810602240 WARNING: CActiveAE::StateMachine - signal: 22 from port: timer not handled for state: 1
22:53:28.163 T:140165320243200 WARNING: Previous line repeats 13 times.
22:53:28.163 T:140165320243200   ERROR: CWinSystemGbm::InitWindowSystem - failed to initialize off screen DRM
22:53:28.163 T:140165320243200   FATAL: CApplication::Create: Unable to init windowing system


RE: Headless Kodi - marantz - 2018-10-26

after upgrading with ubuntu ppa on ubuntu 18 to beta4 I get 

ERROR: /dev/pts/8 is not a vt
ERROR: Unable to create GUI. Exiting


RE: Headless Kodi - Rechi - 2018-10-26

Starting kodi-gbm over ssh is currently not working.


RE: Headless Kodi - wsnipex - 2018-10-26

See https://forum.kodi.tv/showthread.php?tid=336825&pid=2785722#pid2785722
for needed systems service changes to start gbm


RE: Headless Kodi - marantz - 2018-10-27

thanks! works again now.


RE: Headless Kodi - marantz - 2018-11-05

After tonights upgrade to beta5 it broke again.

here is log http://paste.ubuntu.com/p/6qWffDHRhY/
Im using the startup script provided two posts earlier in this thread.

thanks for any help


RE: Headless Kodi - marantz - 2018-11-13

i noticed there are some gbm patches after last beta, is it worth trying to build from source?


RE: Headless Kodi - a1rwulf - 2018-11-13

(2018-11-13, 10:59)marantz Wrote: i noticed there are some gbm patches after last beta, is it worth trying to build from source?
 https://github.com/xbmc/xbmc/pull/14821 should make it work again.
You can wait for RC or build from source.


RE: Headless Kodi - marantz - 2018-11-22

works again now with rc1, thanks!