Sddm: Difference between revisions
mNo edit summary |
m Added additional troubleshooting for fprint |
||
| (One intermediate revision by the same user not shown) | |||
| Line 38: | Line 38: | ||
=== Disable/Enable fprint === | === Disable/Enable fprint === | ||
With fprint enabled on the system, SDDM will expect a fingerprint after entering any password. SDDM does not show any prompt for this and this will time out after some time and SDDM will attempt to use your entered password. If you have your fingerprints enrolled, you can press enter and use your fingerprint reader. | With fprint enabled on the system, SDDM will expect a fingerprint after entering any password. SDDM does not show any prompt for this and this will time out after some time and SDDM will attempt to use your entered password. If you have your fingerprints enrolled, you can press enter and use your fingerprint reader. You may find additional options for fprint as well as information on enrolling fingerprints on the [[Fingerprint scanner]] page. | ||
KWallet cannot be unlocked using fprint. | |||
==== Enable fprint system wide ==== | ==== Enable fprint system wide ==== | ||
You can enable this behavior by enabling fprint | You can enable this behavior by enabling fprint. | ||
{{File|3=services.fprintd.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}} | {{File|3=services.fprintd.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}} | ||
| Line 52: | Line 54: | ||
=== SDDM Hangs after entering password === | === SDDM Hangs after entering password === | ||
With fprint enabled, SDDM will expect a fingerprint after entering any password. SDDM is likely waiting for a fingerprint without a prompt. You can disable this behavior by seeing the fprint configuration section of this article. | With fprint enabled, SDDM will expect a fingerprint after entering any password. SDDM is likely waiting for a fingerprint without a prompt. You can disable this behavior by seeing the fprint configuration section of this article. | ||
=== SDDM does not unlock KWallet on KDE === | |||
This may be related to fprint. Using fprint to login cannot unlock KWallet since KWallet unlocks using the same password as your user, and does not support fingerprints to do so. | |||
== Installing themes == | == Installing themes == | ||
Latest revision as of 20:30, 26 February 2026
Simple Desktop Display Manager (SDDM) is a modern display manager for X11 and Wayland sessions.
Installation
SDDM can be enabled as the display manager with these lines.
services.displayManager.sddm = {
enable = true;
# Enables experimental Wayland support
wayland.enable = true;
};
Configuration
Wayland
services.displayManager.sddm = {
enable = true;
wayland = {
enable = true;
# default compositor is "weston", you can optionally change it to kwin
#compositor = "kwin";
};
};
};
Autologin
services.displayManager = {
sddm = {
enable = true;
wayland.enable = true;
};
autoLogin = {
enable = true;
user = "user"; # Replace with the desired user
};
};
Disable/Enable fprint
With fprint enabled on the system, SDDM will expect a fingerprint after entering any password. SDDM does not show any prompt for this and this will time out after some time and SDDM will attempt to use your entered password. If you have your fingerprints enrolled, you can press enter and use your fingerprint reader. You may find additional options for fprint as well as information on enrolling fingerprints on the Fingerprint scanner page.
KWallet cannot be unlocked using fprint.
Enable fprint system wide
You can enable this behavior by enabling fprint.
services.fprintd.enable = true;
Disable fprint for login
Stops SDDM from prompting for fingerprint.
security.pam.services.login.fprintAuth = false;
Troubleshooting
SDDM Hangs after entering password
With fprint enabled, SDDM will expect a fingerprint after entering any password. SDDM is likely waiting for a fingerprint without a prompt. You can disable this behavior by seeing the fprint configuration section of this article.
SDDM does not unlock KWallet on KDE
This may be related to fprint. Using fprint to login cannot unlock KWallet since KWallet unlocks using the same password as your user, and does not support fingerprints to do so.
Installing themes
You can install and configure a theme like so
{ pkgs, ... }:
{
services.displayManager.sddm = {
enable = true;
theme = "catppuccin-mocha-mauve";
};
environment.systemPackages = [
(pkgs.catppuccin-sddm.override {
flavor = "mocha";
accent = "mauve";
})
];
}