You are viewing an old revision of this post, from February 3, 2016 @ 16:10:17. See below for differences between this version and the current revision.

Git – (gnome-ssh-askpass:13543): Gtk-WARNING **: cannot open display

When you use command line to pull, push or clone code to your server, if you see this error:

(gnome-ssh-askpass:13543): Gtk-WARNING **: cannot open display:

To solve this, all you need to do is run the following command in the terminal:
$ unset SSH_ASKPASS

To prevent it in future, you can add the above line in your .bashrc or .bash_profile.

Wish you trouble-free working!

Revisions

  • February 3, 2016 @ 16:10:17 [Current Revision] by admin
  • February 3, 2016 @ 16:10:17 by admin

Revision Differences

There are no differences between the February 3, 2016 @ 16:10:17 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

Leave a Reply