Re: Sddm cannot find breeze theme

"dave kohler" ([email protected] via blfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <CAE62XYoDkKxixwQb6_ySyinLxYoQ4EwLN7LMbBjeRnt2X5EWwg@mail.gmail.com>
> I'm wondering what symlinks you are talking about.  The only symlinks
> that should be relevant in this matter are the ones in
> - /usr/share/xsessions
> - /usr/share/wayland-sessions
>
> You should verify that they exist and point to the right files.  See
> "Installation of Plasma", section beginning with "If you did not set
> $KF6_PREFIX to /usr, create symlinks..."
>
> If that doesn't help you you should perhaps post the
> waylanThemeDir=d-section of
> your sddm.conf.
>

Sorry for the delayed response.
I have confirmed that the symlinks in /usr/share/xsessions and
/usr/share/wayland sessions were applied correctly.
By comparison with the sddm example-config I see that I also  applied a
modification in the ThemeDir path so that the Breeze
theme could be found in the /opt/kf6 area. lastly I applied the suggested
GreeterEnvironment value as suggested by sicarine.

I believe that I initially had placed a symlink in
the /usr/share/sddm/themes to point at the Breeze theme, but later realized
I could
add its /opt/kf6 location to the ThemeDir path in the sddm.conf file.

I have attached my entire sddm.conf file.

When I boot into this system, I see a 'normal' sddm screen where I have
Plasma/Wayland operation selected. After I enter the
password, The screen clears, I see some 10 or more lines of text flash by
including at least one read line, then the screen clears again
and I am back to seeing the sddm screen asking for a login.

Here is the entire content of the wayland-session.log file:
kf.dbusaddons: Skipping syncing of environment variable
 "BASH_FUNC_pathappend%%" as name contains unsupported characters
kf.dbusaddons: Skipping syncing of environment variable
 "BASH_FUNC_pathprepend%%" as name contains unsupported characters
kf.dbusaddons: Skipping syncing of environment variable
 "BASH_FUNC_pathremove%%" as name contains unsupported characters
org.kde.startup: "kdeinit5_shutdown" QList() exited with code 255
startplasma-wayland: Shutting down...
startplasmacompositor: Shutting down...
startplasmacompositor: Done.

Note the first 3 lines correspond to what sicarine and I have reported in
earlier posts, occurring again under yet different initiating conditions.
Apparently KDE does not tolerate the exporting of functions to the
environment, or only allows symbols.

I am guessing that the brief text output is coming from the kde startup,
but have not yet discovered where there might be any other information
providing details of the failure.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page
sddm.conf (text/plain, 3.7 KB)
[Autologin]
# Whether sddm should automatically log back into sessions when they exit
Relogin=false

# Name of session file for autologin session (if empty try last logged in)
Session=

# Username for autologin session
User=


[General]
# Which display server should be used.
# Valid values are: x11, x11-user, wayland. Wayland support is experimental
DisplayServer=x11

# Comma-separated list of environment variables to be set
GreeterEnvironment=QML2_IMPORT_PATH=/opt/kf6/lib/qml:/opt/qt6/qml,QT_PLUGIN_PATH=/opt/kf6/lib/plugins:
/opt/kf6/lib/plugins/kcms:/usr/lib/plugins:/opt/qt6/plugins,XDG_DATA_DIRS=/usr/local/share:/usr/share:
/opt/kf6/share,XDG_CONFIG_DIRS=/home/dave/.config/kdedefaults:/etc/xdg:/opt/kf6/etc/xdg,PATH=
/usr/local/bin:/usr/bin:/opt/kf6/bin:/opt/qt6/bin


# Halt command
HaltCommand=/usr/bin/systemctl poweroff

# Input method module
InputMethod=

# Comma-separated list of Linux namespaces for user session to enter
Namespaces=

# Initial NumLock state. Can be on, off or none.
# If property is set to none, numlock won't be changed
# NOTE: Currently ignored if autologin is enabled.
Numlock=none

# Reboot command
RebootCommand=/usr/bin/systemctl reboot


[Theme]
# Current theme name
Current=

# Cursor size used in the greeter
CursorSize=

# Cursor theme used in the greeter
CursorTheme=

# Number of users to use as threshold
# above which avatars are disabled
# unless explicitly enabled with EnableAvatars
DisableAvatarsThreshold=7

# Enable display of custom user avatars
EnableAvatars=true

# Global directory for user avatars
# The files should be named <username>.face.icon
FacesDir=/usr/share/sddm/faces

# Font used in the greeter
Font=

# Theme directory path
ThemeDir=/usr/share/sddm/themes:/opt/kf6/share/sddm/themes


[Users]
# Default $PATH for logged in users
DefaultPath=/usr/local/bin:/usr/bin:/bin

# Comma-separated list of shells.
# Users with these shells as their default won't be listed
HideShells=

# Comma-separated list of users that should not be listed
HideUsers=

# Maximum user id for displayed users
MaximumUid=60513

# Minimum user id for displayed users
MinimumUid=1000

# Remember the session of the last successfully logged in user
RememberLastSession=true

# Remember the last successfully logged in user
RememberLastUser=true

# When logging in as the same user twice, restore the original session, rather than create a new one
ReuseSession=true


[Wayland]
# Path of the Wayland compositor to execute when starting the greeter
CompositorCommand=weston --shell=kiosk

# Enable Qt's automatic high-DPI scaling
EnableHiDPI=true

# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/wayland-session

# Comma-separated list of directories containing available Wayland sessions
SessionDir=/usr/local/share/wayland-sessions,/usr/share/wayland-sessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/wayland-session.log


[X11]
# Path to a script to execute when starting the display server
DisplayCommand=/usr/share/sddm/scripts/Xsetup

# Path to a script to execute when stopping the display server
DisplayStopCommand=/usr/share/sddm/scripts/Xstop

# Enable Qt's automatic high-DPI scaling
EnableHiDPI=true

# Arguments passed to the X server invocation
ServerArguments=-nolisten tcp

# Path to X server binary
ServerPath=/usr/bin/X

# Path to a script to execute when starting the desktop session
SessionCommand=/usr/share/sddm/scripts/Xsession

# Comma-separated list of directories containing available X sessions
SessionDir=/usr/local/share/xsessions,/usr/share/xsessions

# Path to the user session log file
SessionLogFile=.local/share/sddm/xorg-session.log

# Path to Xephyr binary
XephyrPath=/usr/bin/Xephyr
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.