dlenski / gp-saml-gui

Interactively authenticate to GlobalProtect VPNs that require SAML
GNU General Public License v3.0
293 stars 66 forks source link

Tested in Debian 12 and it does not open display #74

Closed monnoval closed 5 months ago

monnoval commented 1 year ago

Hello, I recently tested this in the current Debian 12 KDE Plasma and I'm getting cannot open display. I tried to use --external and still does not work.

$ eval $( gp-saml-gui --gateway --allow-insecure-crypto --clientos=Windows vpn-at-somewhere.tech )
Looking for SAML auth tags in response to https://vpn-at-somewhere.tech/ssl-vpn/prelogin.esp...
Got SAML REDIRECT, opening browser...

(gp-saml-gui:154893): Gtk-WARNING **: 14:05:36.352: cannot open display:

Can anybody help me debug further this problem or maybe guide me where to look for logs. Thank you!

dlenski commented 1 year ago

I'm getting cannot open display.

That's because your DISPLAY environment variable is unset. The error message is actually cannot open display: $DISPLAY.

I tried to use --external and still does not work.

You will most certainly not get the same error message when using --external.

What error message do you get in that case?