<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Slashnull</id>
	<title>Official Kodi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://kodi.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Slashnull"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Slashnull"/>
	<updated>2026-06-20T21:01:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=Archive_talk:Install_Kodi_on_Fedora_26_using_RPMFusion_packages&amp;diff=113191</id>
		<title>Archive talk:Install Kodi on Fedora 26 using RPMFusion packages</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Archive_talk:Install_Kodi_on_Fedora_26_using_RPMFusion_packages&amp;diff=113191"/>
		<updated>2016-01-15T19:46:52Z</updated>

		<summary type="html">&lt;p&gt;Slashnull: /* Guide rewrite */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Guide rewrite==&lt;br /&gt;
I am going to be revising a few sections soon.&lt;br /&gt;
#Firewall: You can leave it enabled and just open the following ports: TCP: 1151, 8080, and UDP: 1900, 9777&lt;br /&gt;
#Pulseaudio: Kodi is fully functional with pulseaudio installed and enabled.&lt;br /&gt;
#Systemd service: If you have GDM installed (and autologin enabled) you do not need any of the service script or other changes so it makes this guide much more simple. As the old saying goes: Keep It Simple Stupid.&lt;br /&gt;
:[[User:Mooninite|Mooninite]] ([[User talk:Mooninite|talk]]) 09:05, 8 April 2015 (EDT)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#Thanks for the firewall-related tips.  I believe the port-list that should be opened will depend on individual circumstances.  For example on my standalone setup the kodi.bin process is listening on ports TCP (8080, 1147) and UDP (9777, 1900).  Were I to utilize miniDLNA I would have to add TCP port 8200.  Airplay can potentially require TCP (80, 443, 554, 3689, 5297, 5289) and UDP (554, 5289, 5353).  Given that this is a standalone environment and making custom adjustments to the firewall as services are enabled/disabled is an advanced topic, it seems much simpler to leave the firewall disabled - with the caveats already mentioned in the wiki.&lt;br /&gt;
#Pulseaudio still has some deficiencies, such has lacking support for TrueHD or DTS-MA, preventing use of Dolby Pro Logic II, etc.  Refer to [[PulseAudio ]]for some further explanation.  Actually, the only real advantage Pulseaudio offers is non-exclusive use of the audio subsystem, in cases where you&#039;d like (for example) desktop sounds or other apps to co-exist with Kodi.  Since this guide is strongly focused on creating a standalone Kodi environment, Pulseaudio makes little sense to utilize.  Given its deficiencies and lack of countervailing advantages, there&#039;s no reason to utilize PulseAudio.&lt;br /&gt;
#Why would you want GDM to be installed?  It&#039;s just an unnecessary layer of functionality that introduces complexity but offers little/no benefit.  At the very least you&#039;d then have to set up GDM-based auto-login, which is not only extra complexity but a potential security risk.  The spirit of this guide is to create a standalone, lightweight installation of Kodi with minimal additional requirements.  You are exactly right re: KISS, and introducing a dependency on an unnecessary software layer would seem to contravene this.&lt;br /&gt;
You made some earlier edits that removed the section on disabling SELinux.  Kodi may have evolved to the point where it can properly function in an SELinux-Enforcing environment, but it used to have issues.  I will test in an enforcing environment and update the wiki accordingly.  However until I&#039;ve tested it I will revert your changes to restore the SELinux section.&lt;br /&gt;
&lt;br /&gt;
Thanks again for the tips!&lt;br /&gt;
:[[User:Wirerydr|Wirerydr]] ([[User talk:Wirerydr|talk]]) 12:03, 24 April 2015 (EDT)&lt;br /&gt;
&lt;br /&gt;
Hope you don&#039;t mind that I added a section for CEC, it was a feature I needed and I thought it may be useful until libcec&amp;gt;=3.0.0 is put into the fedora repos and the rpm in rpmfusion is rebuilt.&lt;br /&gt;
&lt;br /&gt;
:[[User:Slashnull|Slashnull]] ([[User talk:Slashnull|talk]]) 13:46, 15 January 2016 (EDT)&lt;/div&gt;</summary>
		<author><name>Slashnull</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Archive:Install_Kodi_on_Fedora_26_using_RPMFusion_packages&amp;diff=113190</id>
		<title>Archive:Install Kodi on Fedora 26 using RPMFusion packages</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Archive:Install_Kodi_on_Fedora_26_using_RPMFusion_packages&amp;diff=113190"/>
		<updated>2016-01-15T13:14:18Z</updated>

		<summary type="html">&lt;p&gt;Slashnull: /* Installing Kodi And Configuring It To Run Automatically */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav| [[Installing]] | [[Linux]] }}&lt;br /&gt;
{{see also|Linux FAQ}}&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;This page presents an approach to turning a minimal installation of Fedora 23 into a standalone Kodi 15.x installation, with minimal additional software / overhead.  The Kodi packages available from RPMFusion are used as the basis for this setup.  At the end of this guide you will have a set-top box style of system that, when powered up, will quickly boot and then start Kodi automatically without intervention (&#039;&#039;e.g.&#039;&#039; no need to first log in).&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
== Current State of This Guide ==&lt;br /&gt;
This guide is ready for general use, and has been tested on the following hardware/software:&lt;br /&gt;
&amp;lt;section begin=&amp;quot;Testing&amp;quot; /&amp;gt;&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot; style=&amp;quot;background-color:#FFFFFF;&amp;quot;&lt;br /&gt;
! OS&lt;br /&gt;
| [https://getfedora.org/en/server Fedora 23 Server (x86_64)]&lt;br /&gt;
|-&lt;br /&gt;
! Kodi&lt;br /&gt;
| [http://download1.rpmfusion.org/free/fedora/updates/testing/23/x86_64/repoview/kodi.html Kodi v15.2] (testing) from the [http://download1.rpmfusion.org/free/fedora/updates/testing/23/x86_64/repoview/index.html rpmfusion-free-updates] repository&lt;br /&gt;
|-&lt;br /&gt;
! Motherboard&lt;br /&gt;
| [http://www.gigabyte.com/products/product-page.aspx?pid=4716 Gigabyte GA-F2A88XM-D3H (rev 3.0)]&lt;br /&gt;
|-&lt;br /&gt;
! CPU&lt;br /&gt;
| [http://www.amd.com/en-us/products/processors/desktop/a-series-apu#2 AMD A6-5400K dual-core 3.8GHz 65W]&lt;br /&gt;
|-&lt;br /&gt;
! Memory&lt;br /&gt;
| [http://www.corsair.com/en-us/vengeance-8gb-dual-channel-ddr3-memory-kit-cmz8gx3m2a1600c9 Corsair Vengeance 8GB (2x4GB) DDR3 1600MHz PC12800]&lt;br /&gt;
|-&lt;br /&gt;
! Graphics&lt;br /&gt;
| [http://www.asus.com/Graphics_Cards/ENGT240_SILENTDI1GD3/ Asus ENGT240 Silent GT240 fanless PCI-E 2.0 card]&lt;br /&gt;
|-&lt;br /&gt;
! Disk&lt;br /&gt;
| [http://www.wdc.com/global/products/specs/?driveID=792&amp;amp;language=1 Western Digital 1TB 7200RPM Black HDD]&lt;br /&gt;
|-&lt;br /&gt;
! Case&lt;br /&gt;
| [http://www.antec.com/pdf/manuals/Fusion%20Remote%20&amp;amp;%20Fusion%20Remote%20Black_EN%20manual.pdf Antec Fusion Remote Black HTPC Case]&lt;br /&gt;
|-&lt;br /&gt;
! Receiver&lt;br /&gt;
| [http://usa.denon.com/us/product/HomeTheater/AVReceiversHT/AVR3808CI Denon AVR-3808ci]&lt;br /&gt;
|-&lt;br /&gt;
! TV&lt;br /&gt;
| [http://shop.panasonic.com/shop/model/TH-50PZ800U# Panasonic 50&amp;quot; VIERA TH-50PZ800U Plasma]&lt;br /&gt;
|}&amp;lt;section end=&amp;quot;Testing&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
== Assumptions ==&lt;br /&gt;
# This guide assumes you have at least a slight familiarity with Linux in general.  If you know what a Bash shell is, can cut-and-paste commands, and are comfortable editing files with VI or Emacs, then you should be fine.&lt;br /&gt;
# It is assumed that Kodi will be installed into a freshly-installed Fedora 23 Server (x86_64) environment that was set up with no additional software specified.  If you already have such an environment then you can skip the steps showing how to do a fresh-install of Fedora.&lt;br /&gt;
# This guide was written with the use of an Nvidia-based graphics card in-mind, (tested with an [http://www.asus.com/Graphics_Cards/ENGT240_SILENTDI1GD3/ Asus ENGT240 Silent GT240 fanless PCI-E 2.0 card]).  If you have an AMD, Intel or other graphics solution, then either skip the Nvidia-specific steps or substitute your own.  Also, this guide covers replacing the stock Nouveau (open-source) video drivers with proprietary Nvidia drivers (as obtained from Negativo17&#039;s Nvidia repository) for improved performance.  You can skip this if you&#039;d prefer, although your performance mileage may vary.&lt;br /&gt;
# It is assumed that audio will be passed via the HDMI port on your video card / motherboard to your TV / sound-system.  Kodi can certainly handle other methods of passing audio, however those are beyond the scope of this article.&lt;br /&gt;
# Everything is done with the goal of minimizing how many software packages / dependencies are required.  For example, since Kodi will be run as a fullcreen application, there is no need for heavyweight desktop environments such as Gnome and KDE, and all the apps/clutter they introduce.&lt;br /&gt;
# In order to make things simpler, this guide disables both SELinux and the local firewalld daemon.  Ensure that the system is adequately protected by things like your internet router&#039;s firewall, and encrypted/passworded WiFi (you DO have your WiFi protected, right?...)&lt;br /&gt;
# As of release 23, Fedora comes in three flavours: [https://getfedora.org/en/workstation Workstation], [https://getfedora.org/en/server Server], and [https://getfedora.org/en/cloud Cloud].  This guide installs the Server edition (with no additional software specified) in order to get the leanest, most minimal install possible.  At the time of writing, when tested this installation consumed approximately 410MB of memory (excluding buffers / cache) when playing a 1080p 5.1-channel video.  The full installation including Fedora, Kodi and a modest library of thumbnails/artwork consumed about 9GB of disk space.  For the purposes of testing, a 20GB partition was used.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
== Installing Fedora 23 ==&lt;br /&gt;
&lt;br /&gt;
=== Obtaining the Fedora 23 Server (x86_64) Installation Image ===&lt;br /&gt;
Visit the Fedora 23 (Server) download page at https://getfedora.org/en/server/download/ .  You will almost certainly want the 64-bit version (and that&#039;s what this guide supports), and can therefore just click the &#039;&#039;&#039;download&#039;&#039;&#039; button to start your download.  If you instead need a 32-bit version, there will be a link to it on the right-hand side of the page.&lt;br /&gt;
Once your download has completed, burn the &#039;&#039;&#039;.iso&#039;&#039;&#039; image you just downloaded to a DVD.  It&#039;s also possible to create an installable USB flash drive with this ISO and install from it, or even to perform a network install without having any local DVD media, but these are outside the scope of this guide.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Fedora 23 Kodi 15 Install 001 - Main Screen.png|right|500px|Fedora Installation Main Installation Screen]]&lt;br /&gt;
=== Configure How Fedora will be Installed ===&lt;br /&gt;
Boot from the DVD you just created.  If necessary, bring up your BIOS&#039;s boot-menu by pressing &amp;lt;F12&amp;gt; (or whatever your BIOS uses) to select booting from your optical drive.  When the DVD boots you will be shown a text-menu with several options.  Select &amp;quot;Install&amp;quot;, and proceed.  The system will then boot up into Fedora&#039;s graphical installer (Anaconda).  Choose your desired keyboard layout and language, and proceed.  You will then be shown Anaconda&#039;s main installation screen, similar to this:&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
You can make whatever choices you like for everything in the &#039;&#039;&#039;LOCALIZATION&#039;&#039;&#039; and &#039;&#039;&#039;SYSTEM&#039;&#039;&#039; sections.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Ensure that the &#039;&#039;&#039;INSTALLATION SOURCE&#039;&#039;&#039; section is set to &#039;&#039;Local Media&#039;&#039;.  If not then click to enter it, and change it accordingly.&lt;br /&gt;
{{-}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Fedora 23 Kodi 15 Install 002 - Software Selection.png|right|500px|Fedora Installation Software Selection Screen]]&lt;br /&gt;
Within the &#039;&#039;&#039;SOFTWARE SELECTION&#039;&#039;&#039; section:&lt;br /&gt;
# Ensure that &#039;&#039;&#039;Base Environment&#039;&#039;&#039; in the left-pane is set to &#039;&#039;Minimal Install&#039;&#039;.&lt;br /&gt;
# Ensure that &#039;&#039;none&#039;&#039; of the add-ons in the right-hand pane are selected.&lt;br /&gt;
When correctly set, this screen should look as follows:&lt;br /&gt;
{{-}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Fedora 23 Kodi 15 Install 003 - User Creation.png|right|500px|Fedora User-Creation Screen]]&lt;br /&gt;
=== Starting the Installation and Creating a Kodi User ===&lt;br /&gt;
When finished setting up all desired installation options, Begin the install.&lt;br /&gt;
&lt;br /&gt;
During installation, set the password for user &#039;&#039;&#039;root&#039;&#039;&#039; by clicking &#039;&#039;&#039;&#039;&#039;ROOT PASSWORD&#039;&#039;&#039;&#039;&#039;).  You should also create the non-privileged user that Kodi will run as - click &#039;&#039;&#039;&#039;&#039;USER CREATION&#039;&#039;&#039;&#039;&#039;.  You can choose whatever full-name / username / password you&#039;d like; this guide assumes a username of &#039;kodi&#039;.  When creating this account, check &#039;&#039;&#039;&#039;&#039;Make this user administrator&#039;&#039;&#039;&#039;&#039;. (Note: This user isn&#039;t granted superuser rights directly; rather it can run privileged commands via tools such as &#039;&#039;&#039;&#039;&#039;sudo&#039;&#039;&#039;&#039;&#039;.)&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
The User Creation screen should looks as follows:&lt;br /&gt;
{{-}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Fedora 23 Kodi 15 Install 004 - Install In Progress.png|right|500px|Fedora Installation In-Progress]]&lt;br /&gt;
Once you&#039;ve finished with these two settings, installation will continue.  The installation screen should look similiar to:&lt;br /&gt;
{{-}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:Fedora 23 Kodi 15 Install 005 - Console Login.png|right|500px|Fedora Console Login]]&lt;br /&gt;
=== Rebooting into Fedora ===&lt;br /&gt;
&lt;br /&gt;
When the installation has completed, remove the installation DVD and click &#039;&#039;&#039;&#039;&#039;REBOOT&#039;&#039;&#039;&#039;&#039; to restart the system.  The system should reboot and reach a textmode console login screen, as shown below.  If you reach this point then you&#039;ve successfully finished a minimal install of Fedora 23.&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring Fedora / Installing Dependencies ==&lt;br /&gt;
&lt;br /&gt;
Now that Fedora is installed, some configuration needs to be performed, and some dependencies need to be installed and configured.&lt;br /&gt;
&lt;br /&gt;
{{redv|&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039;|Unless otherwise mentioned, all following commands should be run as user &#039;&#039;&#039;&#039;&#039;kodi&#039;&#039;&#039;&#039;&#039;.  Elevated privileges will be obtained via &#039;&#039;&#039;&#039;&#039;sudo&#039;&#039;&#039;&#039;&#039; if required.}}&lt;br /&gt;
&lt;br /&gt;
=== A Quick Note About DNF vs YUM, Updating Packages To Latest Versions, and Rebooting ===&lt;br /&gt;
{{bluev|&#039;&#039;&#039;NOTE:&#039;&#039;&#039;|Back in Fedora 22, the YUM package-manager was replaced by DNF.  DNF is highly backward-compatible, and uses a nearly (but not completely) identical command syntax.  In practice you may choose to either continue typing in &#039;yum&#039; commands (which are passed off transparently to DNF), or use &#039;dnf&#039; commands directly.  This HOWTO standardizes on using &#039;dnf&#039;, but you may choose &#039;yum&#039; instead if you prefer.}}&lt;br /&gt;
&lt;br /&gt;
Perform a full update of all installed packages (including the kernel if necessary).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf update&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
When you&#039;re ready, reboot the system after these steps have completed for changes to take effect (especially any Kernel updates that may have happened).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo systemctl reboot&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Disabling SELinux and Firewalld ===&lt;br /&gt;
&#039;&#039;&#039;SELinux&#039;&#039;&#039; is a part of the kernel that enforces access control over many parts of the system, including filesystems, processes, sockets, etc.  Although Kodi can be made to operate with SELinux active, this is beyond the scope of this guide.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Firewalld&#039;&#039;&#039; is the local firewall daemon that is included by-default with recent Fedora releases.  Because it can interfere with things such as uPnP, file-sharing, remote-control apps, etc., firewalld is disabled in this guide.&lt;br /&gt;
{{redv|&#039;&#039;&#039;WARNING:&#039;&#039;&#039;|If your system is in any way exposed to the internet or other untrusted zones, then it is recommended to ensure those zones are adequately protected by their own firewalls before disabling the system&#039;s local firewalld.}}&lt;br /&gt;
&lt;br /&gt;
Terminate firewalld if it is running, and then remove it from the system permanently.  This will also trigger removal of some additional, dependent packages, which are not necessary to the operation of Kodi.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo systemctl stop firewalld&lt;br /&gt;
sudo dnf remove firewalld&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, reconfigure SELinux to change its policy from &#039;&#039;enforcing&#039;&#039; to &#039;&#039;disabled&#039;&#039;.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo sed --in-place=.bak &#039;s/^SELINUX\=enforcing/SELINUX\=disabled/g&#039; /etc/selinux/config&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;You will need to reboot afterwards for these two changes to completely take effect&#039;&#039;&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo systemctl reboot&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Enable Use Of the RPMFusion Repository ===&lt;br /&gt;
[http://rpmfusion.org/ RPMFusion] is a 3rd-party repository that provides legally redistributable software which, for one reason or another, is not included in Fedora distributions.  This includes Kodi.  The following commands will install both the free and non-free RPMFusion repos for release 23 of Fedora.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
dnf install --nogpgcheck \&lt;br /&gt;
  http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm  \&lt;br /&gt;
  http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Install Basic X-Windows Support ===&lt;br /&gt;
Kodi requires a functioning X-Windows server to be present on the system it runs on.  However, since it typically runs in fullscreen mode without any X-Windows decorations, it does not require any display managers or desktop environments such as Gnome or KDE.  The following commands install a basic X-Windows setup.&lt;br /&gt;
{{bluev|&#039;&#039;&#039;NOTE:&#039;&#039;&#039;|This will &#039;&#039;&#039;&#039;&#039;not&#039;&#039;&#039;&#039;&#039; cause your system to actually boot up into multi-user graphical mode (X-Windows) automatically.  That will be done when the system starts up Kodi as a standalone application.}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf groupinstall &amp;quot;base-x&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Replace Open-Source Nouveau Video Drivers with Proprietary Nvidia Drivers ===&lt;br /&gt;
Although the open-source Nouveau video drivers that are included in Fedora distributions have come a long way recently, the binary drivers from Nvidia are still superior.  There are a variety of places to obtain these drivers, including RPMFusion, however this guide shows how to install them from the [http://negativo17.org/nvidia-driver/ Negativo17 Nvidia repository].&lt;br /&gt;
&lt;br /&gt;
{{note|Depending on what generation your Nvidia card/chipset is, you may need to use the 340 series of driver.  After the 340 series Nvidia dropped support for many older cards/chipsets. Refer to information Nvidia has provided [http://www.nvidia.com/object/IO_32667.html here] to see if you need to stick with 340 series drivers, or if you can use the latest driver release. Negativo17 provides separate repositories for each, and this guide shows how to install either.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Enabling the 340 Series Nvidia Driver Repository ====&lt;br /&gt;
{{redv|&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039;|Only perform this step if you want the &#039;&#039;&#039;340 series&#039;&#039;&#039; Nvidia driver (cannot mix with the latest series).}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf config-manager --add-repo http://negativo17.org/repos/fedora-nvidia-340.repo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Enabling the Latest Series Nvidia Driver Repository ====&lt;br /&gt;
{{redv|&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039;|Only perform this step if you want the &#039;&#039;&#039;latest series&#039;&#039;&#039; Nvidia driver (cannot mix with the 340 series).}}&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf config-manager --add-repo http://negativo17.org/repos/fedora-nvidia.repo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Installing the Selected Nvidia Driver ====&lt;br /&gt;
The following will install your selected Nvidia drivers along with VDPAU (hardware-accelerated video decoding and postprocessing) support.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf install               \&lt;br /&gt;
            kernel-devel       \&lt;br /&gt;
            libva-utils        \&lt;br /&gt;
            libva-vdpau-driver \&lt;br /&gt;
            nvidia-driver      \&lt;br /&gt;
            vdpauinfo&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Removing the Nouveau Driver ====&lt;br /&gt;
Next, remove the open-source Nouveau driver.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf remove xorg-x11-drv-nouveau&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Enabling Kodi Audio Within X-Windows ===&lt;br /&gt;
==== Enabling Kodi Audio Within X-Windows ====&lt;br /&gt;
In order for the Kodi user-account to be able to produce audio within the X-Windows system, it must be added to the &#039;&#039;&#039;&#039;&#039;audio&#039;&#039;&#039;&#039;&#039; user-group.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo usermod kodi -a -G audio&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing Kodi And Configuring It To Run Automatically ==&lt;br /&gt;
&lt;br /&gt;
=== Installing Kodi from the RPMFusion repository ===&lt;br /&gt;
The following command actually installs Kodi from the RPMFusion repository.  Any dependencies that Kodi requires but are not yet installed will also be included automatically.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf install kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Building Kodi with HDMI-CEC (libcec) support from the SRPM ===&lt;br /&gt;
{{redv|&#039;&#039;&#039;IMPORTANT:&#039;&#039;&#039;|This section is not required if you do not need [http://kodi.wiki/view/CEC CEC] support.}}&lt;br /&gt;
Kodi 15.2 requires libcec &amp;gt;= 3.0.0 which is not available in the standard repositories.  For this reason, the packaged RPM in from RPMFusion does not have it enabled.  Follow the steps in this section to build a new rpm from the kodi source rpm whith CEC support enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Install the necessary tools for building RPMs ====&lt;br /&gt;
For more complete instructions on setting up a rpm build environment see the guide on the [https://fedoraproject.org/wiki/How_to_create_an_RPM_package Fedora Wiki].  On most systems you should only really require the following tools.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf install rpm-build yum-utils&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing a compatible version of libcec &amp;gt;= 3.0.0 ====&lt;br /&gt;
You will need two packages currently found in the fedora testing repostories in order to build Kodi with libcec support, &#039;&#039;libcec&#039;&#039; and &#039;&#039;libcec-devel&#039;&#039;.  &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf install libcec libcec-devel --enablerepo=updates-testing&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Install the Kodi source RPM (SRPM) from the RPMFusion Repo ====&lt;br /&gt;
Download the kodi source RPM and install it using the rpm command.  You may receive some warnings about mockbuild not existing, these can be safely ignored.  Once these commands are run there will be a ~/rpmbuild directory created containing the kodi source code and other things associated with creating an rpm.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
yumdownloader --source kodi&lt;br /&gt;
rpm -i kodi-15.2-2.fc23.src.rpm&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Modify the spec file to enable libcec ====&lt;br /&gt;
Since the package doesn&#039;t expect to find a &#039;&#039;libcec&amp;gt;=3.0.0&#039;&#039; in any of the standard repositories, the author was forced to disable it.  To re-enable it in the spec file simply change the &#039;&#039;_with_libcec&#039;&#039; global variable in the spec file with the following command.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sed -i &#039;s/_with_libcec 0/_with_libcec 1/&#039; ~/rpmbuild/SPECS/kodi.spec&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Build the RPM from source ====&lt;br /&gt;
Change into the SPEC directory and initiate the build.  If there are any failed dependencies simply use &#039;&#039;dnf&#039;&#039; to install them.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
cd ~/rpmbuild/SPECS&lt;br /&gt;
rpmbuild -ba kodi.spec&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Install the RPM ====&lt;br /&gt;
You should now have a rpm built with libcec support in it, you can install it with the following command.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf install ~/rpmbuild/RPMS/x86_64/kodi-15.2-2.fc23.x86_64.rpm&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Create Systemd Service File For X-Windows / Kodi ===&lt;br /&gt;
By default Fedora uses Systemd to manage services and daemons.  The following creates a Systemd service file that, once enabled, will cause the system to autostart X-Windows as well as Kodi as a standalone, fullscreen application whenever the system is booted.  Because it was manually created and not installed as part of any package, it gets placed in &#039;&#039;&#039;&#039;&#039;&amp;quot;/etc/systemd/system&amp;quot;&#039;&#039;&#039;&#039;&#039; instead of &#039;&#039;&#039;&#039;&#039;&amp;quot;/lib/systemd/systemd&amp;quot;&#039;&#039;&#039;&#039;&#039;.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo bash -c &#039;cat &amp;lt;&amp;lt;&amp;quot;ENDcat&amp;quot; &amp;gt;/etc/systemd/system/kodi.service&lt;br /&gt;
[Unit]&lt;br /&gt;
Description = kodi-standalone using xinit&lt;br /&gt;
After = remote-fs.target&lt;br /&gt;
&lt;br /&gt;
[Service]&lt;br /&gt;
User = kodi&lt;br /&gt;
Group = kodi&lt;br /&gt;
PAMName = login&lt;br /&gt;
Type = simple&lt;br /&gt;
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch /usr/bin/kodi-standalone -- :0 -nolisten tcp&lt;br /&gt;
Restart = on-abort&lt;br /&gt;
&lt;br /&gt;
[Install]&lt;br /&gt;
WantedBy = multi-user.target&lt;br /&gt;
ENDcat&#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Install DBUS addon for X-Windows ===&lt;br /&gt;
X-Windows requires that an addon be installed in order to become DBUS-aware, which in-turn is required in order for Kodi to be properly started at boot-time.  This step provides the &#039;&#039;/usr/bin/dbus-launch&#039;&#039; tool within in the Systemd service file from the previous step.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf install dbus-x11&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Load and Enable New Systemd Service File ===&lt;br /&gt;
Now that the new Systemd service file has been created, Systemd needs to rescan its configuration to pick up the new file.  Afterwards, the service is enabled for future reboots.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo systemctl daemon-reload&lt;br /&gt;
sudo systemctl enable kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Reconfigure PolicyKit To Enable Poweroff, Suspend and Similiar Functions ===&lt;br /&gt;
In order for Kodi to be able to poweroff the system, enter suspend-mode or initiate hibernation, a PolicyKit Local Authority configuration file needs to be created.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo bash -c &#039;cat &amp;lt;&amp;lt;&amp;quot;ENDcat&amp;quot; &amp;gt;/etc/polkit-1/localauthority/50-local.d/kodi_shutdown.pkla&lt;br /&gt;
[Actions for kodi user]&lt;br /&gt;
Identity=unix-user:kodi&lt;br /&gt;
Action=org.freedesktop.devicekit.power.*;org.freedesktop.upower.*;org.freedesktop.consolekit.system.*;org.freedesktop.login1.*&lt;br /&gt;
ResultAny=yes&lt;br /&gt;
ENDcat&#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Install UPower ===&lt;br /&gt;
UPower (formerly DeviceKit-power) facilitates managing power devices attached to the system.  It is what allows Kodi to actually manipulate power-related functions such as shutting everything down.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo dnf install upower&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Configure Xwrapper To Allow Non-Console Users To Start X-Server ===&lt;br /&gt;
In order for the X-Windows server to be started by a non-console user such as the Kodi account, a new Xwrapper configuration must be created.  Also set the appropriate file permissions on the new configuration.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo bash -c &#039;cat &amp;lt;&amp;lt;&amp;quot;ENDcat&amp;quot; &amp;gt;/etc/X11/Xwrapper.config&lt;br /&gt;
allowed_users = anybody&lt;br /&gt;
ENDcat&#039;&lt;br /&gt;
sudo chmod 644 /etc/X11/Xwrapper.config&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== All Finished, and Last Tips ==&lt;br /&gt;
If all has gone well thus far, then the next time you restart the system it should boot all the way into Kodi (fullscreen standalone) without needing to log in first, or perform any other intervention.  At this point you should be able to commence configuring your minimal Kodi install as desired.  Enjoy!&lt;br /&gt;
&lt;br /&gt;
# As previously mentioned, this method of installing Kodi avoids the need to log into the system for normal operation.  However you may still reach the system remotely via &#039;&#039;&#039;&#039;&#039;SSH&#039;&#039;&#039;&#039;&#039;, whether or not Kodi is running at the time.&lt;br /&gt;
# If you have remotely accessed the system, then Kodi can be easily started / stopped with the following two commands (run as user &#039;&#039;&#039;&#039;&#039;kodi&#039;&#039;&#039;&#039;&#039;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo systemctl start kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo systemctl stop kodi&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Isengard updated}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:How-to]]&lt;br /&gt;
[[Category:Installation|Linux]]&lt;/div&gt;</summary>
		<author><name>Slashnull</name></author>
	</entry>
</feed>