F23: sddm fails due to missing theme

Issue #18 on hold
Lukas Middendorf created an issue

After enabling the copr on F23 and installing kde4, I only had a white screen instead of the sddm greeter on my desktop PC. During the "upgrade" the breeze theme for sddm was removed (sddm-breeze is obsoleted by kde-workspace) and I manually had to set

[Theme]
# Current theme name
Current=02-fedora

in /etc/sddm.conf to be able to log in again. Strangely on my notebook the fallback to the fedora theme was automatic even without the change to /etc/sddm.conf

Seems the problem is caused by the fact that the directory /usr/share/sddm/themes/01-breeze-fedora is still present (containing one file theme.conf.user but not the actual theme) on my desktop and not present on my notebook.

Not sure if you can (or should) do something against this, but it should be documented somewhere.

Comments (8)

  1. Piotr Gbyliczek repo owner

    It works on F23 live install with copr repo enabled. Problem indeed may be for users using sddm from kf5 with breeze theme. This would best fixable in sddn-breeze package, but I'll have a look at options for dirty fix.

  2. Piotr Gbyliczek repo owner

    Not sure it is a problem on new install, but for a chance of this being an issue for existing KF5 users downgrading, I'm looking at fixing it in sddm-kcm package (or maybe in kde4-fedora metapackage ?). Both packages seems to be not the best place, so I may as well look at rebuilding sddm itself.

  3. Piotr Gbyliczek repo owner

    I've attempted to fix it via kde4-fedora metapackage.

    It contains sed line that cleans any theme that may be set there. I believe it will then fall back to default.

    Testing required, as I have not see it myself.

  4. Lukas Middendorf reporter
    • changed status to open

    No, this does not work. Default seems to be "first directory" and if it does not contain a real theme, it will fail.

    To reproduce try

    mkdir /usr/share/sddm/themes/01-breeze-fedora
    touch /usr/share/sddm/themes/01-breeze-fedora/theme.conf.user
    

    You could try to add something like this:

    for dir in `find /usr/share/sddm/themes/* -maxdepth 0 -type d`; do if [ ! -f ${dir}/Main.qml ]; then rm -fr $dir; fi; done
    

    But I think I should report this against plasma-workspace in rhbz.

  5. Piotr Gbyliczek repo owner

    I'll put it on hold due to it's dependency to another issue outside the repository.

    I'm considering this resolved.

  6. Log in to comment