I have followed the Kodi Wiki on how to auto start my media center, and it works perfectly! Only problem is is when I exit the system and try to enter my user Desktop, it gives me the error, "Failed to Start Session" Here is the Lightdm conf file that Kodi Wiki had me add... /etc/lightdm/lightdm.conf
[Seat:*]
autologin-user=kodi
autologin-session=kodi
Is there a way to configure this to have kodi auto start, but when I want to use my Desktop, be able to exit and log into Ubuntu 16.10?
**
Happy New Year to ALL!
**
As requested by George.... Kodi Wiki
I did Step 1...
1 Create a user to run Kodi
For security reasons, it is recommended (but optional) to use a dedicated user to run Kodi. The user needs access to audio and video devices as well as access the internet if you're going to use any features that require internet access. Most methods present here allow to specify which user will start / own the Kodi process.
Notice the groups might vary from one distro to another. The groups used below are for Debian-based distributions. To create the user (named kodi here) and give it the necessary permissions, run
sudo adduser --disabled-password --disabled-login --gecos "" kodi
Then, assign it to the following groups in order to give it the permissions it needs.
sudo usermod -a -G cdrom,netdev,audio,video,plugdev,users,dialout,dip,input kodi
To give it access to the internet, add the group netdev as well.
and Step 6...
6 Use autologin feature of lightdm
This works if you have a window manager as well.
Install lightdm
sudo apt-get install lightdm
Modify /etc/lightdm/lightdm.conf and set the following settings under section [Seat:*]:
sudo nano /etc/lightdm/lightdm.conf
[Seat:*]
autologin-user=kodi
autologin-session=kodi
Reboot and you're done