Preparation
When I personalize the Token, I do that on different terminal.
$ x-terminal-emulator
and I don't use gpg-agent for the personalization and I kill scdaemon so that it doesn't interfere to normal operations.
$ unset GPG_AGENT_INFO $ killall -9 scdaemon $ killall -9 scdaemon scdaemon: no process found
Personalize your Gnuk Token
Invoke …