"SessionDir" config entries are now a lists with default values:
"/usr/local/share/xsessions,/usr/share/xsessions" for [X11] section and
"/usr/local/share/wayland-sessions,/usr/share/wayland-sessions" for
[Wayland] section.
It will be necessary sometimes to know what's going on. This should help
us diagnose when pam is telling us something and SDDM just seems to not
work well.
Also include informationMessage on the themes in data/themes
Fixes#1485
Introduce a new display server option to run the greeter with.
In the future this will be the default display server.
This patch contains the most important parts to get the greeter running
on Wayland, but it's not possible to select a keyboard layout.
At the moment the Wayland socket is assumed to be "wayland-0" but in a
multi-seat configuration we would have more than one greeter running,
each with a diffent socket and the assumption won't work anymore.
In the future we will figure out how to do, after all at the moment this
is considered enough for most people.
Closes: #440
Introduce an alternative display server option to run the greeter with
the X11 server as an unprivileged user.
Root privileges are required by default, but this will change in the
future.
Greeter output is forwarded to the helper process, instead of saving it
into a separate file like user sessions do.
This means the greeter output is available in the journal with the
daemon and helper logs.
Display start and stop commands are executed as sddm user and this might
break the workflow of our users.
That is the reason why we still run Xorg as root for the greeter by
default.
X11 user session always spawn a new display server without root
privileges.
Closes: #246
Replace the old crude algorithm to find the next available VT with a
more reliable method using the VT_OPENQRY ioctl.
General.MinimumVT setting is now obsolete and it's no longer used.
* session_button for the elarun theme is undefined, raising
this error:
file:///usr/share/sddm/themes/debian-theme/Main.qml:155: ReferenceError: session_button is not defined
session_button was removed in #521
In some circumstances, the effort of setting the environment
correctly can wind up clobbering the user-specified shell. To
work around this issue, capture the shell setting in a variable
and set it back at the end of environment and profile setup.
Users may wish to further their SDDM theming by using a custom font.
In order to facilitate this, this patch adds a config option which allows specifying a font..
This ensures the right paths are set by upstream apps that use the
/etc/profile(.d) method for setting paths, for example xdg or snap.
Signed-off-by: James Turnbull <james@lovedthanlost.net>
[ChangeLog][Xsession] Source /etc/profile for fish too
Closes: #879