Mageia Bugzilla – Attachment 12354 Details for
Bug 28378
SDDM login does not remember previous desktop session, RememberLastSession=false in /etc/sddm.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
default sddm.conf
sddm.conf (text/plain), 5.82 KB, created by
Ben McMonagle
on 2021-02-19 07:59:30 CET
(
hide
)
Description:
default sddm.conf
Filename:
MIME Type:
Creator:
Ben McMonagle
Created:
2021-02-19 07:59:30 CET
Size:
5.82 KB
patch
obsolete
># All configuration stanzas taken from man sddm.conf. ># Example config with all currently set values can also be obtained via sddm --example-config ># ># Each section starts with a block [<Section>]. Uncomment the needed keywords to change the default values. ># > >#[General] ># >#HaltCommand= ># Halt command. Default value is "/usr/bin/systemctl poweroff". ># >#RebootCommand= ># Reboot command. Default value is "/usr/bin/systemctl reboot". ># >#Numlock= ># Change numlock state when sddm-greeter starts. Valid values are on, off or none. If property is set to none, numlock won't be changed. ># Currently ignored if autologin is enabled. Default value is "none". ># ># Override enabling qtvirtualkeyboard by default ># https://github.com/sddm/sddm/issues/952 >InputMethod= ># Set the Qt input method for the greeter. Tablet users with Qt Virtual Keyboard installed can set this to "qtvirtualkeyboard" ># for the on-screen keyboard. Other known values are "ibus" for the Intelligent Input Bus, or "compose" for dead keys support. ># Leave this empty if unsure. ># >#EnableHiDPI= ># Enable Qt's automatic high-DPI scaling. Default is true. > >#[Theme] ># >#ThemeDir= ># Path of the directory containing theme files. Default value is "/usr/share/sddm/themes". ># >#Current= ># Name of the current theme. Default value is "maui". ># >#FacesDir= ># Path of the directory containing face files, face files should be in username.face.icon format. ># Default value is "/usr/share/sddm/faces". ># >#CursorTheme= ># Name of the cursor theme to be set before starting the display server. ># >#EnableAvatars= ># When enabled, home directories are searched for ".face.icon" images to display as their avatars. This can be slow on some file systems. ># When disabled, all avatars will be default. Themes may choose to hide them altogether. Default value is true. ># >#DisableAvatarsThreshold= ># Number of users to use as threshold above which avatars are disabled unless explicitly enabled with EnableAvatars. ># > >#[X11] ># >#ServerPath= ># Path of the X server. ># Default value is "/usr/bin/X". ># >#ServerArguments= ># Arguments to be passed to the X server. Default value is "-nolisten tcp". ># >#XephyrPath= ># Path of the Xephyr. Default value is "/usr/bin/Xephyr". ># >#XauthPath= ># Path of the Xauth. Default value is "/usr/bin/xauth". ># >#SessionDir= ># Path of the directory containing session files. Default value is "/usr/share/xsessions". ># >#SessionCommand= ># Path of script to execute when starting the user session. This script receives the value of the "Exec" setting in the ># ".desktop" file of the selected session and runs it. Default value is "/usr/share/sddm/scripts/Xsession", ># which is a soft link to /usr/share/X11/xdm/Xsession. ># >#SessionLogFile= ># Path to the user session log file, relative to the home directory. ># Default value is ".local/share/sddm/xorg-session.log". ># >#UserAuthFile= ># Path to the Xauthority file, relative to the home directory. Default value is ".Xauthority". ># >#DisplayCommand= ># Path of script to execute when starting the display server. Default value is "/usr/share/sddm/scripts/Xsetup" ># which is a soft link to /usr/share/X11/xdm/Xsetup_0. ># >#DisplayStopCommand= ># Path of script to execute when stopping the display server. Default value is "/usr/share/sddm/scripts/Xstop". ># >#MinimumVT= ># Minimum virtual terminal number that will be used by the first display. Virtual terminal number will increase as new displays added. ># Default value is 1. ># >#[Wayland] section: ># >#SessionDir= ># Path of the directory containing session files. Default value is "/usr/share/wayland-sessions". ># >#SessionCommand= ># Path of script to execute when starting the user session. This script receives the value of the "Exec" setting in the ># ".desktop" file of the selected session and run it. ># Default value is "/usr/share/sddm/scripts/wayland-session". ># >#SessionLogFile= ># Path to the user session log file, relative to the home directory. ># Default value is ".local/share/sddm/wayland-session.log". ># >#[Users] ># >#DefaultPath= ># Default path to set after successfully logging in. Default value is "/bin:/usr/bin:/usr/local/bin". ># >#MinimumUid= ># Minimum user id of the users to be listed in the user interface. Default value is 1000. ># >#MaximumUid= ># Maximum user id of the users to be listed in the user interface. Default value is 60000. ># >#HideUsers= ># Comma-separated list of Users that shouldn't show up in the user list. Default value is empty. ># >#HideShells= ># Comma-separated list of Shells of users that shouldn't show up in the user list. Default value is empty. ># >#RememberLastUser= ># If this flag is true, LastUser value will updated on every successful login, if false last user value won't be updated. ># Default value is true. ># >#RememberLastSession= ># If this flag is true, LastSession value will updated on every successful login, if false last session value won't be updated. Default ># value is true. ># >#[Autologin] ># >#User= ># Name of the user to automatically log in when the system starts first time. Default value is empty. ># >#Session= ># Name of the session to automatically log in when the system starts first time. ># Default value is empty. ># >#Relogin= ># If true and User and Session are set automatic login will kick in again on session exit, otherwise it will work only the first time. ># Default value is false. ># > >#### Mageia-specific configuration > >[Users] >MinimumUid=500 >RememberLastUser=true >RememberLastSession=false > ># hide system users ># system users using real shells and hence cannot be hidden via HideShells >HideUsers=mysql,apache,mldonkey >HideShells=/sbin/nologin,/bin/false,/usr/sbin/nologin,/bin/true > >[Theme] ># use our new custom theme without a userlist >Current=mga-coffee >#Current=breeze >#Current=maldives >#Current=elarun ># allow display of user icons from a central system location ># requires accountsservice to be installed which is not the default ># FacesDir=/var/lib/AccountsService/icons/ >[Autologin] >User= >Session=.desktop
# All configuration stanzas taken from man sddm.conf. # Example config with all currently set values can also be obtained via sddm --example-config # # Each section starts with a block [<Section>]. Uncomment the needed keywords to change the default values. # #[General] # #HaltCommand= # Halt command. Default value is "/usr/bin/systemctl poweroff". # #RebootCommand= # Reboot command. Default value is "/usr/bin/systemctl reboot". # #Numlock= # Change numlock state when sddm-greeter starts. Valid values are on, off or none. If property is set to none, numlock won't be changed. # Currently ignored if autologin is enabled. Default value is "none". # # Override enabling qtvirtualkeyboard by default # https://github.com/sddm/sddm/issues/952 InputMethod= # Set the Qt input method for the greeter. Tablet users with Qt Virtual Keyboard installed can set this to "qtvirtualkeyboard" # for the on-screen keyboard. Other known values are "ibus" for the Intelligent Input Bus, or "compose" for dead keys support. # Leave this empty if unsure. # #EnableHiDPI= # Enable Qt's automatic high-DPI scaling. Default is true. #[Theme] # #ThemeDir= # Path of the directory containing theme files. Default value is "/usr/share/sddm/themes". # #Current= # Name of the current theme. Default value is "maui". # #FacesDir= # Path of the directory containing face files, face files should be in username.face.icon format. # Default value is "/usr/share/sddm/faces". # #CursorTheme= # Name of the cursor theme to be set before starting the display server. # #EnableAvatars= # When enabled, home directories are searched for ".face.icon" images to display as their avatars. This can be slow on some file systems. # When disabled, all avatars will be default. Themes may choose to hide them altogether. Default value is true. # #DisableAvatarsThreshold= # Number of users to use as threshold above which avatars are disabled unless explicitly enabled with EnableAvatars. # #[X11] # #ServerPath= # Path of the X server. # Default value is "/usr/bin/X". # #ServerArguments= # Arguments to be passed to the X server. Default value is "-nolisten tcp". # #XephyrPath= # Path of the Xephyr. Default value is "/usr/bin/Xephyr". # #XauthPath= # Path of the Xauth. Default value is "/usr/bin/xauth". # #SessionDir= # Path of the directory containing session files. Default value is "/usr/share/xsessions". # #SessionCommand= # Path of script to execute when starting the user session. This script receives the value of the "Exec" setting in the # ".desktop" file of the selected session and runs it. Default value is "/usr/share/sddm/scripts/Xsession", # which is a soft link to /usr/share/X11/xdm/Xsession. # #SessionLogFile= # Path to the user session log file, relative to the home directory. # Default value is ".local/share/sddm/xorg-session.log". # #UserAuthFile= # Path to the Xauthority file, relative to the home directory. Default value is ".Xauthority". # #DisplayCommand= # Path of script to execute when starting the display server. Default value is "/usr/share/sddm/scripts/Xsetup" # which is a soft link to /usr/share/X11/xdm/Xsetup_0. # #DisplayStopCommand= # Path of script to execute when stopping the display server. Default value is "/usr/share/sddm/scripts/Xstop". # #MinimumVT= # Minimum virtual terminal number that will be used by the first display. Virtual terminal number will increase as new displays added. # Default value is 1. # #[Wayland] section: # #SessionDir= # Path of the directory containing session files. Default value is "/usr/share/wayland-sessions". # #SessionCommand= # Path of script to execute when starting the user session. This script receives the value of the "Exec" setting in the # ".desktop" file of the selected session and run it. # Default value is "/usr/share/sddm/scripts/wayland-session". # #SessionLogFile= # Path to the user session log file, relative to the home directory. # Default value is ".local/share/sddm/wayland-session.log". # #[Users] # #DefaultPath= # Default path to set after successfully logging in. Default value is "/bin:/usr/bin:/usr/local/bin". # #MinimumUid= # Minimum user id of the users to be listed in the user interface. Default value is 1000. # #MaximumUid= # Maximum user id of the users to be listed in the user interface. Default value is 60000. # #HideUsers= # Comma-separated list of Users that shouldn't show up in the user list. Default value is empty. # #HideShells= # Comma-separated list of Shells of users that shouldn't show up in the user list. Default value is empty. # #RememberLastUser= # If this flag is true, LastUser value will updated on every successful login, if false last user value won't be updated. # Default value is true. # #RememberLastSession= # If this flag is true, LastSession value will updated on every successful login, if false last session value won't be updated. Default # value is true. # #[Autologin] # #User= # Name of the user to automatically log in when the system starts first time. Default value is empty. # #Session= # Name of the session to automatically log in when the system starts first time. # Default value is empty. # #Relogin= # If true and User and Session are set automatic login will kick in again on session exit, otherwise it will work only the first time. # Default value is false. # #### Mageia-specific configuration [Users] MinimumUid=500 RememberLastUser=true RememberLastSession=false # hide system users # system users using real shells and hence cannot be hidden via HideShells HideUsers=mysql,apache,mldonkey HideShells=/sbin/nologin,/bin/false,/usr/sbin/nologin,/bin/true [Theme] # use our new custom theme without a userlist Current=mga-coffee #Current=breeze #Current=maldives #Current=elarun # allow display of user icons from a central system location # requires accountsservice to be installed which is not the default # FacesDir=/var/lib/AccountsService/icons/ [Autologin] User= Session=.desktop
View Attachment As Raw
Actions:
View
Attachments on
bug 28378
: 12354 |
12355