Gnome connection manager with keys

I am trying to get gnome connection manager to work in ubuntu with keys, but when I try to connect, it blacks out and does not do anything. Whey i use the terminal to connect it works just fine with the keys.