You are not logged in.
accroding to sddm.conf man page :
"SYNOPSIS
Configuration loads all files in the configuration directories followed by the configuration file in the order listed below with
the latter having the most precedent. Changes should be made to the local configurations.
/usr/lib/sddm/sddm.conf.d
System configuration directory
/etc/sddm.conf.d
Local configuration directory
/etc/sddm.conf
Local configuration file for compatibility
"
but in arch there is no /etc/sddm.conf.d directory .
rename sddm.conf.pacsave to sddm.conf in /etc directory didn't work .
do i need to change the system configuration ?
thanks .
Offline
It doesn't matter if that directory doesn't exist, it just won't be parsed.
Post your /etc/sddm.conf
You may also want to search for the many recent SDDM threads, as it's currently broken for a lot of people.
Last edited by Slithery (2017-12-07 22:03:51)
Offline
My problem is that i have a user in my system which id command result the following :
uid=500(rotem) gid=500(rotem) groups=500(rotem),100(users)
so i tried change the sddm.conf and set :
MinimumUid=499
but the user didn't displayed in sddm login screen .
I have other user which uid= 1000 that displayed correctly .
so i suspect the /etc/sddm.conf is ignored because the same configration works on sddm 0.16 and both users are displayed correctly even when set the minimumUid=500.
Offline
/etc/sddm.conf should work. Did you reboot? You can also try creating /etc/sddm.d/custom.conf with:
[Users]
# Minimum user id for displayed users
MinimumUid=500
Offline
/etc/sddm.conf should work. Did you reboot? You can also try creating /etc/sddm.d/custom.conf with:
[Users] # Minimum user id for displayed users MinimumUid=500
I created custom.conf but it didn't work . this my 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=
# 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 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=/bin:/usr/bin:/usr/local/bin
# Comma-separated list of shells.
# Users with these shells as their default won't be listed
HideShells=/sbin/nologin,/bin/false
# Comma-separated list of users that should not be listed
HideUsers=git,sddm,systemd-journal-remote,systemd-journal-upload
# Maximum user id for displayed users
MaximumUid=65000
# Minimum user id for displayed users
MinimumUid=499
# 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
Offline
Did you removed /etc/sddm.conf ?
Anyway it's better to report this issue upstream https://github.com/sddm/sddm
Last edited by Uriel_Bernhard48 (2017-12-08 16:16:42)
Offline
You are aware that by default both sysusers.d and useradd will still add dynamic system users in the range 500-999?
Offline
I removed /etc/sddm.conf and the sddm stop loading (big virtual keyboard Displayed instead of login screen) .
other configuration files that according to manpage need to be loaded in case /etc/sddm.conf not present are not loaded and not any other default configuration .
Offline
Anything sddm related in logs?
journalctl -b |grep -i sddm
Please report this upstream.
Offline
Something to do with https://bugs.archlinux.org/task/56609 perhaps?
Anyway, I haven't seen any graphical login manager that makes it worth using so I just login via the tty prompt and start my desktop environment via startx/sx.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Something to do with https://bugs.archlinux.org/task/56609 perhaps?
This change doesn't affect sddm functionality.
Offline
I created directory /etc/sddm.conf.d and ran diff between /etc/sddm.conf.pacsave and /usr/lib/sddm/sddm.conf.d/sddm.conf
Then created a conf file /etc/sddm.conf.d/custom.conf with only differences.
example:
[Autologin]
Session=plasma.desktop
User=itsme
[Theme]
Current=breeze
CursorTheme=breeze_cursors
And rebooted --- all working just as expected.
Offline
I created directory /etc/sddm.conf.d and ran diff between /etc/sddm.conf.pacsave and /usr/lib/sddm/sddm.conf.d/sddm.conf
Then created a conf file /etc/sddm.conf.d/custom.conf with only differences.
example:
[Autologin] Session=plasma.desktop User=itsme [Theme] Current=breeze CursorTheme=breeze_cursors
And rebooted --- all working just as expected.
I used your method to try to work around the problem of being presented with a virtual keyboard instead of the graphical login screen (though hitting return did give me the usual graphical choice of users to login). Using the lines in custom.conf as:
[General]
# Input method module
InputMethod=
did give a normal graphical login screen with a choice of users - but there were no user icons displayed. Previously and prior to the latest sddm update the user avatars always showed up just fine.
So I tried to add the following lines to custom.conf also:
[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
But still no user icons appear despite the files appearing as had worked previously as:
$ ls -l /usr/share/sddm/faces/
total 860
-rw-r--r-- 1 root root 869872 Dec 12 2015 mike.face.icon
-rw-r--r-- 1 root root 5111 Dec 5 16:00 root.face.icon
Can you suggest any other workaround to get my face icons back for the sddm login screen?
Edit: I found that if I went to the plasma settings screen and under Startup and Shutdown selected the Breeze theme - and now I do get the user icons under that sddm theme - whereas the theme I was using before no longer works...
Last edited by mcloaked (2017-12-16 22:17:33)
Mike C
Offline
I dont know the solution but two things.
1) Delete / rename /etc/sddm.conf if exists
2) Custom directory is /etc/sddm.conf.d (someone in previous comment mentioned /etc/sddm.d/
it can be theme issue?
Offline
Yes, see the edit to my previous comment.
Last edited by mcloaked (2017-12-18 08:28:42)
Mike C
Offline