| Summary: | system-switch-displaymanager does not support sddm | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andre Robatino <robatino> |
| Component: | system-switch-displaymanager | Assignee: | Than Ngo <than> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | abuse, jlambrec, than |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-26 21:18:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Andre Robatino
2013-09-10 15:20:51 UTC
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.
Fix is:
--- /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 @@
;;
SDDM)
DISPLAYMANAGER=SDDM
- [ ! -x /usr/sbin/sddm ] && error SDDM sddm
+ [ ! -x /usr/bin/sddm ] && error SDDM sddm
DM=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: in /usr/share/system-switch-displaymanager/system-switch-displaymanager-helper, 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? |