[pkg-gnupg-maint] Bug#1129944: pinentry-qt: immediate crash if X display is not available
Andreas Metzler
ametzler at bebt.de
Fri Mar 6 12:41:14 GMT 2026
Control: retitle -1 pinentry-qt: immediate exit if $DISPLAY set but unavailable
On 2026-03-06 Vincent Lefevre <vincent at vinc17.net> wrote:
> On 2026-03-06 12:21:08 +0100, Vincent Lefevre wrote:
> > pinentry-qt immediately crashes if the X display is not available.
> > This can happen after a ssh to a remote machine (or if the value
> > of DISPLAY is no longer valid).
> [...]
> I forgot to say: obviously, if the X display is not available,
> an X dialog box cannot be displayed, and the correct behavior
> would be to use "an alternative text-mode dialog" as documented
> (in both the man page and the package description), like what
> the GTK2 flavor did.
Hello,
this works as expected (fallback to tty) if DISPLAY is unset but
pinentry-qt (and -fltk) exit with an error if DISPLAY points to an
invalid or inacessible display.
cu Andreas
--
"You people are noisy," Nia said.
I made the gesture of agreement.
More information about the pkg-gnupg-maint
mailing list