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.

3 Upvotes

15 comments sorted by

View all comments

1

u/metux-its 2d ago

No idea how to do it with podman specifically, but all you need is mounting the X socket inside the container and copy over xauthority file.

1

u/smallcrampcamp 2d ago

Yeah, thats exactly right. I have been trying every combination of passing both -e and -v for anything related to X11 that I could think of or what AI says.

Thanks!

1

u/metux-its 1d ago

Did you also copy in the xauthority file into the container ?

1

u/smallcrampcamp 1d ago

I did, no work.

Me sad.