Bug 482059 - SDDM Theme is not being used
Summary: SDDM Theme is not being used
Status: REOPENED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-29 16:32 UTC by tl044cn
Modified: 2024-04-24 16:09 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tl044cn 2024-02-29 16:32:26 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
The SDDM Theme is not applied / does not work. SDDM is using the fallback theme.
Apparently sddm-greeter is missing. 
It doesn't use sddm-greeter-qt6.

STEPS TO REPRODUCE
1. select a theme
2. enter password to confirm
3. reboot system

OBSERVED RESULT
Fallback Theme is being used

EXPECTED RESULT
The selected theme should be used

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon 6.0 x86_64
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 
Qt Version: 6

ADDITIONAL INFORMATION
querying Journalctl yielded:
 journalctl --boot=0 --unit=sddm --no-pager
Feb 29 16:47:18 tl044cn-spectre systemd[1]: Started Simple Desktop Display Manager.
Feb 29 16:47:18 tl044cn-spectre sddm[1522]: Initializing...
Feb 29 16:47:18 tl044cn-spectre sddm[1522]: Starting...
Feb 29 16:47:18 tl044cn-spectre sddm[1522]: Logind interface found
Feb 29 16:47:18 tl044cn-spectre sddm[1522]: Adding new display...
Feb 29 16:47:18 tl044cn-spectre sddm[1522]: Loaded empty theme configuration
Feb 29 16:47:18 tl044cn-spectre sddm[1522]: Xauthority path: "/run/sddm/xauth_rVUfGc"
Feb 29 16:47:18 tl044cn-spectre sddm[1522]: Using VT 2
Feb 29 16:47:18 tl044cn-spectre sddm[1522]: Display server starting...
Feb 29 16:47:18 tl044cn-spectre sddm[1522]: Writing cookie to "/run/sddm/xauth_rVUfGc"
Feb 29 16:47:18 tl044cn-spectre sddm[1522]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_rVUfGc -noreset -displayfd 16
Feb 29 16:47:20 tl044cn-spectre sddm[1522]: Setting default cursor
Feb 29 16:47:20 tl044cn-spectre sddm[1522]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Feb 29 16:47:20 tl044cn-spectre sddm[1522]: Display server started.
Feb 29 16:47:20 tl044cn-spectre sddm[1522]: Socket server starting...
Feb 29 16:47:20 tl044cn-spectre sddm[1522]: Socket server started.
Feb 29 16:47:20 tl044cn-spectre sddm[1522]: Loading theme configuration from "/usr/share/sddm/themes/Swish-0.2/theme.conf"
Feb 29 16:47:20 tl044cn-spectre sddm[1522]: The theme at "/usr/share/sddm/themes/Swish-0.2" requires missing "/usr/bin/sddm-greeter" . Using fallback theme.
Feb 29 16:47:20 tl044cn-spectre sddm[1522]: Loaded empty theme configuration
Feb 29 16:47:20 tl044cn-spectre sddm[1522]: Greeter starting...
Feb 29 16:47:20 tl044cn-spectre sddm-helper[1629]: [PAM] Starting...
Feb 29 16:47:20 tl044cn-spectre sddm-helper[1629]: [PAM] Authenticating...
Feb 29 16:47:20 tl044cn-spectre sddm-helper[1629]: [PAM] returning.
Feb 29 16:47:20 tl044cn-spectre sddm-helper[1629]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=118) by (uid=0)
Feb 29 16:47:21 tl044cn-spectre sddm-helper[1629]: Writing cookie to "/tmp/xauth_oYmZIi"
Feb 29 16:47:21 tl044cn-spectre sddm-helper[1629]: Starting X11 session: "" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm-:0-ZXuLLh"
Feb 29 16:47:21 tl044cn-spectre sddm[1522]: Greeter session started successfully
Feb 29 16:47:21 tl044cn-spectre sddm[1522]: Message received from greeter: Connect
Feb 29 16:47:27 tl044cn-spectre sddm[1522]: Message received from greeter: Login
Feb 29 16:47:27 tl044cn-spectre sddm[1522]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
Feb 29 16:47:27 tl044cn-spectre sddm[1522]: Session "/usr/share/wayland-sessions/plasma.desktop" selected, command: "/usr/lib/x86_64-linux-gnu/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 1
Feb 29 16:47:27 tl044cn-spectre sddm-helper[1953]: [PAM] Starting...
Feb 29 16:47:27 tl044cn-spectre sddm-helper[1953]: [PAM] Authenticating...
Feb 29 16:47:27 tl044cn-spectre sddm-helper[1953]: [PAM] Preparing to converse...
Feb 29 16:47:27 tl044cn-spectre sddm-helper[1953]: [PAM] Conversation with 1 messages
Feb 29 16:47:27 tl044cn-spectre sddm-helper[1953]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Feb 29 16:47:27 tl044cn-spectre sddm-helper[1953]: [PAM] returning.
Feb 29 16:47:27 tl044cn-spectre sddm[1522]: Authentication for user  "tl044cn"  successful
Feb 29 16:47:27 tl044cn-spectre sddm-helper[1953]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Feb 29 16:47:27 tl044cn-spectre sddm-helper[1953]: pam_unix(sddm:session): session opened for user tl044cn(uid=1000) by (uid=0)
Feb 29 16:47:27 tl044cn-spectre sddm[1522]: Auth: sddm-helper exited successfully
Feb 29 16:47:27 tl044cn-spectre sddm[1522]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
Feb 29 16:47:27 tl044cn-spectre sddm-helper[1953]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Feb 29 16:47:27 tl044cn-spectre sddm-helper[1953]: Starting Wayland user session: "/etc/sddm/wayland-session" "/usr/lib/x86_64-linux-gnu/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Comment 1 Carlos De Maine 2024-03-19 11:37:32 UTC
3rd party qt5 sddm themes need to be updated by the upstream authors (or someone else) to be qt6 ssdm compatible
Comment 2 Julien Delquié 2024-03-19 19:49:05 UTC
And what about when it happens with Breeze theme?
Comment 3 Julien Delquié 2024-03-19 19:50:30 UTC
(In reply to Julien Delquié from comment #2)
> And what about when it happens with Breeze theme?

With corresponding logs, it’s better:
mars 19 08:47:15 pasokon.maison sddm[2581]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
mars 19 08:47:15 pasokon.maison sddm[2581]: The theme at "/usr/share/sddm/themes/breeze" requires missing "/usr/bin/sddm-greeter-qt6" . Using fallback theme.
Comment 4 Carlos De Maine 2024-03-21 09:15:59 UTC
that's puzzling .. /usr/bin/sddm-greeter-qt6 is definitely in the package. - https://build.neon.kde.org/job/jammy_release_3rdparty_sddm_bin_amd64/lastSuccessfulBuild/artifact/result/sddm_0.21.0-0xneon+22.04+jammy+release+build35_amd64.deb.info.txt/*view*/
what version of sddm is installed??
Comment 5 Matthew 2024-04-23 11:56:22 UTC
Replicated on the following system:

Gentoo
Kernel 6.8.7
KDE Plasma 6.0.4
KDE Frameworks 6.1.0
QT Vesion 6.7.0
SDDM 0.21
SDDM-KCM 6.0.4
Wayland 1.22.0

SDDM found to be using the fallback greeter on first startup.

Actions taken:
System settings -> SDDM -> Select "Breeze" -> Apply -> Successfully confirm root password -> Apply Plasma Settings -> Successfully confirm root password

SDDM still found to be using its unthemed greeter.

Further details to follow.
Comment 6 Matthew 2024-04-23 12:05:40 UTC
.... /etc/sddm.conf is ...

[X11]
DisplayCommand=/etc/sddm/scripts/Xsetup
ServerArguments=-dpi 0

[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
Numlock=on
RebootCommand=

[Theme]
Current=breeze
CursorSize=18
CursorTheme=breeze_cursors
Font=Noto Sans,8,-1,5,50,0,0,0,0,0

[Users]
MaximumUid=60000
MinimumUid=1000

... /etc/sddm.conf.d/kde_settings.conf reads...

[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
Numlock=on
RebootCommand=

[Theme]
Current=breeze
CursorSize=18
CursorTheme=breeze_cursors
Font=Noto Sans,8,-1,5,50,0,0,0,0,0

[Users]
MaximumUid=60000
MinimumUid=1000

[X11]
ServerArguments=-dpi 0

.... /etc/sddm.conf.d/01gentoo.conf is...

[General]
# Remove qtvirtualkeyboard as InputMethod default
InputMethod=

... /etc/share/sddm/themes/breeze is populated with expected files (Main.qml, etc).
Comment 7 Matthew 2024-04-23 12:10:17 UTC
Output of  journalctl --boot=0 --unit=sddm --no-pager:

Apr 23 08:08:24 integrity systemd[1]: Started Simple Desktop Display Manager.
Apr 23 08:08:24 integrity sddm[874]: Initializing...
Apr 23 08:08:24 integrity sddm[874]: Starting...
Apr 23 08:08:24 integrity sddm[874]: Logind interface found
Apr 23 08:08:24 integrity sddm[874]: Adding new display...
Apr 23 08:08:24 integrity sddm[874]: Loaded empty theme configuration
Apr 23 08:08:24 integrity sddm[874]: Xauthority path: "/run/sddm/xauth_CjdCPd"
Apr 23 08:08:24 integrity sddm[874]: Using VT 2
Apr 23 08:08:24 integrity sddm[874]: Display server starting...
Apr 23 08:08:24 integrity sddm[874]: Writing cookie to "/run/sddm/xauth_CjdCPd"
Apr 23 08:08:24 integrity sddm[874]: Running: /usr/bin/X -dpi 0 -background none -seat seat0 vt2 -auth /run/sddm/xauth_CjdCPd -noreset -displayfd 16
Apr 23 08:08:25 integrity sddm[874]: Setting default cursor
Apr 23 08:08:25 integrity sddm[874]: Running display setup script  "/etc/sddm/scripts/Xsetup"
Apr 23 08:08:25 integrity sddm[874]: Display server started.
Apr 23 08:08:25 integrity sddm[874]: Socket server starting...
Apr 23 08:08:25 integrity sddm[874]: Socket server started.
Apr 23 08:08:25 integrity sddm[874]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Apr 23 08:08:25 integrity sddm[874]: The theme at "/usr/share/sddm/themes/breeze" requires missing "/usr/bin/sddm-greeter-qt6" . Using fallback theme.
Apr 23 08:08:25 integrity sddm[874]: Loaded empty theme configuration
Apr 23 08:08:25 integrity sddm[874]: Greeter starting...
Apr 23 08:08:25 integrity sddm-helper[888]: [PAM] Starting...
Apr 23 08:08:25 integrity sddm-helper[888]: [PAM] Authenticating...
Apr 23 08:08:25 integrity sddm-helper[888]: [PAM] returning.
Apr 23 08:08:25 integrity sddm-helper[888]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=219) by (uid=0)
Apr 23 08:08:25 integrity sddm-helper[888]: Writing cookie to "/tmp/xauth_aQadfC"
Apr 23 08:08:25 integrity sddm-helper[888]: Starting X11 session: "" "/usr/bin/sddm-greeter --socket /tmp/sddm-:0-GgTrzW"
Apr 23 08:08:25 integrity sddm[874]: Greeter session started successfully
Apr 23 08:08:25 integrity sddm[874]: Message received from greeter: Connect
Apr 23 08:08:30 integrity sddm[874]: Message received from greeter: Login
Apr 23 08:08:30 integrity sddm[874]: Reading from "/usr/share/wayland-sessions/plasma.desktop"
Apr 23 08:08:30 integrity sddm[874]: Session "/usr/share/wayland-sessions/plasma.desktop" selected, command: "/usr/lib64/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" for VT 1
Apr 23 08:08:30 integrity sddm-helper[915]: [PAM] Starting...
Apr 23 08:08:30 integrity sddm-helper[915]: [PAM] Authenticating...
Apr 23 08:08:30 integrity sddm-helper[915]: [PAM] Preparing to converse...
Apr 23 08:08:30 integrity sddm-helper[915]: [PAM] Conversation with 1 messages
Apr 23 08:08:30 integrity sddm-helper[915]: gkr-pam: unable to locate daemon control file
Apr 23 08:08:30 integrity sddm-helper[915]: [PAM] returning.
Apr 23 08:08:30 integrity sddm-helper[915]: gkr-pam: stashed password to try later in open session
Apr 23 08:08:30 integrity sddm-helper[915]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Apr 23 08:08:30 integrity sddm[874]: Authentication for user  "matthew"  successful
Apr 23 08:08:30 integrity sddm-helper[915]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Apr 23 08:08:30 integrity sddm-helper[915]: pam_unix(sddm:session): session opened for user matthew(uid=1000) by matthew(uid=0)
Apr 23 08:08:30 integrity sddm[874]: Auth: sddm-helper exited successfully
Apr 23 08:08:30 integrity sddm[874]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
Apr 23 08:08:30 integrity sddm-helper[915]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Apr 23 08:08:30 integrity sddm-helper[915]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Apr 23 08:08:30 integrity sddm-helper[915]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session" "/usr/lib64/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Apr 23 08:08:30 integrity sddm[874]: Session started true
Comment 8 Matthew 2024-04-23 12:13:19 UTC
Notably, there is no /usr/bin/sddm-greeter-qt6 on my system.

ls /usr/bin | grep sddm:
sddm
sddm-greeter
sddmthemeinstaller
Comment 9 Antonio Rojas 2024-04-23 12:49:26 UTC
(In reply to Matthew from comment #8)
> Notably, there is no /usr/bin/sddm-greeter-qt6 on my system.
> 

That's a packaging issue, please report to your distribution
Comment 10 Matthew 2024-04-23 16:10:59 UTC
(In reply to Antonio Rojas from comment #9)
> (In reply to Matthew from comment #8)
> > Notably, there is no /usr/bin/sddm-greeter-qt6 on my system.
> > 
> 
> That's a packaging issue, please report to your distribution

Will do. Is that folder something that belongs to SDDM or KDE-Plasma?
Comment 11 Antonio Rojas 2024-04-23 17:12:28 UTC
(In reply to Matthew from comment #10)
> (In reply to Antonio Rojas from comment #9)
> > (In reply to Matthew from comment #8)
> > > Notably, there is no /usr/bin/sddm-greeter-qt6 on my system.
> > > 
> > 
> > That's a packaging issue, please report to your distribution
> 
> Will do. Is that folder something that belongs to SDDM or KDE-Plasma?

SDDM (not a folder, but an executable)
Comment 12 Andreas Sturmlechner 2024-04-24 16:09:16 UTC
Just for the record, at this point it is not a packaging error but a packaging decision as I cannot personally get the Qt6 greeter to work on my system, and this is documented with a pending bug downstream.