Control: retitle -1 pinentry-qt: immediate exit if $DISPLAY set but unavailable

On 2026-03-06 Vincent Lefevre <[email protected]> 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.

Reply via email to