Bug 362020

Summary: Login session changes upon installing Kodi
Product: [Unmaintained] plasma4 Reporter: hagen.sam
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: hagen.sam, kde, nate
Priority: NOR Keywords: usability
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description hagen.sam 2016-04-21 05:25:53 UTC
I'm running Kubuntu 16.04 AMD64 and am running into an interesting situation when I install Kodi.  Upon installation, the Auto Login session changes from "Plasma" to "Kodi."  It's easy enough to change it back but I assume this shouldn't be the case.

This change can lead the operating system to hang on the next startup.

Reproducible: Always

Steps to Reproduce:
1. Activate Auto Login
2. sudo apt-get install kodi
3. Check Auto Login details under System Settings > Startup and Shutdown > Login Screen > Advanced

Actual Results:  
Autologin Session switched from "Plasma" to "Kodi"

Expected Results:  
I would have expected the installation of Kodi not to alter the auto login session.
Comment 1 hagen.sam 2016-04-21 05:33:28 UTC
Some additional system information: 
KDE Plasma Version: 5.5.5
QT Version: 5.5.1
Kernal Version 4.4.0-21-generic
Comment 2 Nate Graham 2017-11-28 21:45:03 UTC
This would be a bug in Kodi itself or more likely, its Ubuntu packaging. It definitely shouldn't change the default session with no user input when  installed.
Comment 3 David Edmundson 2017-11-28 22:58:50 UTC
I doubt it's changing the Session in the SDDM config.

What probably happened is:
 - you had an SDDM config with no session set (if you edited it manually for example..or maybe some installer does that?)

 - you then opened settings, if you don't have a session selected, our combo box will just have the first entry selected.

 - hitting save will update the SDDM config.

Maybe I should put a blank entry in the combo box.