Archive talk:HOW-TO:Autostart Kodi for Linux
I think it's worth adding an edit here to the effect that - to my knowledge - there's no way of enabling an ubuntu account to auto-login, and so to autostart Kodi, if the installation uses encrypted home directories. I had this issue and have posted on the Ask Ubuntu site to this effect.
May I add a subsection outlining how to remove encrypted home directories per the linked answer above?
I updated this old page. I think it could be a lot better. It needs instructions for RPM-based commands and commands on systems like Manjaro which use a different command set. I could do this in time. Anyone who knows how to easily convert the commands can as well. It is very basic stuff. I am surprised no one has written about writing an Xsession script before. Kodi standalone service is new software. It was in the Arch Linux repo, but it got moved. This page could use some screenshots, and I think could be a How-To for any Linux. I cannot seem to get the human verification box for external links, but it prompts me to enter two words. Only there is nowhere to see these words or put them into a box. I am not sure if external links are disabled on this page. W3tech (talk) 05:27, 2 February 2018 (EST) w3tech
So the code is much tighter after testing on more Ubuntu derivatives. It also needed put into better order. I am not finished with it yet. Working on screenshots and multimedia and expanding command sets for using other Linux distros. It is really more appropriately a guide for configuring an X Window System with autologin and autostart options. It can be used with any app or media player, not exclusively Kodi. W3tech (talk) 14:01, 19 February 2018 (EST)
I have been editing this page and testing this configuration. I have always had it tight, but never running Kodi as a systemd service. Do not do it! It does not work and if supplied with a username Kodi will really misbehave and make login impossible this way. There are packages out there to do it. I would not recommend it.
So, I will continue by adding multimedia in the future if this page remains. I also am heading over to the archive on compiling Kodi for Ubuntu and Kodibuntu. You can do both and make your own home brew Kodibuntu. The plan.W3tech (talk) 20:25, 5 March 2018 (EST)w3techie