[pkg-gnupg-maint] Bug#1129944: pinentry-qt: immediate crash if X display is not available

Andreas Metzler ametzler at bebt.de
Sat Mar 7 06:03:50 GMT 2026


On 2026-03-06 Vincent Lefevre <vincent at vinc17.net> wrote:
> This also fails:

> qaa:~> env -u DISPLAY pinentry-qt --help
> qt.qpa.xcb: could not connect to display
> [...]

> with no help displayed.

Good morning,

I just tried this in a minimal chroot on barriere.debian.org:
ametzler at barriere:~$ schroot --begin-session -c forky -n ametzler ; printf \\a ; dd-schroot-cmd -c ametzler apt-get update && dd-schroot-cmd -c ametzler apt-get -y dist-upgrade ; dd-schroot-cmd  -c ametzler apt-get -y install pinentry-qt
[...]
ametzler at barriere:~$ schroot --run-session -c ametzler
(forky_amd64-dchroot)ametzler at barriere:~$ env -u DISPLAY pinentry-qt --help
pinentry-qt (pinentry) 1.3.2
Copyright (C) 2016 g10 Code GmbH
License GPLv2+: GNU GPL version 2 or later <https://www.gnu.org/licenses/>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Usage: pinentry-qt [options] (-h for help)
[...]

Package list attached - Anything obvious that is missing on your system?

Are you running wayland instead of X11? In that case you would also need
to unset WAYLAND_DISPLAY.

cu Andreas

-- 
"You people are noisy," Nia said.
I made the gesture of agreement.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: forky.list.gz
Type: application/gzip
Size: 9440 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnupg-maint/attachments/20260307/f833c426/attachment-0001.gz>


More information about the pkg-gnupg-maint mailing list