-
-
Notifications
You must be signed in to change notification settings - Fork 415
Description
Describe the bug
When I try to start the Gui with the ubuntu docker images, the gui never pops up.
To reproduce
When I start a docker container with this cmd:
xhost local:$(id -u)
docker run -it --privileged --rm
--volume="$(pwd)/:/data"
--volume="/tmp/.X11-unix:/tmp/.X11-unix:rw"
--env HOME=/data/ --env DISPLAY=$DISPLAY
--device="/dev/dri/card1:/dev/dri/card1"
osgeo/grass-gis:releasebranch_8_4-ubuntu_wxgui
grass --gui
It tells:
Launching GUI in the background, please wait...
But the Gui never popups on my host system.
When I type g.gui in the container:
ERROR: wxGUI requires wxPython. libsecret-1.so.0: cannot open shared object file: No such file or directory
When I install libsecret-1-dev in the container
apt install libsecret-1-dev
The Gui pops up.
Same for main-ubuntu_wxgui image.
How can this happen? Is this package removed since last update of ubuntu base image? Nobody else experienced the same issue?
Does this package has to be added to both Dockerfile's?
Tnx, Ben
System description
Host: Ubuntu 24.04
Docker images involved:
osgeo/grass-gis:releasebranch_8_4-ubuntu_wxgui
osgeo/grass-gis:main-ubuntu_wxgui
Additional context
I didn't build the images myself, but downloaded them from Dockerhub.