A GlobalProtect VPN client for Linux, written in Rust, based on OpenConnect and Tauri, supports SSO with MFA, Yubikey, and client certificate authentication, etc.
GNU General Public License v3.0
1.37k
stars
153
forks
source link
closing gui on linux mint 22 cinnamon logs out your linux session #406
When I launch the gui client, then without connecting or configuring anything, simply close the gui, I'm logged out of my Linux session and must login again.
Expected behavior
GUI client should simply close.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
For the GUI version, you can find the logs at ~/.local/share/gpclient/gpclient.log
For the CLI version, copy the output of the gpclient command.
$ cat ~/.local/share/gpclient/gpclient.log
[2024-08-06T22:32:17Z INFO gpservice::cli] gpservice started: 2.3.4 (2024-07-08)
[2024-08-06T22:32:17Z INFO gpservice::ws_server] WS server listening on port: 36277
[2024-08-06T22:32:17Z INFO gpapi::process::gui_launcher] Version check passed: 2.3.4
[2024-08-06T22:32:17Z INFO gpapi::process::gui_launcher] Launching gpgui
[2024-08-06T22:32:17Z INFO gpgui::cli] gpgui started: 2.3.4 (2024-07-08)
[2024-08-06T22:32:17Z INFO gpgui::app] Setting the custom openssl conf path
[2024-08-06T22:32:17Z INFO gpgui::config::private_data] Loaded config key from keyring
[2024-08-06T22:32:17Z WARN gpgui::config::app_config] Can't read the app config: No such file or directory (os error 2)
[2024-08-06T22:32:17Z INFO gpgui::app::app_initializer] App initialized
[2024-08-06T22:32:17Z INFO gpgui::ws_connector] Connecting to WS server
[2024-08-06T22:32:17Z INFO gpgui::ws_connector] Received ping
[2024-08-06T22:32:17Z INFO gpgui::ws_connector] Connected to WS server
[2024-08-06T22:32:17Z INFO gpservice::handlers] New client connected
[2024-08-06T22:32:17Z INFO gpservice::ws_server] Sending current VPN state to new client
libEGL warning: DRI2: failed to authenticate
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
[2024-08-06T22:32:17Z INFO gpapi::utils::window] Window raised after 1 attempts
[2024-08-06T22:32:18Z INFO gpgui::handlers::subscription] Sending the init event to client: main
[2024-08-06T22:32:18Z INFO gpgui::handlers::subscription] Sent the init event to client: main
X connection to :0 broken (explicit kill or server shutdown).
Environment:
OS: Mint 22
Desktop Environment: Cinnamon
Output of ps aux | grep 'gnome-keyring\|kwalletd5' | grep -v grep:
Describe the bug I'm trying to use globalprotect-openconnect in a Linux Mint 22 (cinnamon) client via gnome-boxes (libvirt). I installed using the Ubuntu 24 instructions: https://github.com/yuezk/GlobalProtect-openconnect#ubuntu-2404-and-later
When I launch the gui client, then without connecting or configuring anything, simply close the gui, I'm logged out of my Linux session and must login again.
Expected behavior GUI client should simply close.
Screenshots If applicable, add screenshots to help explain your problem.
Logs
~/.local/share/gpclient/gpclient.log
gpclient
command.Environment:
ps aux | grep 'gnome-keyring\|kwalletd5' | grep -v grep
:Additional context The gui does work properly in my Ubuntu 24.04 guest in gnome-boxes.