boltgolt / boltgolt/howdy

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

Open
#810 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

v2
Dominant language
Python
Stars
7.8k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

I get the following error when running sudo howdy test in su -, however this error doesn't happen when running in su. I think I might have screwed during the installation process...
Is there a way to fix this?

qt.qpa.xcb: could not connect to display 
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.

I've searched for similar issues already, and my issue has not been reported yet.

Linux distribution (if applicable): Debian 12

Howdy version (sudo howdy version): 2.6.1

Contributor guide

No contributing guide indexed for this repository

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

Reproduce sudo howdy test in su - and compare it with su on Debian 12, focusing on the reported Qt display and xcb errors. Done means identifying a concrete cause and documenting or implementing a fix so the test command runs successfully in the affected login-shell context.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, linux, python
Domain
authentication, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.