Skip to content

[Bug] Gui won't start from ubuntu_wxgui docker images #5458

@benaloha

Description

@benaloha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions