You are not logged in.

#1 2021-01-02 01:19:45

ashtonx
Member
Registered: 2020-07-15
Posts: 14

[SOLVED] sddm-kcm not working with sddm ?

Got an issue with sddm-kcm which seem to write config to:

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

however sddm seems to completely ignore this config file ?

here are my settings

╰─ cat /etc/sddm.conf.d/kde_settings.conf
[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=/usr/bin/systemctl poweroff
RebootCommand=/usr/bin/systemctl reboot

[Theme]
Current=breeze

[Users]
MaximumUid=60000
MinimumUid=1000
╰─ cat /etc/sddm.conf.d/sddm.conf 
[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]
# 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=on

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


[Theme]
# Current theme name
Current=

# 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

# Theme directory path
ThemeDir=/usr/share/sddm/themes


[Users]
# Default $PATH for logged in users
DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/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=60000

# 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=false


[Wayland]
# Enable Qt's automatic high-DPI scaling
EnableHiDPI=false

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

# Directory containing available Wayland sessions
SessionDir=/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=false

# The lowest virtual terminal number that will be used.
MinimumVT=1

# 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

# Directory containing available X sessions
SessionDir=/usr/share/xsessions

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

# Path to the Xauthority file
UserAuthFile=.Xauthority

# Path to xauth binary
XauthPath=/usr/bin/xauth

# Path to Xephyr binary
XephyrPath=/usr/bin/Xephyr

honestly i'm lost am i supposed to somehow source it ? is sdm-kcm borked ?

one thing i did was enabling sddm with systemctl

systemctl enable sddm

since it didnt work out of the box as wiki claimed wink, do i maybe need to enable a different service ?

Last edited by ashtonx (2021-01-02 08:12:34)

Offline

#2 2021-01-02 06:07:00

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,686

Re: [SOLVED] sddm-kcm not working with sddm ?

sddm-kcm is supposed to be an add-on for KDE's System Settings and so acts as GUI for managing SDDM. Are you managing the settings via System Settings.

Just comparing to my setup, /etc/sddm.conf.d doesn't exist in my system and my main system-wide configuration is in /etc/sddm.conf. sddm.conf.d in my system is located on /usr/lib/sddm.conf.d

How did you install Archlinux?

Offline

#3 2021-01-02 07:56:57

ashtonx
Member
Registered: 2020-07-15
Posts: 14

Re: [SOLVED] sddm-kcm not working with sddm ?

Yea I'm using it through system settings, i also launched it alone just for test to see if there are any errors (none).

I also got /etc/sddm.conf but it's empty

As for how I installed, oof it's been few years ago through antergos, though after it died i removed their repos and switched all my packages to main arch repo.
That said since then there's been a lot of changes, i'm quite sure i removed and installed kde/plasma since then at least once.

edit: anyway i thought i removed sddm alone before, but i realzied now it's part of kde packages so i prolly left it. I guess i'll look into that (installation) angle and deeper into how it's configured.

Last edited by ashtonx (2021-01-02 08:00:36)

Offline

#4 2021-01-02 08:12:14

ashtonx
Member
Registered: 2020-07-15
Posts: 14

Re: [SOLVED] sddm-kcm not working with sddm ?

K that solved it smile
Seems like leftover configs were the issue, i removed them all manually and reinstalled sddm, everything works fine smile

Thanks for the hint big_smile

Offline

#5 2021-01-02 08:12:20

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,686

Re: [SOLVED] sddm-kcm not working with sddm ?

As for how I installed, oof it's been few years ago through antergos

This really is the root of the problem. Antergos is not Arch and this is evident that certain files are placed differently in that distro. You most probably won't get more help from this forum as it is really for mainline Arch.

Offline

#6 2021-01-02 08:23:50

ashtonx
Member
Registered: 2020-07-15
Posts: 14

Re: [SOLVED] sddm-kcm not working with sddm ?

d_fajardo wrote:

This really is the root of the problem. Antergos is not Arch and this is evident that certain files are placed differently in that distro. You most probably won't get more help from this forum as it is really for mainline Arch.

It wasn't really that much, honestly switching to arch repo was quite easy, I were slowly replacing whatever antergos leftovers with arch stuff.
tbh i'd do a clean arch install.. if there really were any legit issues but honestly stuff like this happens rarely.

Anyway that much help was enough, honestly I'm guessing only reason I missed it is cause sddm is part of kde package and i dislike screwing around with dependencies. I'm sure I replaced whole kde plasma package with arch one but it seems there were still leftovers where i didn't look.

Offline

Board footer

Powered by FluxBB