r/linuxadmin • • 3d ago

X11 - RHEL 10.2 - ISOLATED Passthrough

Hoping someone can help me out with an issue I've been having for a long while.

I'm running RHEL 10.2 Gnome 49, trying to use an X application inside of a podman container with a custom network.

"podman network create --internal pod_dev"

I pass in all the environment variables and files that I know and what AI also says i need. I can not for the life of me get the x application to display.

It works in fedora 44, and Ubuntu, but RHEL 10 is kicking my butt.. if i do --net=host is am able to get the x application to work, but I have to have the container have its own IP.

And advice at all is appreciated, I've probably spent over 100 hours trying different combinations of flags and ways to run.

5 Upvotes

15 comments sorted by

View all comments

1

u/bobtheboberto 2d ago

Does X11 need to be running on the host system? I ask because gnome on rhel 10 uses wayland by default. You might need to change it to x11, assuming gnome 49 supports x11 at all. I don't know which version but they are taking it out soon.

1

u/smallcrampcamp 2d ago

X11 is fully deprecated on 10. However, Xwayland still allows X processes to work, and for the most part I haven't had issues with Xwayland.

I believe gnome removed support in 48 or 49.

1

u/bobtheboberto 2d ago

Yeah. I know about xwayland. I was just curious if this works with it. It wouldn't be the first time I've seen an X application not run right with it.

1

u/tuxsmouf 1d ago

I know there is a wayland command we can use to export the gui with ssh. I used it only once and was quite straitforward. A quick google search should help you find it if you want to try.