Red Hat Bugzilla – Bug 1006423
system-switch-displaymanager does not support sddm
Last modified: 2015-04-07 05:12:22 EDT
Description of problem:
[root@localhost ~]# system-switch-displaymanager sddm
The graphical display manager sddm is not supported yet.
I can switch to sddm manually using systemctl commands. Since sddm is now the default DM for KDE, this really should work.
Version-Release number of selected component (if applicable):
SDDM support is now added to system-switch-displaymanager-1.4-1. Unfortunately, with (at least) sddm-0.10.0-3.fc21 on a Fedora 21 x86_64 system it gives the following error:
ERROR: SDDM is not installed on your machine! to install SDDM, please type yum install sddm
The reason for this error is that system-switch-displaymanager looks for the sddm binary in /usr/sbin instead of /usr/bin.
--- /usr/share/system-switch-displaymanager/system-switch-displaymanager-helper.orig 2015-02-10 15:46:52.000000000 +0100
+++ /usr/share/system-switch-displaymanager/system-switch-displaymanager-helper 2015-02-25 17:11:42.094453180 +0100
@@ -59,7 +59,7 @@
- [ ! -x /usr/sbin/sddm ] && error SDDM sddm
+ [ ! -x /usr/bin/sddm ] && error SDDM sddm
With this change, SDDM is supported properly on Fedora 21.
it's fixed, i will build it into rawhide today. thanks for your report.
Current available version of system-switch-displaymanager in Fedora 21 is 1.4.1 and it appears to still have this bug. There is a simple workaround:
line 64, in the test for sddm availability, replace /usr/sbin/sddm with /usr/bin/sddm. It does the same thing as the patch from Bas Mevissen.
The switch to sddm works after this change (tested with the gui).
There is a newer version (1.5-1) in Koji that seems to have the issue fixed. See http://koji.fedoraproject.org/koji/buildinfo?buildID=615547
This package is fine too on fc21 (tested it myself). It just needs to tagged as fc21 update. Ngo, can you please do that anytime soon?