Archive:Kodibuntu: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Kiwis3
No edit summary
No edit summary
 
(194 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{XBMC wiki toc Inline}}
{{outdated}}
__NOEDITSECTION__


'''XBMC Live''' is the [http://xbmc.org XBMC Media Center] software bundled with an embedded operating-system, all pre-packaged for that set-top-box feeling. XBMC Live also lets you easily boot to the XBMC Live CD in order to demo XBMC Media Center for your friends and family on practically any relatively modern computer, (as long as it was manufactured in the last 5-years or so it should meet the XBMC's minimum requirements).
{{divbox|red||'''Note:''' This Wiki page is outdated and Kodibuntu is not supported anymore. Therefore Kodibuntu is not available anymore at the download page}}


__TOC__
<section begin="intro" />Kodibuntu is a combination Kodi/operating system for use on PCs that are mainly just running Kodi. It is an alternative to installing Windows or a larger (and sometimes more complicated) Linux-based OS.<section end="intro" />


==What is XBMC Live?==
== Hardware requirements ==
XBMC Live is a boot-CD with [http://xbmc.org XBMC Media Center] pre-configued to work directly out-of-the-box without touching the users harddrive for demo purposes. Once booted, XBMC Live will give the user the option to either just run it as a demo from only the CD (not touching your harddrive) or do a permanent installation of XBMC Live complete with embedded operating-system onto a 2GB (or larger) USB-flash-memory-stick or your internal harddrive for a dedicated set-top-box style installation of XBMC, currently with Microsoft's Windows MCE (Media Center Edition) Remote with USB IR-receiver receiver dongle as the default supported controller which is supported directly out-of-the-box.
{{see also|Supported hardware}}


When installed onto a USB flash drive or hard disk drive XBMC Live has the ability to save settings and make updates to XBMC Media Center and the operating-system back onto the USB flash drive or hard disk drive that it is installed onto, this is not possible when running XBMC Live from a Live CD booting from a CD-ROM disc as they are read-only and any changes settings are only temporarily saved until the system is rebooted.
Kodibuntu should work with the general hardware requirements for Linux:
{{Collapse top|Click to show hardware requirements -->}}
{{#lst:Supported hardware|Linux}}
{{Collapse bottom}}


==XBMC Live minimum and recommended hardware requirements==
== Installing ==
*x86 (Intel/AMD-based) processor computer capable of booting to CD-ROM.
Kodibuntu comes in an ISO form that can be written to a USB drive or burned to an optical disc.
**[http://en.wikipedia.org/wiki/Pentium_4 Intel Pentium 4], [http://en.wikipedia.org/wiki/Pentium_M Intel Pentium M], [http://en.wikipedia.org/wiki/Athlon_64 AMD Athlon XP/64], [http://en.wikipedia.org/wiki/Opteron AMD Opteron], or newer CPU (that support [http://en.wikipedia.org/wiki/Streaming_SIMD_Extensions SSE]).
**Very fast modern dual-core processor is required to decode H.264 videos in FullHD (1080p).
**For clarification; XBMC Live does not work on the Xbox game-console.
*[http://en.wikipedia.org/wiki/Radeon ATI/AMD], [http://en.wikipedia.org/wiki/Intel_GMA Intel], or [http://en.wikipedia.org/wiki/GeForce NVIDIA] (recommended) graphic controller which supports [[XBMC for Linux specific FAQ|OpenGL 1.4 or later (2.0 recommended)]].
**[http://en.wikipedia.org/wiki/Radeon ATI Radeon R420 (X800)] or newer supported, [http://en.wikipedia.org/wiki/Radeon ATI Radeon R700 (HD 4000)] or newer recommended.
**[http://en.wikipedia.org/wiki/Intel_GMA Intel GMA 950 (945G)] or newer supported, [http://en.wikipedia.org/wiki/Intel_GMA Intel GMA X4500HD (G45)] or newer recommended.
**[http://en.wikipedia.org/wiki/GeForce NVIDIA GeForce 6-Series] and newer supported, [http://en.wikipedia.org/wiki/GeForce GeForce 8-Series] and newer recommended.
*Optional is to install to a 2GB (or larger) [http://en.wikipedia.org/wiki/USB_flash_drive USB-flash-drive] or internal harddrive.
**If you like to install XBMC Live to USB then note that it [http://www.u3.com/uninstall/default.aspx can not still have U3 software on it (so uninstall that first)].
**Larger than 2GB is if you have a lot of media as covers are cached on it.


==How To Install XBMC Live==
Download the current stable Kodibuntu image from: '''<code>http://kodi.tv/download/</code>'''
Installing XBMC Live to an external disk or USB flash drive can be accomplished in three simple steps.


Before installing XBMC Live to USB device (hard drive or flash drive) it is highly recommended that any USB drives other than the one being used for installation be unplugged to prevent the accidental overwrite of data on other drives. Installing XBMC Live will format the selected drive and erase all data on the drive prior to installation.
The Complete installation guide can be found here: [http://howtouselinux.net/kodi-linux-part-1/ Kodi Linux - The Complete Guide]
{{note|
* Kodibuntu has only one iso image file for all x86 computers, regardless of GPU.
* Currently, only a '''64-bit''' version is available, but this should cover the vast majority of users.
* A pre release 32bit exists in mirrors with unstable ppa and RC candidate Kodi, which can be upgraded to stable kodi
* There will be no separate Kodibuntu release for Kodi 15.x as it's based on the same OS. To get Kodi 15.x on Kodibuntu, just upgrade the software as suggested below}}


# Download the XBMC Live ISO image from [http://xbmc.org/download/ XBMC Downloads] and burn it to a CD-R/RW.
== Updating ==
# Disconnect all USB storage devices other than the drive intended for installation.
Current Kodibuntu is based on a LTS release (long term release) which is supported for 5 years, this means that it isn't required to upgrade the OS base in order to obtain updated or upgraded application packages.
# Boot your computer using the XBMC Live disc you just created and follow the instructions on the screen. In some cases you may need to change settings in the BIOS of your computer in order to boot to a CD. For more information on booting from a CD, read the About.com article [http://pcsupport.about.com/od/tipstricks/ht/bootcddvd.htm "How to Boot from CD or DVD"].
*When prompted it is recommended that you elect not to set the permanent storage area to "None."


===Username and password to the underlying OS environment===
=== How to upgrade Kodi ===
Username and password to the underlying OS environment are not needed by average users of XBMC Live, but here they are just in case you want to dig into the (very) advanced possibilities that are available.  The default username and password are listed below, but during installation, you will be able to change these to your own username and password.  We reccommend that you write down the username and password you have chosen, and store it away in a safe place;
{{main|HOW-TO:Install Kodi for Linux#Upgrading}}
Username: '''xbmc'''
{{#lst:HOW-TO:Install Kodi for Linux|Ubuntu upgrade}}
Password: '''xbmc'''


==Benefits and Limitations of XBMC Live==
=== When to upgrade the OS ===
The limitations of XBMC Live differs if you are only running it as a Live CD bootable CD-ROM disc or if you have installed XBMC Live to a USB flash drive or a hard disk drive, this is because when running XBMC Live as a Live CD it can not save any changes past a reboot of the system.


====XBMC Live running as Live CD====
See [https://wiki.ubuntu.com/Releases Current Ubuntu releases] if your current distro is listed under End of life table, you will need to upgrade your OS to a supported release.
*Since a Live CD is booted from read-only media, it requires either installation to rewriteable media (i.e. a USB flash drive or hard disk drive) or complete remastering to install additional software or modify the existing files.


====XBMC Live installed on USB or HDD====
*Some computers, particularly older ones, may not have a BIOS that supports USB booting. Many which do support USB booting may still be unable to boot the device in question. In these cases a computer can often be "redirected" to boot from a USB device through use of an [http://www.pendrivelinux.com/2007/11/21/use-a-floppy-to-boot-usb-pendrive-linux/ initial bootable CD or floppy disk] for live USB installs.


*In contrast to the Live CD, the data contained on the booting device can be changed and additional data stored on the same device. This allows for Live USB/HDD to be used as personal storage, as it allows a user to carry their preferred operating system, applications, and configuration as well as personal files with them, making it easy to share a single system between multiple users.
== Basic use ==


*The absence of moving parts in USB flash devices allows for faster seek time than is possible with hard drives or optical media, meaning all programs will start faster from a USB flash drive than from a local hard disk or Live CD. However, as USB devices typically achieve lower data transfer rates than internal hard drives, booting from a computer lacking USB 2.0 support can sometimes be very slow compared to booting from a internal hard disk drive.
=== Desktop mode ===


*Due to the additional write cycles that occur on a full-blown installation to a USB flash drive, the life of the USB flash drive may be slightly reduced. This usually does not apply to systems particularly designed for live systems which keep all changes in RAM until the user logs off, and XBMC Live developers have done their best to try to prevent this from happening.
Kodibuntu can boot directly into Kodi or it can also boot into a desktop mode for using applications such as a web browser.


==XBMC Live Development==
In order to enter desktop mode, follow those steps below:
Great, so you think that you would like to help with the development or XBMC Live?
<gallery widths=500px heights=313px>
===Concept===
File:kodi-exit.png|'''Step 1:''' ''Exit'' Kodi.
The idea is to package XBMC for Linux with a stripped version of an existing [http://en.wikipedia.org/wiki/Linux_distribution Linux distribution] as a bootable [http://en.wikipedia.org/wiki/LiveDistro LiveDistro (a.k.a. Live CD)], (the alternative would be our very own custom Linux distribution which is not exactly realistic). By doing this XBMC should be able to be installed onto any [http://en.wikipedia.org/wiki/USB_flash_drive USB flash drive] or harddisk drive using this [http://en.wikipedia.org/wiki/LiveDistro LiveDistro (a.k.a. Live CD)] on the target device. Note that even though a custom version of the [http://en.wikipedia.org/wiki/Linux_distribution Linux distribution], (meaning stripped for XBMC use only), the currently plan is still to try to use a vanilla kernel, (as long as that is possible).
File:kodi-session.png|'''Step 2:''' Select ''Lubuntu'' and enter your ''username'' and ''password''.
===Operating-System===
</gallery>
XBMC Live 'Dharma' (10.1) is currently based on the [http://en.wikipedia.org/wiki/Ubuntu Ubuntu 10.04.2 LTS], that is, it is Linux based. The operating-system has completely been hidden away on purpose, the point is to create set-top-box feeling with as close to instant-on boot as possible, (similar to that of a stand-alone DVD-player or video game-console). The end-user should not need to know which operating-system it is running on, or even that it is running on an operating-system at all, for that matter.


====Optimizing the (perceived) boot time of the XBMC Live distro====
The username may differ from the one you supplied during installation. So please be aware, that "xbmc" (as shown in the screenshot) might not be the username you will see and/or have to use.  
Based on the XBMC Community Forum discussion [http://forum.xbmc.org/showthread.php?t=27571 here (link)] we have started a article here in the XBMC Online Manual wiki on how to [[HOW-TO improve the (perceived) boot time on a general Linux distribution]]. Please refer to that [[HOW-TO improve the (perceived) boot time on a general Linux distribution|wiki article]] and the [http://forum.xbmc.org/showthread.php?t=27571 XBMC Community Forum thread] for ideas and discussion about how to improve the (perceived) startup time of XBMC Live from a cold boot (whether from Live CD, Live USB, or from a harddrive installation of XBMC Live, or any other Linux distro for that matter).


===XBMC Media Center===
{{note|If you last booted directly or switched to desktop and shutdown the HTPC while in desktop, on next reboot you will get the last used session by default.}}
XBMC Live contains [[XBMC for Linux]] compiled with the 'standalone' mode, this enabled certain functions that are not available in normal XBMC installations (Windows, Mac Linux), these functions include Power Management, and Network Management.<br><br><br>


<big>External links to other guides</big>
To return to Kodi, '''logout''', select '''Kodi''' as session in the top-right pulldown menu and enter your ''username'' and ''password'' again.
*[http://www.mini-itx.com/projects/xbmc-ion/ Easy XBMC Live installation instructions (covers USB and HDD installation) Now updated to Version 10.0]


==References==
=== Login ===
{{reflist}}
To login to the command line interface press {{keypress|Ctrl|Alt|F1 - F6 }} or connect over [[SSH]] by using usernamne and password supplied during installation.


[[category:Installation]]
{{note|For the use of {{keypress|Ctrl|Alt|F1 - F6 }} no username and password is required. You are logged in directly to the command line.}}
[[category:Inner Workings]]
 
[[category:Development]]
 
[[category:Linux]]
=== Media center ===
[[category:XBMC Live]]
Kodibuntu contains [[Linux|Kodi for Linux]] compiled with the 'standalone' mode, this enabled certain functions that are not available in normal Kodi installations (Windows, Mac Linux), these functions include Power Management, and Network Management.
[[category:To-Do]]
 
=== Using desktop mode ===
Chromium is included for web browsing and can be found in the start menu.
 
In Systems / Package Manager tools - you can install other applications for your specific needs.
 
==Other Uses==
 
 
===KodiBuntu VNC Server===
 
https://help.ubuntu.com/community/VNC/Servers
 
*Install x11vnc
*Set password
**x11vnc -storepasswd
*Test connection by running manual start command.
x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared
 
 
Have x11vnc start automatically via upstart in any environment (<=Utopic)
sudo nano /etc/init/x11vnc.conf
 
# description "Start x11vnc at boot"
description "x11vnc"
start on runlevel [2345]
stop on runlevel [^2345]
console log
respawn
respawn limit 20 5
exec /usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared
 
 
 
 
== See also ==
* [[Linux]]
* [[HOW-TO:Install Kodi for Linux]]
* [[JeOS implementations for Kodi]]

Latest revision as of 07:42, 18 June 2020

Time.png THIS PAGE IS OUTDATED:

This page or section has not been updated in a long time, no longer applies, refers to features that have been replaced/removed, and/or may not be reliable.

This page is only kept for historical reasons, or in case someone wants to try updating it.

Kodibuntu is a combination Kodi/operating system for use on PCs that are mainly just running Kodi. It is an alternative to installing Windows or a larger (and sometimes more complicated) Linux-based OS.

Hardware requirements

Kodibuntu should work with the general hardware requirements for Linux:

Installing

Kodibuntu comes in an ISO form that can be written to a USB drive or burned to an optical disc.

Download the current stable Kodibuntu image from: http://kodi.tv/download/

The Complete installation guide can be found here: Kodi Linux - The Complete Guide

Note:

  • Kodibuntu has only one iso image file for all x86 computers, regardless of GPU.
  • Currently, only a 64-bit version is available, but this should cover the vast majority of users.
  • A pre release 32bit exists in mirrors with unstable ppa and RC candidate Kodi, which can be upgraded to stable kodi
  • There will be no separate Kodibuntu release for Kodi 15.x as it's based on the same OS. To get Kodi 15.x on Kodibuntu, just upgrade the software as suggested below

Updating

Current Kodibuntu is based on a LTS release (long term release) which is supported for 5 years, this means that it isn't required to upgrade the OS base in order to obtain updated or upgraded application packages.

How to upgrade Kodi

To update Kodi when a new version is released, just do a general system/package or use the following commands in the terminal (or via SFTP):

sudo apt update
sudo apt upgrade --with-new-pkgs


When to upgrade the OS

See Current Ubuntu releases if your current distro is listed under End of life table, you will need to upgrade your OS to a supported release.


Basic use

Desktop mode

Kodibuntu can boot directly into Kodi or it can also boot into a desktop mode for using applications such as a web browser.

In order to enter desktop mode, follow those steps below:

The username may differ from the one you supplied during installation. So please be aware, that "xbmc" (as shown in the screenshot) might not be the username you will see and/or have to use.

Note: If you last booted directly or switched to desktop and shutdown the HTPC while in desktop, on next reboot you will get the last used session by default.

To return to Kodi, logout, select Kodi as session in the top-right pulldown menu and enter your username and password again.

Login

To login to the command line interface press Ctrl+Alt+F1 - F6 or connect over SSH by using usernamne and password supplied during installation.

Note: For the use of Ctrl+Alt+F1 - F6 no username and password is required. You are logged in directly to the command line.


Media center

Kodibuntu contains Kodi for Linux compiled with the 'standalone' mode, this enabled certain functions that are not available in normal Kodi installations (Windows, Mac Linux), these functions include Power Management, and Network Management.

Using desktop mode

Chromium is included for web browsing and can be found in the start menu.

In Systems / Package Manager tools - you can install other applications for your specific needs.

Other Uses

KodiBuntu VNC Server

https://help.ubuntu.com/community/VNC/Servers

  • Install x11vnc
  • Set password
    • x11vnc -storepasswd
  • Test connection by running manual start command.
x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared


Have x11vnc start automatically via upstart in any environment (<=Utopic)

sudo nano /etc/init/x11vnc.conf
# description "Start x11vnc at boot"
description "x11vnc"
start on runlevel [2345]
stop on runlevel [^2345]
console log
respawn
respawn limit 20 5
exec /usr/bin/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared



See also