For the record:
pinentry-qt is not available in 11.04, so that work around doesn't work.
Also, using pinentry-x11 fails similarly to pinentry-qt4 (flashes, but doesn't prompt). And the same errors in .xsession-errors:
X Error: BadWindow (invalid Window parameter) 3 Major opcode: 2 (X_ChangeWindowAttributes) Resource id: 0x7800131 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 2 (X_ChangeWindowAttributes) Resource id: 0x7800138 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 2 (X_ChangeWindowAttributes) Resource id: 0x7800138
For the record:
pinentry-qt is not available in 11.04, so that work around doesn't work.
Also, using pinentry-x11 fails similarly to pinentry-qt4 (flashes, but doesn't prompt). And the same errors in .xsession-errors:
X Error: BadWindow (invalid Window parameter) 3 Attributes) Attributes) Attributes)
Major opcode: 2 (X_ChangeWindow
Resource id: 0x7800131
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 2 (X_ChangeWindow
Resource id: 0x7800138
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 2 (X_ChangeWindow
Resource id: 0x7800138