Coder Social home page Coder Social logo

boot2kodi's Introduction

Boot2Kodi

Note - Feel free to do pull requests. I'm available to add new developments!

Installation of Kodi into Ubuntu Server:

Tested in:

  • 16.04 LTS (Xenial Xerus) - Canonical extended security until April 2026
  • 18.04 LTS (Bionic Beaver) - Canonical extended security until April 2028
  • 20.04 LTS (Focal Fossa) - Canonical extended security until April 2030
  • 22.04 LTS (Jammy Jellyfish) - Canonical extended security until April 2032
  • 24.04 LTS ((Noble Numbat) - Canonical extended security until April 2034

Please let me know if you have tested this and if something failed.

Shell script to install Kodi on a Ubuntu Server and at boot, go straight to Kodi.

The following instructions are based on the lastest version of Ubuntu.

What you need to do:

  1. Install Ubuntu Server with only "OpenSSH Server" option or "Ubuntu Server minimized" (some iso sources)
    1. For 18.04 - "netinstall"
    2. For 22.04 - "server-22.04-iso"
    3. For 24.04 - "server-24.04-iso"
  2. Make sure git is installed or install git by sudo apt install git -y
  3. Clone this repo like git clone https://github.com/abacao/Boot2Kodi.git
  4. cd Boot2Kodi
  5. Run the installation script sudo sh ./install.sh
  6. Reboot

Notes:

  • Memory Issues: In 20.04, the minimum requirement for RAM is 2Gb. In 22.04, the minimum requirement for RAM is 2Gb (4Gb for a physical machine and 2Gb for virtual). In 24.04, the minimum requirement for RAM is 4Gb (for a physical machine or virtual).

If you liked my work, buy me a beer:
BTC:

alt text

1AsjyioL6TkRLxSEfUUQLTBE2jcYDkP2wE

boot2kodi's People

Contributors

abacao avatar honbradev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

boot2kodi's Issues

Screen sleeping after a while

Hey, do you perhaps know how to prevent the screen from sleeping? I do not have this configured within Kodi, so I suspect it might be something to do with the X11 config?

SMB from GUI

Hi!
It's very useful. Thank you!
I'm looking for it as alternative for Libreelec with full functional of ubuntu( For LAMP, Nextcloud, etc)
SMB service from Kodi interface switched ON, but I can't to connect to it from another computer (Win, Mac)

If it helps... I think it's a good idea to make default folders in home dir with write permitions(now i cant make new dir from kodi file manager), like Videos, Downloads, Music, etc and "switching on" SMB from kodi make home dir shared.

Repository

Hello, thank you for script.

Could you include original kodi repository to get newest version?

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install kodi

Could not open webUI

I do not know if this could find you well.
But I am having a trouble to open the webui from a computer under same ip.
After I start kodi service, I could not access to webui even if I change the /home/kodi/.kodi/userdata/guisettings.xml
true
true


true

it is sill not working. and refused me to connect.

Any support on this one?

Unnecessary packages?

Hi,

I'm wondering if these packages are needed:

  • upower
  • xserver-xorg-video-intel

upower seems to only be useful on battery powered system whereas xserver-xorg-video-intel isn't needed except on systems running intel integrated graphics. I should mention that I installed this on a system that only has an ATI GPU, and things seem to work despite not having xserver-xorg-video-radeon.

Support system poweroff via UI

  1. Install upower
$ apt-get install upower
  1. Create file /etc/polkit-1/localauthority/50-local.d/custom-actions.pkla with content:
[Actions for kodi user]
Identity=unix-user:kodi
Action=org.freedesktop.upower.*;org.freedesktop.consolekit.system.*;org.freedesktop.udisks.*;org.freedesktop.login1.*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

This has been verified to work on Ubuntu Server 18.04.1 LTS, just needs to be added to this setup process.

Screen not waking up

Thanks for your work! It's pretty awesome to have a quick and light install of Kodi with Ubuntu Server.

I have the server always on, and it's connectec to a TV. When I go to the TV, the video signal from the server is off, sometimes it comes back just pressing some keys, but usually it doesn't and is necessary to start playing something through Chorus to wake up the screen.

Is there any way to disable the screen sleep function? I think it is not related to Kodi because all the Save Power settings are turned off.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.