You are not logged in.

#1 2017-12-07 21:39:25

rotema8
Member
Registered: 2010-01-07
Posts: 13

misunderstood (?) sddm 0.17 configuration managment

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

#2 2017-12-07 22:02:05

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 3,334

Re: misunderstood (?) sddm 0.17 configuration managment

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)


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-12-07 22:23:56

rotema8
Member
Registered: 2010-01-07
Posts: 13

Re: misunderstood (?) sddm 0.17 configuration managment

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

#4 2017-12-08 14:36:26

Uriel_Bernhard48
Member
Registered: 2017-08-08
Posts: 29

Re: misunderstood (?) sddm 0.17 configuration managment

/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

#5 2017-12-08 15:26:27

rotema8
Member
Registered: 2010-01-07
Posts: 13

Re: misunderstood (?) sddm 0.17 configuration managment

Uriel_Bernhard48 wrote:

/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

#6 2017-12-08 15:58:11

Uriel_Bernhard48
Member
Registered: 2017-08-08
Posts: 29

Re: misunderstood (?) sddm 0.17 configuration managment

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

#7 2017-12-08 20:21:31

loqs
Member
Registered: 2014-03-06
Posts: 7,865

Re: misunderstood (?) sddm 0.17 configuration managment

You are aware that by default both sysusers.d and useradd will still add dynamic system users in the range 500-999?

Offline

#8 2017-12-08 21:12:19

rotema8
Member
Registered: 2010-01-07
Posts: 13

Re: misunderstood (?) sddm 0.17 configuration managment

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

#9 2017-12-09 10:29:37

Uriel_Bernhard48
Member
Registered: 2017-08-08
Posts: 29

Re: misunderstood (?) sddm 0.17 configuration managment

Anything sddm related in logs?

journalctl -b |grep -i sddm

Please report this upstream.

Offline

#10 2017-12-10 01:36:12

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 2,853

Re: misunderstood (?) sddm 0.17 configuration managment

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 big_smile 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

#11 2017-12-10 12:17:14

Uriel_Bernhard48
Member
Registered: 2017-08-08
Posts: 29

Re: misunderstood (?) sddm 0.17 configuration managment

Eschwartz wrote:

Something to do with https://bugs.archlinux.org/task/56609 perhaps?

This change doesn't affect sddm functionality.

Offline

#12 2017-12-11 14:10:00

amish
Member
Registered: 2014-05-10
Posts: 395

Re: misunderstood (?) sddm 0.17 configuration managment

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.


Forum signature: I discuss. I put my thoughts strongly. But I definitely respect all developers and time they put in.

Offline

#13 2017-12-16 21:47:43

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 847

Re: misunderstood (?) sddm 0.17 configuration managment

amish wrote:

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

#14 2017-12-17 00:47:53

amish
Member
Registered: 2014-05-10
Posts: 395

Re: misunderstood (?) sddm 0.17 configuration managment

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?


Forum signature: I discuss. I put my thoughts strongly. But I definitely respect all developers and time they put in.

Offline

#15 2017-12-18 08:28:17

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 847

Re: misunderstood (?) sddm 0.17 configuration managment

Yes, see the edit to my previous comment.

Last edited by mcloaked (2017-12-18 08:28:42)


Mike C

Offline

Board footer

Powered by FluxBB