Skip to content

nixos/kmscon: prevents entering the desktop environment #385497

@ccicnce113424

Description

@ccicnce113424

Nixpkgs version

  • Unstable (25.05)

Describe the bug

After enabling kmscon and the display manager, the system directly enters kmscon on boot instead of only activating kmscon when switching to a non-graphical TTY. Additionally, launching weston, startplasma-wayland, or startx within kmscon all fail.

Steps to reproduce

Enable both kmscon and any desktop environment in the NixOS configuration.

Expected behaviour

When both kmscon and a display manager are enabled, kmscon should only start when switching to a non-graphical TTY. Within kmscon, it should be possible to manually start the desktop environment using commands.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.13.4, NixOS, 25.05 (Warbler), 25.05.20250224.0196c01`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.12`
 - nixpkgs: `/nix/store/593xvgv994xlkm5mb7w4p1xxnzrs9wv6-source`

Notify maintainers

@omasanori

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

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions