I build my docker image using main-ubuntu_wxgui [1] as the base.
I need to have the GRASS GUI working in my docker container.
After successfully building my docker image and running the
docker image, GRASS starts only in text mode. I was expecting
that it would start in GUI mode.
When I run the command "grass --gui" in the docker bash shell,
I get a message
"Launching <wxpython> GUI in the background, please wait.."
and the GRASS GUI never starts up.
I can only use GRASS in CLI mode inside the docker.
Any suggestion to get the GRASS GIS running in docker?
On Sat, Aug 31, 2024 at 1:28 AM Venka via grass-user
<grass-user@lists.osgeo.org> wrote:
Hi All,
I build my docker image using main-ubuntu_wxgui [1] as the base.
I need to have the GRASS GUI working in my docker container.
After successfully building my docker image and running the
docker image, GRASS starts only in text mode. I was expecting
that it would start in GUI mode.
When I run the command "grass --gui" in the docker bash shell,
I get a message
"Launching <wxpython> GUI in the background, please wait.."
and the GRASS GUI never starts up.
I can only use GRASS in CLI mode inside the docker.
Any suggestion to get the GRASS GIS running in docker?
Two suggestions:
- I just submitted a bugfix (say, two) in this pull request (PR): https://github.com/OSGeo/grass/pull/4268
- to run it, be sure to redirect the display. E.g. (also works nicely
with podman):
On Sat, Aug 31, 2024 at 1:28 AM Venka via grass-user
<grass-user@lists.osgeo.org> wrote:
Hi All,
I build my docker image using main-ubuntu_wxgui [1] as the base.
I need to have the GRASS GUI working in my docker container.
After successfully building my docker image and running the
docker image, GRASS starts only in text mode. I was expecting
that it would start in GUI mode.
When I run the command "grass --gui" in the docker bash shell,
I get a message
"Launching <wxpython> GUI in the background, please wait.."
and the GRASS GUI never starts up.
I can only use GRASS in CLI mode inside the docker.
Any suggestion to get the GRASS GIS running in docker?
Two suggestions:
- I just submitted a bugfix (say, two) in this pull request (PR): https://github.com/OSGeo/grass/pull/4268
- to run it, be sure to redirect the display. E.g. (also works nicely
with podman):