Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1155898
Summary: | sddm does not honor defaults | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ed Greshko <ed.greshko> | ||||
Component: | sddm | Assignee: | Rex Dieter <rdieter> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 21 | CC: | dvratil, jgrulich, kevin, ltinkl, mbriza, rdieter, sudhir | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | sddm-0.10.0-2.fc21 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-11-13 18:21:03 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: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Ed Greshko
2014-10-23 06:42:19 UTC
I have recently installed the KDE environment from the Beta RC1 net install of F21. Now, it seems, the /etc/sddm.conf has no effect even though the sddm version is the same. The last user is not remembered and neither is the Last Session. One always has to select "KDE plasma workspace" as "KDE plasma workspace (failsafe session) is always at the top. It remembered last user on an older install but it doesn't on a newer Fedora 20 install. I have also noticed that SDDM picks up the first in list for the default session and hence "KDE plasma workspace (failsafe session)". I don't have this problem after I installed Plasma 5. Are you suggesting the fix to be "install Plasma 5"? Not suggesting anything. Version 0.10 has been available for rawhide maybe that solves some of your annoyances. Maybe 0.10 will fix some of my issues. I'll have to give it a try. But, since there is a freeze it won't get into F21 right? Not to mention that sddm seems ill suited for a multi-display environment. At least kdm had configuration options to place the greeter screen on a given screen. No such ability in sddm. There is a freeze exception request filed for 0.10 because it fixes some security issues (and a bunch of other bugs), it has been accepted, but it's not a blocker (and it is a significant change), so we are not entirely sure that it will go into the Beta. It will only be allowed into the stable repository before the Beta if it does enter the Beta, otherwise it will get pushed after the Beta gets released. I installed sddm-0.10.0-1.fc22.x86_64 from koji and have an /etc/sddm.conf of [General] AutoRelogin=true AutoUser=egreshko CursorTheme=#kde_legacy# HaltCommand= MaximumUid=65000 MinimumUid=1000 Numlock=on RebootCommand= [Users] RememberLastSession=true RememberLastUser=true Nothing is being honored... I really would be hesitant to release sddm in its current broken state no matter how pretty it looks or the fact that it is "under active development". Oh, BTW, the sddm.conf was written by the System Settings GUI of KDE. It's unfortunately expected that a config file from SDDM 0.9 no longer works, 0.10 uses completely different setting keys. The man page with the sddm-0.10.0-1.fc22.x86_64 is exactly the same as the previous man page. Do you have a pointer to the new format? Oh.... FWIW, I found a suggestion to use "sddm --example-config" to get a sample config file. I did so, and it seems to be no different than 0.9. I'll attach it for completeness. Created attachment 950874 [details]
Sample config file generated by sddm-0.10.0-1.fc22.x86_64
I can't see any difference between a 0.9 and 0.1 config file...
Compare the group and key names: > [General] > AutoRelogin=true This is now [Autologin] Relogin=. > AutoUser=egreshko This is now [Autologin] User=. > CursorTheme=#kde_legacy# This is now under [Theme]. > HaltCommand= This one is still valid, but sddm --example-config is also outputting this setting, so either it's the default anyway or it's picking up your setting just fine. > MaximumUid=65000 > MinimumUid=1000 These two are now under [Users]. > Numlock=on > RebootCommand= These two are still valid, but sddm --example-config is also outputting those settings, so either they're the default anyway or it's picking up your settings just fine. > [Users] > RememberLastSession=true > RememberLastUser=true These two are still valid, but sddm --example-config is also outputting those settings, so either they're the default anyway or it's picking up your settings just fine. OK.... I misunderstood your comment about "keys". So, I just took the output of the --example-config and copied it to /etc/sddm.conf. No change.... The RememberLastSession and RememberLastUser are having no effect. --example-config prints the complete current configuration, that is the defaults with what /etc/sddm.conf overrides. Regarding the reported problem with remembering of previous sessions and users, it just works for me. Currently, I'm testing if there's any circumstance to cause the behavior you experience yet I'm not really successful. It's good to mention though, that we moved the LastUser and LastSession key/values to /var/lib/sddm/state.conf to keep it out of /etc (and prevent sddm from overwriting its own config itself). I'm sorry for not being present on IRC over the weekend, I was out of town. This week, the situation should be much better (especially on Wednesday and further on). I hope we can solve this ASAP. Any suggestions on what needs to be done to determine why it works for you and not for me? FWIW, I have no /var/lib/sddm directory. Also, I don't think should make any difference but I am running F21 in a Vbox VM. Oops, /var/lib/sddm not existing would indeed be a cause for many of the symptoms described. What is responsible for its creation? [egreshko@localhost ~]$ rpm2cpio sddm-0.10.0-1.fc22.x86_64.rpm | cpio -it | grep var 2105 blocks ./var/run/sddm seems to indicate it isn't part of the sddm package. I created both /var/lib/sddm and state.conf. I used RememberLastSession=true and RememberLastUser=true in it but it still doesn't do anything. OK..... I created the directory /var/lib/sddm. I also have a /etc/sddm.conf I did this via a ssh session. Then I logged in and logged out. And the RememberLastSession and RememberLastUser now are functioning as expected. So.....the question becomes why didn't I have a /var/lib/sddm directory? Sorry, forgot to mention that the login/logout then produced a /var/lib/sddm/state.conf /var/lib/sddm not existing is a packaging bug, I'm fixing it now (it has to be user.group sddm.sddm) Yep, creating /var/lib/sddm solves the problem. Great.... Glad we got that sorted out. Now, if only sddm could have as good a memory as kdm and remember the last session for each user and not only the last session for the last user. Once sddm supports accountssservice, it will (not implemented yet) sddm-0.10.0-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/sddm-0.10.0-2.fc21 sddm-0.10.0-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/sddm-0.10.0-2.fc20 (In reply to Rex Dieter from comment #25) > Once sddm supports accountssservice, it will (not implemented yet) Good to know.... What other features are planned, but not there yet? I wonder how sddm works in a multi-display environment. With kdm I make use of the GreeterScreen parameter in kdmrc to put the greeter where it is wanted. Both of these features would be key for acceptance of sddm for several of my clients. Package sddm-0.10.0-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing sddm-0.10.0-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-13756/sddm-0.10.0-2.fc20 then log in and leave karma (feedback). sddm-0.10.0-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. sddm-0.10.0-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |