Bug 19230

Summary: Kodi login selection in lxdm is missing.
Product: Mageia Reporter: Marc Lattemann <marc.lattemann>
Component: RPM PackagesAssignee: Anssi Hannula <anssi.hannula>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: doktor5000
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: kodi-16.1-3.mga6 CVE:
Status comment:

Description Marc Lattemann 2016-08-21 21:02:43 CEST
After updating MGA5 to MGA6 the login option for Kodi when using lxdm is not listed anymore. Also in mcc for autologin the option for kodi is missing.

I checked /usr/share/xsessions and no kodi.desktop file is present. Adding this file manually recovers the login option in lxdm.

In the spec-file the upstream desktop-file is removed and replace by a file in /etc/X11/wmsession.d/. Discussing it with Florian (doktor5000) in the German forum and we think of removing the following part of the spec-file?

419    # unused
420    rm %{buildroot}%{_datadir}/xsessions/{xbmc,kodi}.desktop
421    # our version of the above:
422    install -d -m755 %{buildroot}%{_sysconfdir}/X11/wmsession.d
423    cat > %{buildroot}%{_sysconfdir}/X11/wmsession.d/15Kodi <<EOF
424    NAME=Kodi
425    ICON=%{name}.png
426    DESC=Kodi Media Center
427    EXEC=%{_bindir}/%{name}-standalone
428    SCRIPT:
429    exec %{_bindir}/%{name}-standalone
430    EOF

Not sure how this is related to https://bugs.mageia.org/show_bug.cgi?id=17617 ?
Comment 1 Anssi Hannula 2016-08-21 21:45:20 CEST
That course of action seems correct, thanks.

Per #17617 it looks like X11 sessions are no longer generated from wmsession.d.

Status: NEW => ASSIGNED

Florian Hubold 2016-08-22 00:17:51 CEST

CC: (none) => doktor5000

Comment 2 Florian Hubold 2016-08-22 00:20:28 CEST
Note to self: https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager also should be updated now that we primarily use .desktop files from /usr/share/xsessions/ for the sessions.
Comment 3 Anssi Hannula 2016-08-22 21:03:17 CEST
This should be fixed in kodi-16.1-4.mga6. Please re-open if the issue still occurs.

Thanks for the report.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED