GlobalProtect-openconnect
GlobalProtect-openconnect copied to clipboard
containerization
Hello,
I am trying to containerize this. For example:
- start up ubuntu:23.04 image
- add-apt-repository, update and install
When I type 'gpclient' or with parameters such as 'gpclient vpn.xxx.com' it says:
2023-07-05 15:40:26.938 INFO [8184] [main@24] GlobalProtect started, version: 1.4.9 qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Aborted (core dumped)
The way I understand it, is that it wants to open the popup screen for login. But since there's no GUI available in an ubuntu container. Any extra parameters I need to use or is a non GUI connection unsupported at this moment?
You could refer this discussion https://github.com/yuezk/GlobalProtect-openconnect/discussions/215