-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Open
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Description
Nixpkgs version
- Stable (25.11)
Describe the bug
In a minimal default configuration lightdm does not start X11 session. Apparently no window/desktop manager is enabled along with lightdm in xserver.nix. When I set services.xserver.windowManager.awesome.enable to true, rebuilt the system and restarted display-manager.service, I was finally able to log into an X11 session.
Steps to reproduce
- Boot the minimal ISO image to install NixOS
- run
nixos-generate-config - uncomment
services.xserver.enable = true; - run
nixos-installand reboot - try logging in as a normal user
Expected behaviour
Lightdm starts an X11 session with some default window/desktop manager.
Screenshots
No response
Relevant log output
/var/log/lightdm/lightdm.log.old:[+1115.30s] DEBUG: Seat seat0: Failed to find session configuration default
/var/log/lightdm/lightdm.log.old:[+1115.30s] DEBUG: Seat seat0: Can't find session 'default'
lightdm tries to open `/nix/store/i9qxi7827jwbs3793p4i39nrmv44lylb-desktops/share/xsessions/default.desktop` but fails because the directory is empty.Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.12.76, NixOS, 25.11 (Xantusia), 25.11.7702.48652e9d5aea - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.31.2 - nixpkgs:
/nix/store/dkhiwsn2mxi293907klnpzdwa6m2xb0i-nixos-25.11.7702.48652e9d5aea/nixos
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS