<?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=Postcd</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=Postcd"/>
	<link rel="alternate" type="text/html" href="https://kodi.wiki/view/Special:Contributions/Postcd"/>
	<updated>2026-06-22T02:14:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://kodi.wiki/index.php?title=Settings/Live_TV/Channels&amp;diff=264151</id>
		<title>Settings/Live TV/Channels</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Settings/Live_TV/Channels&amp;diff=264151"/>
		<updated>2026-06-17T05:36:39Z</updated>

		<summary type="html">&lt;p&gt;Postcd: /* &amp;quot;with&amp;quot; does not give absolute clarity about direction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Mininav|[[Settings]]|[[Settings/Live_TV|PVR &amp;amp; Live TV]] }}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery mode=&amp;quot;packed&amp;quot; widths=&amp;quot;600px&amp;quot; heights=&amp;quot;337px&amp;quot;&amp;gt;&lt;br /&gt;
File:Settings-PVR-Channels-01.jpg&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= General =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Synchronise channel groups from backend(s) ==&lt;br /&gt;
{|&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| width=120px| {{nowrap|&#039;&#039;&#039;Settings level:&#039;&#039;&#039;}} &lt;br /&gt;
| Advanced&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;Description:&#039;&#039;&#039;&lt;br /&gt;
| Imports channel groups from the backend (if supported) and deletes user-created groups from the frontend if they are not found on the backend server.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Use channel order from backend(s) ==&lt;br /&gt;
{|&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| width=120px| {{nowrap|&#039;&#039;&#039;Settings level:&#039;&#039;&#039;}} &lt;br /&gt;
| Advanced&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;Description:&#039;&#039;&#039;&lt;br /&gt;
| Sort channels by the channel number used by the backend, but apply local numbering for the channels.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Use channel numbers from backend ==&lt;br /&gt;
{|&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| width=120px| {{nowrap|&#039;&#039;&#039;Settings level:&#039;&#039;&#039;}} &lt;br /&gt;
| Advanced&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;Description:&#039;&#039;&#039;&lt;br /&gt;
| When enabled, {{Kodi}} will use the channel numbering from the backend.&amp;lt;br /&amp;gt;When disabled, {{Kodi}} will assign numbering or you may use the Channel Manager to manually configure them.&amp;lt;br /&amp;gt;To avoid conflict between PVR servers, this setting is available only when a single PVR backend is used.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Start group channel numbers from 1 ==&lt;br /&gt;
{|&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| width=120px| {{nowrap|&#039;&#039;&#039;Settings level:&#039;&#039;&#039;}} &lt;br /&gt;
| Advanced&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;Description:&#039;&#039;&#039;&lt;br /&gt;
| When the previous setting is disabled, {{Kodi}} can apply sequential numbering starting from channel 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Channel manager ==&lt;br /&gt;
{|&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| width=120px| {{nowrap|&#039;&#039;&#039;Settings level:&#039;&#039;&#039;}} &lt;br /&gt;
| Advanced&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;Description:&#039;&#039;&#039;&lt;br /&gt;
| Opens the Channel Manager, which allows modifying the channel ordering, channel names, icons, etc.&amp;lt;br&amp;gt;&lt;br /&gt;
See: &#039;&#039;&#039;[[Settings/Live_TV/Channel_manager|Channel Manager]]&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Group manager ==&lt;br /&gt;
{|&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| width=120px| {{nowrap|&#039;&#039;&#039;Settings level:&#039;&#039;&#039;}} &lt;br /&gt;
| Advanced&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;Description:&#039;&#039;&#039;&lt;br /&gt;
| Opens the Group Manager, which allows for the management of channel groups and their populations.&amp;lt;br&amp;gt;&lt;br /&gt;
See: &#039;&#039;&#039;[[Settings/Live_TV/Group_manager|Group Manager]]&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Search for channels ==&lt;br /&gt;
{|&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| width=120px| {{nowrap|&#039;&#039;&#039;Settings level:&#039;&#039;&#039;}} &lt;br /&gt;
| Advanced&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;Description:&#039;&#039;&#039;&lt;br /&gt;
| Instruct the backend to search for channels (if supported by the add-on and backend)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Icons =&lt;br /&gt;
&lt;br /&gt;
== Folder with channel icons ==&lt;br /&gt;
{|&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| width=120px| {{nowrap|&#039;&#039;&#039;Settings level:&#039;&#039;&#039;}} &lt;br /&gt;
| Advanced&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;Description:&#039;&#039;&#039;&lt;br /&gt;
| Folder containing TV and Radio channel logos to be displayed in {{kodi}}. &lt;br /&gt;
Logo files should be either *.png or *.jpg. &lt;br /&gt;
For the logos to automatically match with their respective channels, one of the following conditions must be met:&lt;br /&gt;
# The logos must have the exact same name as the channel or&lt;br /&gt;
# Named with the id in iUniqueId of the TVxx.db (eg. 1558003334.png). &lt;br /&gt;
#* If the channel label has formatting codes such as colours, bold or italics, they must be in the filename&lt;br /&gt;
#* Any &#039;/&#039; character must be replaced by &#039;_&#039; in the filename (eg. &#039;&#039;[COLOR red]My Channel[/COLOR]&#039;&#039; will be named &#039;&#039;[COLOR red]My Channel[_COLOR].png&#039;&#039;).&lt;br /&gt;
See- &#039;&#039;&#039;[[Live TV Artwork]]&#039;&#039;&#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Scan for missing icons ==&lt;br /&gt;
{|&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| width=120px| {{nowrap|&#039;&#039;&#039;Settings level:&#039;&#039;&#039;}} &lt;br /&gt;
| Advanced&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &#039;&#039;&#039;Description:&#039;&#039;&#039;&lt;br /&gt;
| Scan the nominated folder for channel icons missing from {{kodi}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Top}}&lt;br /&gt;
{{Updated|21}}&lt;br /&gt;
&lt;br /&gt;
[[Category:PVR]]&lt;br /&gt;
[[Category:Settings]]&lt;/div&gt;</summary>
		<author><name>Postcd</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=Archive:Linux_FAQ&amp;diff=192973</id>
		<title>Archive:Linux FAQ</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=Archive:Linux_FAQ&amp;diff=192973"/>
		<updated>2020-01-28T09:10:56Z</updated>

		<summary type="html">&lt;p&gt;Postcd: /* How to autostart Kodi in desktop mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{mininav| [[Linux]] {{l2| [[FAQ]] }} }}&lt;br /&gt;
&lt;br /&gt;
{{notice|1= {{bigger|1= The Linux FAQ is going though a major overhaul and some things might be missing. For a copy of the old version see &#039;&#039;&#039;[http://wiki.kodi.tv/index.php?title=Linux_FAQ&amp;amp;oldid=76795 here]&#039;&#039;&#039;.}} }}&lt;br /&gt;
&lt;br /&gt;
{{Kodi FAQ}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;&#039;&#039;&#039;F&#039;&#039;&#039;requently &#039;&#039;&#039;A&#039;&#039;&#039;sked &#039;&#039;&#039;Q&#039;&#039;&#039;uestions for Kodi running under Linux-based operating systems.&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
== General FAQ ==&lt;br /&gt;
:{{big|&#039;&#039;See also: &#039;&#039;&#039;[[All platforms FAQ]]&#039;&#039;&#039; for FAQs that apply to all versions of Kodi.&#039;&#039;}}&lt;br /&gt;
&lt;br /&gt;
=== Supported Linux distributions ===&lt;br /&gt;
:* Team Kodi provides precompiled binaries for Ubuntu from the &#039;&#039;&#039;[[Team Kodi PPA]]&#039;&#039;&#039;. In the future there will also be precompiled binaries for Debian and Steam OS.&lt;br /&gt;
:* Team Kodi recognizes &#039;&#039;&#039;[[LibreELEC]]&#039;&#039;&#039; versions of Kodi as &amp;quot;pretty damn awesome&amp;quot;.&lt;br /&gt;
:* Generally speaking, as long as Kodi is compiled per recommended guidelines (see &#039;&#039;&#039;[[HOW-TO:Compile Kodi for Linux]]&#039;&#039;&#039;), those builds are considered &amp;quot;kosher&amp;quot;.&lt;br /&gt;
:* Kodi builds that use external ffmpeg/libav are not supported and are strongly discouraged.&lt;br /&gt;
&lt;br /&gt;
=== Supported hardware ===&lt;br /&gt;
For x86 hardware:&lt;br /&gt;
{{collapse top}}&lt;br /&gt;
:{{#lst:Supported hardware|Linux}}&lt;br /&gt;
{{collapse bottom}}&lt;br /&gt;
&lt;br /&gt;
=== How to install or update Kodi for Linux ===&lt;br /&gt;
{{Main|HOW-TO:Install Kodi for Linux}}&lt;br /&gt;
&lt;br /&gt;
; Ubuntu:&lt;br /&gt;
{{#lst:Team Kodi PPA|repos}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; For other supported distros, see [[HOW-TO:Install Kodi for Linux]]&lt;br /&gt;
&lt;br /&gt;
=== Kodi for Linux version ===&lt;br /&gt;
: The current stable version of Kodi for Linux is {{Current version}}. This is the same code that all of the other platforms (Android, iOS, Mac, Windows, etc) are using.&lt;br /&gt;
&lt;br /&gt;
=== What version/nightly build/beta of Kodi am I running? ===&lt;br /&gt;
: Kodi main menu &amp;gt; System &amp;gt; Lower submenu &amp;gt; System info. &#039;&#039;&#039;Note the build date.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Programs and tools to help with Kodi ===&lt;br /&gt;
: For a list of programs and tools to help with Kodi, such as renaming files, managing media, file sharing, and more, see &#039;&#039;&#039;[[Supplemental tools/Linux]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== How to autostart Kodi in desktop mode ===&lt;br /&gt;
&lt;br /&gt;
A)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sed -i &amp;quot;1i @kodi&amp;quot; /etc/xdg/lxsession/LXDE-pi/autostart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or B)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p ~/.config/autostart&lt;br /&gt;
ln -s /usr/bin/kodi ~/.config/autostart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Source of this information is [[HOW-TO:HOW-TO:Autostart_Kodi_for_Linux#Configure_Kodi_to_autostart|HOW TO: Autostart Kodi for Linux]]&lt;br /&gt;
&lt;br /&gt;
=== What are the differences between Ubuntu + Kodi and LibreELEC? ===&lt;br /&gt;
* &#039;&#039;&#039;Ubuntu + Kodi:&#039;&#039;&#039; This setup will give you the full Unity desktop environment that has enough software installed to be a general computing solution.&lt;br /&gt;
* &#039;&#039;&#039;[[LibreELEC]]:&#039;&#039;&#039; An appliance distribution. Getting software other than what is provided in the basic distribution will be a little difficult, but not impossible.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
{{see also|Troubleshooting}}&lt;br /&gt;
&lt;br /&gt;
=== Getting more help with Kodi for Linux ===&lt;br /&gt;
:* &#039;&#039;&#039;[http://forum.kodi.tv/forumdisplay.php?fid=52 Kodi for Linux specific help forum]&#039;&#039;&#039;&lt;br /&gt;
:* &#039;&#039;&#039;[irc://irc.freenode.org/Kodi #Kodi]&#039;&#039;&#039; [[w:IRC|IRC]] chat channel on irc.freenode.org.&lt;br /&gt;
&lt;br /&gt;
=== Userdata folder and logs ===&lt;br /&gt;
:{{Main|Userdata folder|Debug log}}&lt;br /&gt;
:{{editor note|this needs filling out}}&lt;br /&gt;
&lt;br /&gt;
=== Audio issues ===&lt;br /&gt;
:For most audio issues, including configuration examples, see &#039;&#039;&#039;[[Audio]]&#039;&#039;&#039; and &#039;&#039;&#039;[[Audio troubleshooting]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=== Video tearing on Nvidia GPUs ===&lt;br /&gt;
: When Kodi is used with Nvidia hardware, tearing will occur when the X composite extension is used.&lt;br /&gt;
&lt;br /&gt;
:* &#039;&#039;&#039;Solution 1:&#039;&#039;&#039; Enable &amp;quot;Unredirect Fullscreen Window&amp;quot; in Compiz Config Settings Manager. [http://ubuntuforums.org/showthread.php?p=11145045#post11145045]&lt;br /&gt;
:*# Install CCSM (Compiz Config Settings Manager): &amp;lt;code&amp;gt;sudo apt-get install compizconfig-settings-manager&amp;lt;/code&amp;gt;&lt;br /&gt;
:*# Open Compiz Config Settings Manager&lt;br /&gt;
:*# Check the option &amp;quot;Unredirect Fullscreen Window&amp;quot;, which should be under the &amp;quot;Composite&amp;quot; section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:* &#039;&#039;&#039;Solution 2:&#039;&#039;&#039; Disable the composite extension.&lt;br /&gt;
:::&#039;&#039;&#039;1.&#039;&#039;&#039; Add this to the end of /etc/X11/xorg.conf: (make a new file if xorg.conf doesn&#039;t exist)&lt;br /&gt;
&amp;lt;pre&amp;gt;Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
  Option &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
EndSection&amp;lt;/pre&amp;gt;&lt;br /&gt;
:::&#039;&#039;&#039;2.&#039;&#039;&#039; Then log in with a gnome classic session (without the composite extension compiz doesn&#039;t work).&lt;br /&gt;
:::&#039;&#039;&#039;3.&#039;&#039;&#039; Also make sure to set Vertical blank sync to Always enabled in Kodi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:* &#039;&#039;&#039;Solution 3:&#039;&#039;&#039; Disable the use of the SDL backing store - this is a bug in Ubuntu which will probably be fixed in due time but could cause tearing right now: http://askubuntu.com/questions/450593/how-do-i-eliminate-screen-tearing-on-14-04-and-xbmc-with-nvidia-331/450673#450673&lt;br /&gt;
&lt;br /&gt;
=== Why can&#039;t I update Kodi on Ubuntu 13.04, 13.10, or other release? ===&lt;br /&gt;
: The precompiled binaries from the Team Kodi PPA only work with Ubuntu releases that are still getting support. When Ubuntu drops support for a version then our PPA stops making a binary for it. Simply update Ubuntu itself and then Kodi updates should work again. If you don&#039;t want to update Ubuntu that often then we recommend using a long term support (LTS) version of Ubuntu, such as 14.04, which will be supported until 2019.&lt;br /&gt;
&lt;br /&gt;
{{Helix updated}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:Linux|*]]&lt;br /&gt;
[[Category:Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>Postcd</name></author>
	</entry>
	<entry>
		<id>https://kodi.wiki/index.php?title=HOW-TO:Autostart_Kodi_for_Linux&amp;diff=192972</id>
		<title>HOW-TO:Autostart Kodi for Linux</title>
		<link rel="alternate" type="text/html" href="https://kodi.wiki/index.php?title=HOW-TO:Autostart_Kodi_for_Linux&amp;diff=192972"/>
		<updated>2020-01-28T09:06:52Z</updated>

		<summary type="html">&lt;p&gt;Postcd: /* Configure Kodi to autostart - new option to achieve it. Tested on Raspbian 10. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&amp;lt;section begin=&amp;quot;intro&amp;quot; /&amp;gt;&amp;lt;big&amp;gt;Any or all or a combination of these methods can be used to configure a Debian-based X Window System to boot directly to Kodi. This should work on any Linux using the X Window System, but these instructions are particular to Debian derivatives, such as Ubuntu. A server edition is best for running only Kodi, but this page assumes booting into a desktop OS, not a server distro. However, the instructions here can be used for a server distro with even less configuration than for a desktop. Experiment inside VirtualBox before you apply any of these to your system and make a backup.&amp;lt;/big&amp;gt;&amp;lt;section end=&amp;quot;intro&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Installing the X11 Window System ==&lt;br /&gt;
&lt;br /&gt;
Even if you are using something like [https://github.com/graysky2/kodi-standalone-service Kodi Standalone Service], you still need use a WM or a DE that installs the &#039;&#039;&#039;x-window-manager&#039;&#039;&#039; software package. &lt;br /&gt;
&lt;br /&gt;
To ensure you have this installed use the &#039;&#039;&#039;which&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
which x-window-manager&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If there is no such package, you can use &#039;&#039;&#039;apt&#039;&#039;&#039; to search your Linux distributions repository.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-cache search x-window-manager&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will generate a list of packages containing &#039;&#039;&#039;x-window-manager&#039;&#039;&#039;, which cannot be installed alone. If you are not using a DE, you need to use a WM. And, you can also use a compositing WM like Compiz, for fast 3D effects.&lt;br /&gt;
&lt;br /&gt;
[https://wiki.archlinux.org/index.php/Compiz Compiz - ArchWiki]&lt;br /&gt;
&lt;br /&gt;
A note on using Kodi Standalone Service, this package runs Kodi as a &#039;&#039;&#039;systemd&#039;&#039;&#039; service and disables the login for user &#039;&#039;&#039;kodi&#039;&#039;&#039; and will not work when autologin is enabled. In fact, it will break the login process if you autologin user &#039;&#039;&#039;kodi&#039;&#039;&#039; and run Kodi Standalone Service at the same time. This package is installed automatically with the standard Kodi package when you install Kodi on Raspbian, but must be configured manually for all other Linux distributions. You can run the &#039;&#039;&#039;which&#039;&#039;&#039; command to find this package as well.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
which kodi-standalone&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be advised, Kodi Standalone Service still launches the Kodi GUI and still requires a WM even though it is running as a &#039;&#039;&#039;systemd&#039;&#039;&#039; service. When you install a WM such as &#039;&#039;&#039;xfwm4&#039;&#039;&#039; (the WM for XFCE4), the CLI will tell you if it provides the &#039;&#039;&#039;x-window-manager&#039;&#039;&#039; package.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Setting up xfwm4 (4.12.4-1) ...&lt;br /&gt;
update-alternatives: using /usr/bin/xfwm4 to provide /usr/bin/x-window-manager (x-window-manager) in auto mode&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you do not see this message at the end of the installation, the WM you selected does not provide this software package and may not actually be a complete WM itself but only part of a package containing a WM.&lt;br /&gt;
&lt;br /&gt;
For a great example on exactly how you would do this with &#039;&#039;&#039;xfwm4&#039;&#039;&#039;, see this ArchWiki entry.&lt;br /&gt;
&lt;br /&gt;
[https://wiki.archlinux.org/index.php/Xfwm XFWM - ArchWiki]&lt;br /&gt;
&lt;br /&gt;
Most systems utilize the client version of the X11 software an Xsession requires.&lt;br /&gt;
&lt;br /&gt;
For more X11 features and functionality, you may optionally upgrade to the server software packages for the X Window System.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;apt install xauth xorg xinit xserver-xorg-core xserver-xorg xserver-common&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Ubuntu wiki is usually a good source of information.&lt;br /&gt;
&lt;br /&gt;
[https://wiki.ubuntu.com/CustomXSession CustomXSession - Ubuntu Wiki]&lt;br /&gt;
&lt;br /&gt;
Custom user sessions can be created with the X11 Window System to run scripts, autostart apps, and launch a WM or DE.&lt;br /&gt;
&lt;br /&gt;
LightDM is used for autologin.&lt;br /&gt;
&lt;br /&gt;
== Customize LightDM to autologin ==&lt;br /&gt;
&lt;br /&gt;
You can utilize the ability to customize LightDM data manager by changing the builtin custom configuration file &#039;&#039;&#039;50-myconfig.conf&#039;&#039;&#039; using &#039;&#039;&#039;nano&#039;&#039;&#039; or another text editor. If you have no DE or WM you can install &#039;&#039;&#039;lightdm&#039;&#039;&#039;, but should make sure to do a bit of research before you do. Most versions of Linux use LightDM, but many server versions do not. For Ubuntu Server with no DE, for example, installing &#039;&#039;&#039;lightdm&#039;&#039;&#039; is okay and necessary. Changing the behavior of LightDM is done using a custom &#039;&#039;&#039;50-myconfig.conf&#039;&#039;&#039; configuration file.&lt;br /&gt;
&lt;br /&gt;
To see if you have &#039;&#039;&#039;lightdm&#039;&#039;&#039; use &#039;&#039;&#039;which&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
which lightdm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If not, install it with &#039;&#039;&#039;apt&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt install lightdm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure LightDM for autologin to boot directly to Kodi.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/lightdm/lightdm.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Uncomment the following line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#autologin-user=&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And add the user you want to autologin. The user is named &#039;&#039;&#039;kodi&#039;&#039;&#039; in this example.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autologin-user=kodi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then you can create /etc/lightdm/lightdm.conf.d/50-myconfig.conf, but ensure the settings in /etc/lightdm/lightdm.conf agree.&lt;br /&gt;
&lt;br /&gt;
Create a custom configuration file called &#039;&#039;&#039;50-myconfig.conf&#039;&#039;&#039; using &#039;&#039;&#039;nano&#039;&#039;&#039; or other CLI text editor.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /etc/lightdm/lightdm.conf.d/&lt;br /&gt;
nano /etc/lightdm/lightdm.conf.d/50-myconfig.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Inside this new file add the following text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[SeatDefaults]&lt;br /&gt;
autologin-user=kodi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CTRL +O +Enter +X to save and exit from &#039;&#039;&#039;nano&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== Configure Kodi to autostart ==&lt;br /&gt;
&lt;br /&gt;
Configure Kodi to autostart.&lt;br /&gt;
&lt;br /&gt;
A)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo sed -i &amp;quot;1i @kodi&amp;quot; /etc/xdg/lxsession/LXDE-pi/autostart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
B)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p ~/.config/autostart&lt;br /&gt;
ln -s /usr/bin/kodi ~/.config/autostart&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This method of autostart requires a desktop environment or DE. This is done a bit differently by each DE. Some helpful links can easily be found in today&#039;s Web search using any search engine.&lt;br /&gt;
&lt;br /&gt;
[http://edoceo.com/gui/xfce-autostart-apps Autostart Apps in XFCE]&lt;br /&gt;
&lt;br /&gt;
And this link shows how to autostart an app in LXDE on Raspbian.&lt;br /&gt;
&lt;br /&gt;
[http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/auto-running-programs-gui Auto running programs LXDE - Raspberry Pi Projects]&lt;br /&gt;
&lt;br /&gt;
The Raspberry Pi is a bit more of a tweak, but these are excellent links that will tell you how. The first link is the most helpful to making sure Kodi autostarts in Pi, and utilizes a &#039;&#039;&#039;crontab&#039;&#039;&#039;. There are many settings on the Pi that control boot, and the first link gives the best most trouble-free way to boot directly to Kodi. &lt;br /&gt;
&lt;br /&gt;
[https://www.leowkahman.com/2016/03/05/lamp-stack-on-raspberry-pi-with-kodi-running-at-startup/ LAMP stack on Raspberry Pi with Kodi running at startup]&lt;br /&gt;
&lt;br /&gt;
In the above link, the author describes using Crontab (short for &amp;quot;Cron table&amp;quot;) to boot directly to Kodi.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt install cron&lt;br /&gt;
crontab -e&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cron will ask you to choose a text editor from available options. I choose option 2 for &#039;&#039;&#039;nano&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
In the new Crontab, enter the following text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@reboot kodi --standalone&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You could also consider using Crontab to run a script, much like described on this page in the section entitled &amp;quot;Run kodi in a window manager&amp;quot; if you scroll down the page.&lt;br /&gt;
&lt;br /&gt;
[https://wiki.archlinux.org/index.php/Kodi Kodi - Run kodi in a window manager]&lt;br /&gt;
&lt;br /&gt;
Instead your Crontab could look like this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@reboot startx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And create an &#039;&#039;&#039;~/.xinitrc&#039;&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano ~/.xinitrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;~/.xinitrc&#039;&#039;&#039; file should look like this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
kodi --standalone #(this is proper syntax for most Kodi installs)&lt;br /&gt;
#kodi-standalone #(this is the syntax that works on Raspbian, not other Pi operating systems)&lt;br /&gt;
sudo chvt 2 &lt;br /&gt;
sleep 1&lt;br /&gt;
sudo chvt 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Raspbian has a repository package for everything, so kodi-standalone can be run as a package rather than a command argument.&lt;br /&gt;
&lt;br /&gt;
Make sure to make &#039;&#039;&#039;~/.xinitrc&#039;&#039;&#039; executable by running.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod +x ~/.xinitrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To ensure no password is required by &#039;&#039;&#039;sudo&#039;&#039;&#039; for any user logging in when this script runs, you must edit /etc/sudoers or run the &#039;&#039;&#039;visudo&#039;&#039;&#039; command if it is installed to edit /etc/sudoers. &lt;br /&gt;
&lt;br /&gt;
You can install &#039;&#039;&#039;visudo&#039;&#039;&#039; from your Linux distributions default repository.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt install sudo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To use &#039;&#039;&#039;visudo&#039;&#039;&#039; simply run the command in the terminal.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
visudo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For any non-root users, create an entry in /etc/sudoers with &#039;&#039;&#039;nano&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/sudoers&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create an entry on any line that is comfortable to you like shown here.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
kodi ALL=NOPASSWD: /usr/bin/chvt&lt;br /&gt;
# pi ALL=NOPASSWD: /usr/bin/chvt #(if you do not add user kodi)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above example is for users &#039;&#039;&#039;pi&#039;&#039;&#039; and &#039;&#039;&#039;kodi&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you decide not use a Cron table, you can always remove it again.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
crontab -r&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a quick reference for Crontab.&lt;br /&gt;
&lt;br /&gt;
[http://www.adminschoice.com/crontab-quick-reference Crontab Quick Reference]&lt;br /&gt;
&lt;br /&gt;
These linked pages facilitate more tweaks and settings relevant to other uses of the X Window System on Pi.&lt;br /&gt;
&lt;br /&gt;
[http://ozzmaker.com/enable-x-windows-on-piscreen/ Enable X Window System on PiScreen]&lt;br /&gt;
&lt;br /&gt;
Other things to tweak on Raspbian.&lt;br /&gt;
&lt;br /&gt;
[https://yingtongli.me/blog/2016/12/21/splash.html Raspbian splash screen guide - Clean up the boot process]&lt;br /&gt;
&lt;br /&gt;
[https://scribles.net/lightning-bolt-under-voltage-warning-on-raspberry-pi/ Under voltage warning and disabling splash screen on Raspbian]&lt;br /&gt;
&lt;br /&gt;
[https://raspberrypi.stackexchange.com/questions/59310/remove-boot-messages-all-text-in-jessie Remove boot messages all text in Raspbian - Raspberry Pi Stack Exchange]&lt;br /&gt;
&lt;br /&gt;
And, if you would rather, it is easier to follow the process provided by this link to modify the Raspbian image before installing it onto the microSD card.&lt;br /&gt;
&lt;br /&gt;
[https://wiki.debian.org/RaspberryPi/qemu-user-static Modifying Raspbian with qemu-user-static]&lt;br /&gt;
&lt;br /&gt;
The above link describes removing the DE from a Raspbian image, though Raspbian Lite is a much better starting point for using Qemu for this purpose.&lt;br /&gt;
&lt;br /&gt;
You can also use the X11 Window System to autostart Kodi by placing a startup script in the /etc/X11/Xsession.d/ directory.&lt;br /&gt;
&lt;br /&gt;
[https://debian-administration.org/article/50/Running_applications_automatically_when_X_starts Running applications automatically when X starts]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /etc/X11/Xsession.d/startup-local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Insert this text into the new file. Use CTRL + O + Enter + X to save the file. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
/usr/bin/kodi &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have a WM, such as Blackbox you can add it here as well. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
blackbox &amp;amp;&lt;br /&gt;
/usr/bin/kodi &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set permissions to make it executable. Use the ampersand to run each command in the background till the last line or your script will get stuck on the first line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod 755 /etc/X11/Xsession.d/startup-local&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If Kodi is not installed at the standard path, find it using the &#039;&#039;&#039;which&#039;&#039;&#039; command.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
which kodi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This feature is available on X Window System operating systems most Linux distributions use the X Window System.&lt;br /&gt;
&lt;br /&gt;
== Create custom Xsession script ==&lt;br /&gt;
&lt;br /&gt;
To create a custom Xsession script with a text editor we start with an &#039;&#039;&#039;xinitrc&#039;&#039;&#039; script. For more detail on how to create and use &#039;&#039;&#039;xinit&#039;&#039;&#039;, there is a great guide available here.&lt;br /&gt;
&lt;br /&gt;
[https://en.wikibooks.org/wiki/Guide_to_X11/Starting_Sessions Guide to X11 - Starting Sessions - WikiBooks]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano ~/.xinitrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To run Kodi full-screen make sure the text reads:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env bash&lt;br /&gt;
exec gnome-session &amp;amp;&lt;br /&gt;
/usr/bin/kodi -fs &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace the &#039;&#039;&#039;gnome-session&#039;&#039;&#039; with the DE or WM command you are using. See the last section for examples.&lt;br /&gt;
&lt;br /&gt;
To make &#039;&#039;&#039;~/.xinitrc&#039;&#039;&#039; executable use.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chmod +x ~/.xinitrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &#039;&#039;&#039;sudo&#039;&#039;&#039; and the &#039;&#039;&#039;~/.xinitrc&#039;&#039;&#039; file to configure &#039;&#039;&#039;~/.xsession&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo -H -u kodi bash -c &amp;quot;ln -s ~/.xinitrc /home/kodi/.xsession&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure the path goes to user&#039;s home directory. In this example, the user is &#039;&#039;&#039;kodi&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
You need to use &#039;&#039;&#039;sudo&#039;&#039;&#039; to run this command. If you do not have &#039;&#039;&#039;sudo&#039;&#039;&#039;, install it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt install sudo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you create a symbolic link and want to remove it, simply remove the existing &#039;&#039;&#039;.xsession&#039;&#039;&#039; file you created.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rm /home/kodi/.xsession&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On some systems using a DE such as Gnome, not all systems using Gnome, it may be necessary for &#039;&#039;&#039;.xsession&#039;&#039;&#039; to be &#039;&#039;&#039;.xsessionrc&#039;&#039;&#039;. Though this is more likely the case for organization network computers than a personal one, where configurations may vary on a diversity of machines. Most of the time, it will be &#039;&#039;&#039;.xsession&#039;&#039;&#039; rather than &#039;&#039;&#039;.xsessionrc&#039;&#039;&#039; that you want to create. &lt;br /&gt;
&lt;br /&gt;
You can also create the &#039;&#039;&#039;.xsession&#039;&#039;&#039; script directly in the home directory, rather than link it from &#039;&#039;&#039;~/.xinitrc&#039;&#039;&#039;. This is necessary if you create multiple custom Xsession scripts for multiple users, and you do not in that case link &#039;&#039;&#039;~/.xinitrc&#039;&#039;&#039; to &#039;&#039;&#039;.xsession&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
To enable multiple displays edit the &#039;&#039;&#039;.bashrc&#039;&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano ~/.bashrc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add the following text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if [[ ! $DISPLAY &amp;amp;&amp;amp; $XDG_VTNR -le 3 ]]; then&lt;br /&gt;
  exec startx&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For two monitors add the following as shown.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if [[ ! $DISPLAY &amp;amp;&amp;amp; $XDG_VTNR -le 2 ]]; then&lt;br /&gt;
  exec startx&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a single monitor use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if [[ ! $DISPLAY &amp;amp;&amp;amp; $XDG_VTNR -eq 1 ]]; then&lt;br /&gt;
  exec startx&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to remain logged in after quitting X, remove the &#039;&#039;&#039;exec&#039;&#039;&#039; from the above. Other configurations can be applied, but are irrelevant to autostarting Kodi.&lt;br /&gt;
&lt;br /&gt;
[https://wiki.archlinux.org/index.php/Xinit#Autostart_X_at_login Xinit Autostart X at login]&lt;br /&gt;
&lt;br /&gt;
If you are using LightDM and you just want to create a new login entry for user &#039;&#039;&#039;kodi&#039;&#039;&#039;, you must create a new file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano /usr/share/xsessions/custom.desktop&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And insert the following text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[Desktop Entry]&lt;br /&gt;
Name=Xsession&lt;br /&gt;
Exec=/etc/X11/Xsession&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will create a new login option for the custom Xsession. Only this one entry is necessary for LightDM and X11 to find the &#039;&#039;&#039;~/.xsession&#039;&#039;&#039; script in each user&#039;s home directory.&lt;br /&gt;
&lt;br /&gt;
You can use any window manager or desktop enviroment with a custom Xsession script as long as it is installed.&lt;br /&gt;
&lt;br /&gt;
You do this by creating &#039;&#039;&#039;~/.xinitrc&#039;&#039;&#039; script that contains the command to start the WM or DE.&lt;br /&gt;
&lt;br /&gt;
For instance, if you are using FluxBox.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env bash&lt;br /&gt;
exec fluxbox &amp;amp;&lt;br /&gt;
/usr/bin/kodi -fs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;-fs&amp;lt;/code&amp;gt; option is full-screen.&lt;br /&gt;
&lt;br /&gt;
To run Gnome in the background, but launch Kodi in the foreground.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env bash&lt;br /&gt;
exec gnome-session &amp;amp;&lt;br /&gt;
/usr/bin/kodi -fs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the &#039;&#039;&#039;~/.xinitrc&#039;&#039;&#039; file to configure &#039;&#039;&#039;~/.xsession&#039;&#039;&#039; to create a custom login for any user, not just Kodi. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo -H -u [username] bash -c &amp;quot;ln -s ~/.xinitrc ~/.xsession&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You must reconfigure Xserver for any user that is not a privileged user to be able to start a custom Xsession.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
dpkg-reconfigure xserver-xorg-legacy &lt;br /&gt;
dpkg-reconfigure xserver-xorg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When you reconfigure X11 with these commands, choose to allow non-root users (anybody) to start an Xsession. You should see your changes take effect after rebooting.&lt;/div&gt;</summary>
		<author><name>Postcd</name></author>
	</entry>
</feed>