Archive:Kodibuntu: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
 
(127 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{mininav|[[General topics]]{{l2|[[Devices]]}}|[[Installing]]{{l2|[[Linux]]}}}}
{{outdated}}
{{cleanup}}
:''See also: '''[[XBMCbuntu FAQ]]'''''


<section begin="intro" />XBMCbuntu is a boot-USB drive/LiveCD image with [[XBMC]] pre-configured to work directly out-of-the-box for a dedicated set-top-box style installation of XBMC. Users can either demo XBMC without touching the internal HDD, or use it to install XBMCbuntu on the HDD, without any pre-installed operating systems. XBMCbuntu is based on a light weight version of Ubuntu.<section end="intro" />
{{divbox|red||'''Note:''' This Wiki page is outdated and Kodibuntu is not supported anymore. Therefore Kodibuntu is not available anymore at the download page}}


XBMCbuntu currently supports MCE (Media Center Edition) Remotes with USB IR-receiver receivers directly out-of-the-box. Installation only requires 8GB (or larger) USB drive or internal HDD.
<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" />


When installed onto a USB flash drive or hard disk drive XBMCbuntu 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 XBMCbuntu 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.
== Hardware requirements ==
{{see also|Supported hardware}}


=== Connect to XBMCbuntu via SFTP/SSH ===
Kodibuntu should work with the general hardware requirements for Linux:
{{Collapse top|Click to show hardware requirements -->}}
{{#lst:Supported hardware|Linux}}
{{Collapse bottom}}


:''See also:'' [[SFTP|Connecting to XBMCbuntu via SFTP]] and [[SSH|Connecting to XBMCbuntu via SSH]]
== Installing ==
Kodibuntu comes in an ISO form that can be written to a USB drive or burned to an optical disc.


== XBMCbuntu minimum and recommended hardware requirements ==
Download the current stable Kodibuntu image from: '''<code>http://kodi.tv/download/</code>'''
* x86 (Intel/AMD-based) processor computer capable of booting to CD-ROM.
** [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).
* [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 R700 (HD 5000)] or newer supported and recommended
:{{note|ATI Radeon cards lower than HD5xxx are not supported with Ubuntu & variants 12.10 which is XBMCbuntu's base system due to changes in ATI's drivers. A workaround is to Install XBMCbuntu beta2 and upgrade XBMC using ppa or compile from source}}
** [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 8GB (or larger) [http://en.wikipedia.org/wiki/USB_flash_drive USB-flash-drive] or internal harddrive.
** If you like to install XBMCbuntu 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 8GB is if you have a lot of media as covers are cached on it.


== Get and Install XBMCbuntu ==
The Complete installation guide can be found here: [http://howtouselinux.net/kodi-linux-part-1/ Kodi Linux - The Complete Guide]
Download from http://xbmc.org/download/
{{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}}


XBMCbuntu comes in two flavors depending on what kind of graphics card you use. You want the "Intel-Nvidia" version for Intel and Nvidia graphics cards, and the "AMD" version for AMD/ATI graphics cards. The "Intel" and "AMD" versions don't apply to the CPU. In other words, if you have an AMD CPU, but you have an Intel or Nvidia GPU, then you want the "Intel/Nvidia" version.
== 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.


XBMCbuntu comes in an ISO form that can be  burned to an optical disc. It can also be formatted to a USB drive, as mentioned in the next section.
=== How to upgrade Kodi ===
{{main|HOW-TO:Install Kodi for Linux#Upgrading}}
{{#lst:HOW-TO:Install Kodi for Linux|Ubuntu upgrade}}


=== Via USB drive ===
=== When to upgrade the OS ===


For instructions on how to acquire, create a bootable usb flash drive, boot or install to/from
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.


<big>'''''See: ''[[Create and install from/to a bootable USB flash drive]]'''</big>


=== Resolving problematic installs ===
== Basic use ==


# Boot your system with the installer thumbdrive and select the "Try Ubuntu" option. This should boot into XBMC.
=== Desktop mode ===
# Click the Shutdown menu in XBMC (lower-left corner) and select "Exit"
# You should be presented with a log-in screen. Click "Other..." and enter '''xbmc''' as the login and select '''XBMCbuntu''' from the dropdown menu (below the Login field).
# Click "Login" and you will be prompted for the Password; just leave it blank.
# Click "Login" again and the XBMCbuntu desktop should be displayed.
# On the top-left corner of the desktop should be an icon to install Ubuntu. Double-click the icon and, hopefully, you'll get the installation wizard this time.


=== Upgrading XBMC via ppa in XBMCbuntu ===
Kodibuntu can boot directly into Kodi or it can also boot into a desktop mode for using applications such as a web browser.
:'''''see also: '''''[[XBMC v12 (Frodo) FAQ#What might break when upgrading to v12.3F .28Audio and Video.2C add-ons.2C skins.2C remotes.29|'''What might break when upgrading to v12''']]
You dont have to necessarily wipe your current install to try a new Version of XBMC, like a nightly version or beta for example, you can just fire up Putty or a shell in Linux/OS X.


;Repositories
In order to enter desktop mode, follow those steps below:
<big>{{see also|XBMC ppas}}</big>
<gallery widths=500px heights=313px>
File:kodi-exit.png|'''Step 1:''' ''Exit'' Kodi.
File:kodi-session.png|'''Step 2:''' Select ''Lubuntu'' and enter your ''username'' and ''password''.
</gallery>


{{note| For XBMC '''Beta''' or '''Release Candidate''' use '''unstable ppa''', Nightly ppa will yield '''Alpha''' builds (from master), remainder ppa (main ppa) yields '''point release''' versions.}}
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.  


:;Adding removing ppas and upgrading procedure
{{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.}}
<syntaxhighlight lang="bash" enclose="div">
sudo apt-get install python-software-properties pkg-config
sudo add-apt-repository -r ppa:whatever-ppa-you-have-now
sudo add-apt-repository ppa:whatever-ppa-here
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install xbmc xbmc.bin
</syntaxhighlight>


{{greenv|What PPA do I need to remove?|To determine what ppas are listed in your sources, in order to see what to change '''type''':}}
To return to Kodi, '''logout''', select '''Kodi''' as session in the top-right pulldown menu and enter your ''username'' and ''password'' again.
<syntaxhighlight lang="bash" enclose="div">
sudo apt-cache policy
</syntaxhighlight>


;If you wondering where to type commands
=== Login ===
:''See also:'' [[SSH|Connecting to XBMCbuntu via SSH]]
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.


== XBMCbuntu no audio devices ==
{{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.}}
For some reason there is a problem with lightdm that affects audio devices detection. A workaround was posted [http://forum.xbmc.org/showthread.php?tid=145451&pid=1322619#pid1322619 '''here'''].
Modify the /etc/init/lightdm.conf
<syntaxhighlight lang="bash" enclose="div">sudo nano /etc/init/lightdm.conf</syntaxhighlight>
;Input use this configuration:
<syntaxhighlight lang="xml" enclose="div">
start on ((filesystem
          and runlevel [!06]
          and started dbus
          and started udev-finish
          and stopped udevtrigger
          and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
                or stopped udev-fallback-graphics))
          or runlevel PREVLEVEL=S)
</syntaxhighlight>


=== Upgrading NVidia drivers in Ubuntu and variants ===


:''see also:'' [[XBMC for Linux specific FAQ#Upgrading NVidia drivers in Ubuntu and variants|Upgrading NVidia drivers in Ubuntu and variants]]
=== Media center ===
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.


=== Username and password to the underlying live OS environment ===
=== Using desktop mode ===
Username and password to the underlying OS environment are not needed by average users of XBMCbuntu, but here they are just in case you want to dig into the (very) advanced possibilities that are available. The default username and password on the live CD are listed below, but during installation, you will be able to change these to your own username and password. We recommend that you write down the username and password you have chosen, and store it away in a safe place;
Chromium is included for web browsing and can be found in the start menu.
Username: '''xbmc'''
Password: (none)


=== XBMCbuntu running as Live CD ===
In Systems / Package Manager tools - you can install other applications for your specific needs.
* 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.


=== XBMCbuntu installed on USB or HDD ===
==Other Uses==
:''See also: '''[[HOW-TO:Install XBMCbuntu from a USB thumbdrive|HOW-TO: Install XBMCbuntu from a USB thumbdrive]]'''''


* 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 XBMCbuntu 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.
===KodiBuntu VNC Server===


* 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 XBMCbuntu CD.
https://help.ubuntu.com/community/VNC/Servers


* 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 XBMCbuntu developers have done their best to try to prevent this from happening.
*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


== XBMC Media Center ==
XBMCbuntu 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.


== Upgrading XBMCbuntu ==
Have x11vnc start automatically via upstart in any environment (<=Utopic)
To actually update "XBMCbuntu" for Frodo, which is a full package, then you're pretty much looking at a fresh install if you wish to upgrade the underlying Linux. The OS changed from Lubuntu 11.10 to Lubuntu 12.04. It is possible (in order to preserve systems tweaks) to just update XBMC itself by treating it as a normal Linux install and going to: [[XBMCbuntu#Upgrading XBMC via ppa in XBMCbuntu|Upgrading XBMC via ppa in XBMCbuntu]]
sudo nano /etc/init/x11vnc.conf


[[Category:Installation]]
# description "Start x11vnc at boot"
[[Category:Linux]]
description "x11vnc"
[[Category:XBMCbuntu|*]]
start on runlevel [2345]
[[Category:XBMC Manual]]
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