gpg key generate 할 때 "X11 proxy: Unsupported authorisation protocol"

조회 4,165 · 댓글 0
고구마엔사이다작성자2018년 7월 9일
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O

You need a Passphrase to protect your secret key.

can't connect to `/root/.gnupg/S.gpg-agent': No such file or directory
MobaXterm X11 proxy: Unsupported authorisation protocol
xprop: unable to open display 'localhost:10.0'
MobaXterm X11 proxy: Unsupported authorisation protocol

(pinentry-gtk-2:9048): Gtk-WARNING **: cannot open display: localhost:10.0
gpg-agent[9047]: can't connect server: ec=4.16383
gpg-agent[9047]: can't connect to the PIN entry module: End of file
gpg-agent[9047]: command get_passphrase failed: No pinentry
gpg: problem with the agent: No pinentry
gpg: Key generation canceled.


- echo $DISPLAY 해서 DISPLAY 변수값 확인하고
- export $DISPLAY= 해서 아예 값을 없애고
- 다시 실행

로그인 후 답글을 남길 수 있습니다.