From Fedora Project Wiki
(Created page with "= SDDM as the default KDE display manager instead of KDM = == Summary == Retire KDM as the default display manager of the KDE Fedora Spin in favor of '''SDDM'''. == Owner =...")
 
(Change accepted by FESCo on 2014-04-23 meeting)
 
(19 intermediate revisions by 3 users not shown)
Line 6: Line 6:
== Owner ==
== Owner ==
* [[SIGs/KDE| KDE SIG]]  
* [[SIGs/KDE| KDE SIG]]  
* Email: than@redhat.com, ltinkl@redhat.com, dvratil@redhat.com, mbriza@redhat.com, jgrulich@redhat.com, rdieter@fedoraproject.org, kevin.kofler@chello.at
* Name: mbriza@redhat.com
* Email: than@redhat.com, ltinkl@redhat.com, dvratil@redhat.com, jgrulich@redhat.com, rdieter@fedoraproject.org, kevin.kofler@chello.at
* IRC: #fedora-kde
* IRC: #fedora-kde


== Current status ==
== Current status ==
* Targeted release: [[Releases/20 | Fedora 20 ]]  
* Targeted release: [[Releases/21 | Fedora 21 ]]  
* Last updated: 2013-07-09
* Last updated: 2013-12-08
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
Bugzilla states meaning as usual:
Bugzilla states meaning as usual:
Line 20: Line 21:
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
CLOSED as NEXTRELEASE -> change is completed and verified and will be delivered in next release under development
-->
-->
* Tracker bug: <will be assigned by the Wrangler>
* Tracker bug: [https://bugzilla.redhat.com/show_bug.cgi?id=998542 #998542]


== Detailed Description ==
== Detailed Description ==
As described in many articles and discussions, '''KDM''' is nearing its end of life and it's time we decided upon the successor.
As described in many articles and discussions, '''KDM''' is nearing its end of life and it's time we decided upon the successor.


I'm proposing to switch to '''SDDM''', which is a new project that suits our needs perfectly despite its immaturity:
[[User:Mbriza|I]]'m proposing to switch to '''SDDM''', which is a new project that suits our needs perfectly despite its immaturity:


It's written in ''C++11/Qt5'' (compared to the bits of '''XDM''' in '''KDM'''), supports ''QtQuick'' theming and its upstream is quite active.
As of July 2013, KDM's maintenance consists of bugfixes for the most painful bugs, consisting of only about 20 actual commits to the repository in last two years (excluding translation, themes and merges), adding many new features would require major changes to a lot of the code and there is no active maintainer.
 
SDDM is written in ''C++11/Qt5'' (compared to the bits of '''XDM''' in '''KDM'''), compilable against Qt4, supports ''QtQuick'' theming and its upstream is quite active.
 
Compared to the current ''DM'', '''KDM''', it currently lacks a few features (such as ''XDMCP'') but adds some other ones (''QtQuick'' themes) or is currently adding them (Keyboard layout switching in the greeter).


== Benefit to Fedora ==
== Benefit to Fedora ==
Line 39: Line 44:


* Proposal owners:
* Proposal owners:
** Create <code>sddm</code> and <code>sddm-kcm</code> packages.
** Fix the bugs affecting log in: PAM stack integration and LDAP user lists
** Change <code>kde-settings</code> and the <code>spin-kickstarts</code> to provide '''SDDM''' package instead of '''KDM'''
** Change <code>kde-settings</code> and the <code>spin-kickstarts</code> to provide '''SDDM''' package instead of '''KDM'''
** (eventually) exclude '''KDM''' from the <code>kde-workspace</code> package
** (eventually) exclude '''KDM''' from the <code>kde-workspace</code> package
 
* Other developers: N/A (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Release engineering: N/A (not a System Wide Change)  <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Release engineering: N/A (not a System Wide Change)  <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuid required?  If a rel-eng ticket exists, add a link here.  -->
* Policies and guidelines: N/A (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->


== Upgrade/compatibility impact ==
== Upgrade/compatibility impact ==
Line 53: Line 58:
== How To Test ==
== How To Test ==


System preparation:
Anybody able to run KDE Plasma Workspaces as his desktop can test.
 
=== System preparation ===


* Create some testing users
* Create some testing users
Line 65: Line 72:
  systemctl enable --force sddm.service
  systemctl enable --force sddm.service


Testing itself (basically applies to every DM/DE combination):
=== Basic testing ===
 
(basically applies to every DM/DE combination)


1. Log in as <code>test1</code>
1. Log in as <code>test1</code>
Line 84: Line 93:


7. Use the ''Leave > Switch User > New Session'' dialog to log <code>test2</code> again.
7. Use the ''Leave > Switch User > New Session'' dialog to log <code>test2</code> again.
Please report any deviations from the expected usual multi-user desktop experience.
=== Further tests ===
Also, please test using your regular workflow, especially if your computer is used by more than a single user.
If you're a user of some of the special authentication methods (such as a central authentication server, or a fingerprint reader), please test logging in while using them, too, and report the results to us.


== User Experience ==
== User Experience ==
Line 89: Line 106:


Login screen configuration menu in <code>systemsettings</code> will be different (upstream provides its own ''KCM'' module)
Login screen configuration menu in <code>systemsettings</code> will be different (upstream provides its own ''KCM'' module)
KDM will still be included in the repositories with further updates, allowing the user to switch to it at his option.


== Dependencies ==
== Dependencies ==
Line 96: Line 115:


== Contingency Plan ==
== Contingency Plan ==
Continue to use '''KDM''' as the default '''KDE Spin''' ''display manager''.
* Contingency mechanism: Continue to use '''KDM''' as the default '''KDE Spin''' ''display manager''.
 
* Contingency deadline: Beta freeze
 
* Blocks release? Depends on the state of the feature. If some basic functionality of a display manager is missing, we'll have to revert to KDM.


== Documentation ==
== Documentation ==
Line 102: Line 125:


http://aseigo.blogspot.com/2013/03/logging-into-plasma-workspaces-2.html
http://aseigo.blogspot.com/2013/03/logging-into-plasma-workspaces-2.html
http://www.sharpley.org.uk/node/14
http://www.sharpley.org.uk/blog/lightdm-mir-wayland
http://mjg59.livejournal.com/136274.html
http://lists.kde.org/?l=kde-core-devel&m=130799230315640


[[SIGs/KDE/KDMtoLightDM]]
[[SIGs/KDE/KDMtoLightDM]]


== Release Notes ==
== Release Notes ==
<!-- The Fedora Release Notes inform end-users about what is new in the release. Examples of past release notes are here: http://docs.fedoraproject.org/release-notes/ -->
KDE spin of Fedora now uses SDDM as its new default display manager. KDM (the previous one) is still available for installation from the Fedora repositories.
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns.  If there are any such changes involved in this change, indicate them here.  A link to upstream documentation will often satisfy this need.  This information forms the basis of the release notes edited by the documentation team and shipped with the release.  
 
If you want to return to KDM usage, install it by using <code>yum install kdm</code> and enable the service with <code>systemctl enable --force kdm.service</code>.


Release Notes are not required for initial draft of the Change Proposal but has to be completed by the Change Freeze.
-->


[[Category:ChangePageIncomplete]]
[[Category:ChangeAcceptedF21]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->

Latest revision as of 10:40, 24 April 2014

SDDM as the default KDE display manager instead of KDM

Summary

Retire KDM as the default display manager of the KDE Fedora Spin in favor of SDDM.

Owner

  • KDE SIG
  • Name: mbriza@redhat.com
  • Email: than@redhat.com, ltinkl@redhat.com, dvratil@redhat.com, jgrulich@redhat.com, rdieter@fedoraproject.org, kevin.kofler@chello.at
  • IRC: #fedora-kde

Current status

Detailed Description

As described in many articles and discussions, KDM is nearing its end of life and it's time we decided upon the successor.

I'm proposing to switch to SDDM, which is a new project that suits our needs perfectly despite its immaturity:

As of July 2013, KDM's maintenance consists of bugfixes for the most painful bugs, consisting of only about 20 actual commits to the repository in last two years (excluding translation, themes and merges), adding many new features would require major changes to a lot of the code and there is no active maintainer.

SDDM is written in C++11/Qt5 (compared to the bits of XDM in KDM), compilable against Qt4, supports QtQuick theming and its upstream is quite active.

Compared to the current DM, KDM, it currently lacks a few features (such as XDMCP) but adds some other ones (QtQuick themes) or is currently adding them (Keyboard layout switching in the greeter).

Benefit to Fedora

We'll lead the way for other distributions in terms of which DM to provide for KDE Frameworks 5' / Plasma 2.

Instead of bugreports for obsolete and unmaintainable KDM we'll be getting bugreports for fresh SDDM with clean codebase

Scope

  • Proposal owners:
    • Fix the bugs affecting log in: PAM stack integration and LDAP user lists
    • Change kde-settings and the spin-kickstarts to provide SDDM package instead of KDM
    • (eventually) exclude KDM from the kde-workspace package
  • Other developers: N/A (not a System Wide Change)
  • Release engineering: N/A (not a System Wide Change)
  • Policies and guidelines: N/A (not a System Wide Change)

Upgrade/compatibility impact

Previous versions of Fedora won't be impacted by this change. Their users will have the possibility to switch from whichever DM they were using to SDDM.

SDDM is now lacking some functionality compared to KDM, namely XDMCP, VNC and multi-seat support. They are planned to be added.

How To Test

Anybody able to run KDE Plasma Workspaces as his desktop can test.

System preparation

  • Create some testing users
for i in test1 test2 test3; do useradd --password test $i; done
  • Install and enable SDDM
yum install sddm # when the packages are included in the repositories)
systemctl enable --force sddm.service

Basic testing

(basically applies to every DM/DE combination)

1. Log in as test1

2. From the Kickoff menu, select Leave > Switch User > New Session.

  • SDDM greeter should appear

3. Repeat steps 1. and 2. for users test2 and test3

4. Try switching the sessions (VTs) with [Ctrl+Alt+F<x>] keys.

  • test1 should be on VT1 ([Ctrl+Alt+F1]), test2 on VT2 and so on.

5. Try switching the sessions using the Leave > Switch User dialog.

6. Log out user test2 and switch to test1, then use the Leave -> Switch User dialog to switch to test3.

7. Use the Leave > Switch User > New Session dialog to log test2 again.

Please report any deviations from the expected usual multi-user desktop experience.

Further tests

Also, please test using your regular workflow, especially if your computer is used by more than a single user.

If you're a user of some of the special authentication methods (such as a central authentication server, or a fingerprint reader), please test logging in while using them, too, and report the results to us.

User Experience

KDE Spin login screen's appearance changes.

Login screen configuration menu in systemsettings will be different (upstream provides its own KCM module)

KDM will still be included in the repositories with further updates, allowing the user to switch to it at his option.

Dependencies

Only dependent package will be sddm-kcm, providing the configuration module for SDDM.

Coordination with other maitainers won't be necessary now. However it is possible other DEs will decide to use SDDM as their default DM in future releases.

Contingency Plan

  • Contingency mechanism: Continue to use KDM as the default KDE Spin display manager.
  • Contingency deadline: Beta freeze
  • Blocks release? Depends on the state of the feature. If some basic functionality of a display manager is missing, we'll have to revert to KDM.

Documentation

https://github.com/sddm/sddm

http://aseigo.blogspot.com/2013/03/logging-into-plasma-workspaces-2.html

http://www.sharpley.org.uk/node/14

http://www.sharpley.org.uk/blog/lightdm-mir-wayland

http://mjg59.livejournal.com/136274.html

http://lists.kde.org/?l=kde-core-devel&m=130799230315640

SIGs/KDE/KDMtoLightDM

Release Notes

KDE spin of Fedora now uses SDDM as its new default display manager. KDM (the previous one) is still available for installation from the Fedora repositories.

If you want to return to KDM usage, install it by using yum install kdm and enable the service with systemctl enable --force kdm.service.