Hello everyone. I would like to know if there is a way to start libreelec without kodi gui only cli. I dont want to spend resources on kodi .. as kodi eats more then half of the ram.
How to start Libreelec without kodi ? only cli
-
verb -
October 11, 2017 at 11:16 AM -
Thread is Unresolved
-
-
You could put a sleep loop in autostart, but what would you use LibreELEC for then?
-
Hi escalade and thanks for the reply . I want to use it as vpn client and maybe run some web server on the box that's why i don't need kodi ( i won't use it as media player) . If i put sleep loop how could i use it at all ? i wont be able to ssh or do whatever ?
-
You could probably run a script when kodi starts, that execute the command "systemctl stop kodi"
-
Hi 2re. Thanks for the repy. Here is the output after issuing "systemctl stop kodi" (the command didn't helped much ) :
CodeLibreELEC:~/install # free -m total used free shared buffers cached Mem: 343 177 166 0 10 101 -/+ buffers/cache: 64 278 Swap: 255 0 255
and here you can find my hw that's why i suppose that libreelec reserves more then half of the ram at boot time. I have even tried to disable starting of kodi with systemctl disable kodi and rest of the kodi services but after reboot they have started again.
-
-
The autostart.sh file is the last thing that's run before Kodi starts, so the system is otherwise fully booted. So creating a sleep loop there will prevent Kodi from starting.
I'm still confused as to what you are going to do next. You realize that LibreELEC is not a standard Linux distribution with a package manager, right? There's no webserver shipped with LibreELEC. There is OpenVPN so you can set up your box as a VPN client, but then what?
-
To stop kodi running at boot, do the following:
touch .config/system.d/kodi.service
To re-enable just delete that file.
-
- Official Post
-
- Official Post
There are probably better operating systems for using an amlogic device as a server.
-
I am sure Armbian has a Linux port for your box. I am running Ubuntu 16.04 on a couple of my arm devices, including one of my Amlogic boxes.
-
You can also add "textmode" to the kernel command line.