Thanks Tom, Tristan,
Seem to be getting closer. I no longer get any errors but I can't use
"podman run -d" as the podman command never returns to the prompt.
I've updated my GitHub repo [1] with the latest attempt. Ultimately I
am working towards an RDP client.
Tom, I'd be happy to work on a video with all this if this ends up working. ;)
Thanks!
-Peter
[1]
https://github.com/portante/remmina-ubi9-container
On Thu, Oct 17, 2024 at 1:04 PM Tom Sweeney <tom.sweeney(a)redhat.com> wrote:
Hey Peter,
If you want to create a little video on how you got it working, or send
me the steps that you did so I could, I'd be thrilled to get that out
to our YouTube channel. I could have sworn we had one already of this
vein, but I could not find it this morning.
t
On 10/17/24 9:30 AM, Tristan Cacqueray wrote:
> 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(a)lists.podman.io
>> To unsubscribe send an email to podman-leave(a)lists.podman.io
>>
>> _______________________________________________
>> Podman mailing list -- podman(a)lists.podman.io
>> To unsubscribe send an email to podman-leave(a)lists.podman.io
_______________________________________________
Podman mailing list -- podman(a)lists.podman.io
To unsubscribe send an email to podman-leave(a)lists.podman.io