Hello Peter, You need to disable SELinux labels to enable the container to access the wayland socket. Try adding: `--security-opt label=disable` to the podman argument list. You might get the following error: Couldn't open libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or directory In that case, add the `libglvnd-gles` package to your install list. Hope that helps! -Tristan On Wed, Oct 16, 2024 at 21:50 Peter Portante wrote:
Hello podman people,
Was wondering if somebody can help me get a simple gnome-calculator container to work. I'd like to be able to run a container that has the Gnome-based app in the container but have it display on my desktop.
So far I am able to create a simple container with the following container file:
FROM registry.fedoraproject.org/fedora RUN dnf install -y gnome-calculator CMD ["/usr/bin/gnome-calculator"]
Then once built with:
buildah bud -f ./ContainerFile --tag calc:latest .
I run it using:
podman run -it \ -e WAYLAND_DISPLAY=${WAYLAND_DISPLAY} \ -e XDG_RUNTIME_DIR=/tmp/xdg-runtime-dir \ -e XAUTHORITY=/tmp/xdg-runtime-dir/$(basename ${XAUTHORITY}) \ -v ${XDG_RUNTIME_DIR}:/tmp/xdg-runtime-dir \ --userns=keep-id \ localhost/calc:latest
But nothing is displayed. :(
Thanks for any help or direction you can offer.
-Peter _______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io