Kodi Community Forum

Full Version: Headless Kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Windows 10 uses a newer version of samba I think, try searching for how to enable a lower version in windows 10.
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!
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.
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
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.
yes, gbm takes over the display. You cannot run on or in parallel to X11/Wayland
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
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
Starting kodi-gbm over ssh is currently not working.
See https://forum.kodi.tv/showthread.php?tid...pid2785722
for needed systems service changes to start gbm
thanks! works again now.
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
i noticed there are some gbm patches after last beta, is it worth trying to build from source?
(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.
works again now with rc1, thanks!
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