NixOS / NixOS/nixpkgs

kscreen-console: fails because Qt platform plugin "xcb" cannot be loaded

Open
#431,908 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0.kind: bug 2.status: stale
Dominant language
Nix
Stars
26.2k
Forks
20.1k
PR merge metrics
PR metrics pending

Description

Nixpkgs version
  • Stable (25.05)
Describe the bug
$ kscreen-console
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: vnc, eglfs, linuxfb, offscreen, vkkhrdisplay, xcb, minimalegl, minimal, wayland, wayland-egl.

Aborted (core dumped)
Steps to reproduce

Run kscreen-console

Expected behaviour

I expect it to list the connected monitor configuration

Screenshots

No response

Relevant log output

Additional context

No response

System metadata
  • system: "x86_64-linux"
  • host os: Linux 6.16.0, NixOS, 25.05 (Warbler), 25.05.807449.ce01daebf848
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.4
  • channels(root): "nixos-25.05"
  • nixpkgs: /nix/store/q11ac0pfksspabwx3dshg71c9lhag2mj-nixos-25.05/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
Is this issue important to you?

Add a 👍 reaction to issues you find important.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing kscreen-console on the reported NixOS 25.05 system and inspect how its package dependency closure provides the Qt xcb platform requirements. Done means kscreen-console starts successfully and lists the connected monitor configuration without the xcb plugin error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.