--- seahorse-ssh-askpass.sh.orig 2011-12-07 19:43:58.000000000 +0900 +++ seahorse-ssh-askpass.sh 2011-12-07 19:54:08.000000000 +0900 @@ -1,3 +1,3 @@ -if [ -z "$SSH_ASKPASS" ]; then +if [ -z "$SSH_ASKPASS" -a -n "$DISPLAY" ]; then export SSH_ASKPASS=/usr/lib/seahorse/seahorse-ssh-askpass fi