TL;DR: To run some of the GUI tools that come with Oracle 26ai, you need X-windows. Let me show you how I did that on my containers.
I needed this "solution" several times in the last few years, and I got tired of searching for it every time, hence this post is also a "reminder to self".
And this how-to-X11 post, is hopefully a setup to a series where I want to use the output from the Oracle DataBase Configuration Assistant (DBCA) to Create a Database. To use that assistant, I first had to set up X-windows (or X11, as it is often called).
Note that this X11 pre-dates the MS-windows that most you know + use...
Image: the Oracle11 installer. I couldnt find an older one, but this installer goes back to v7 or maybe even further.
Background: I want to run those tools, hence I need X11
For some of my hobby / experiments / research, I am using container-images with Oracle (database) software on them.
One source is the official Oracle container-registry (link). I took mine following the links to "Database" -> "Enterprise".
Another very convenient source is the collection of "FREE" images maintained by Gerald Venzl (link). The latter are hassle-free, license-free, Very Easy to pull and run containers you can use for Dev, Testing, or just playing around with an otherwise Enterprise-Grade database (ok, some limitations apply... rtfm ;-) )
In both cases, I also wanted to run the "assistants" that come with the Oracle Database. I can normally manage quite well without those, and I would most of the time recommend you do your Research and use proper scripts to do your work. But in some cases, I also recommend to use those assistants to "ask Oracle for a second opinion".
In my case, I notably have this hobby-project of Creating a Database from Scripts rather than from recovering an existing database or a pre-built template. More on this in some older posts (link to 2023) and maybe in an upcoming blog-series (future links here...).
You can find more on X-windows, or X11 as it is often called, here (link)
Installing x11, using yum, should be simple, right?
(I ended up spending a lot of time on this, several times over, and it isnt perfect yet...)
So I started my container, as usual, with this (simplified) command:
That is (simplified) how my container normally runs. And once the initial pull is done, this is a Fast and convenient way to get a database up.
I have defined variables for :
SRC_IMAGE : where to find the image to pull
CONT : the name and hostname of the new container.
YUM : because not all containers have yum, sometimes YUM=microdnf.
And then I start it up...
Note that you can do many more sophisticated things on startup: rtfm on the registry-docu and on the page describing the free-images - there are many possibilities! I can notably recommend you map some volumes for data- and diag-data. But that is outside of the scope for this item.
These container images do not yet contain X11, so I had to get that myself. From ancient memory and some googling-around I knew that it could be yum-installed.. (yum works on the enterprise-image, on the FREE images you can use microdnf).
Well, this time yum didnt work so easily:
It didnt find xorg-x11-apps ...
Yum isnt quite my expertise, but after a lot of searching and a tip from Kamil (the axeman himself, no less), I found I had to zip the file /etc/yum/vars/ociregion. Here is the relevant part of my script, the link below contains the complete script:
Those docker (or podman) commands made it work.
I used docker-exec to move the ociregion file and create an empty one. From that point on, yum (or dnf, or microdnf) was able to install X11.
And at every new container, I am now happy to see those eyes appear:
Success ! (for now). Proven by the eyes...
About the X-server...
Note that when you start an X11 app anywhere, you need to make sure your laptop runs the X-Server to receive and display the resulting windows. That is why everyone will "test" with xeyes or xterm. In my case, I use XQuarts on the macbook. On windows you might use mobaXterm or xming. Make sure your X-Server is running and reachable, otherwise you will see "cannot open display" or a similar error when starting any X11 applications.
Notice how I told xeyes where to send its output with the --display. Once you log on you need to set+export the DISPLAY value in your shell-session. That DISPLAY needs to point to your X11 server (yes, it is called a server...)
To prove it all worked in my case: I displayed "the eyes", in "violet". I also used to put a "green" set of eyes at the end of the final script to signal "complete". Check the link to the final script at the bottom of the post.
Personal note: My Kids loved those eyes back in the years 00, and I often produced them just for fun. The eyes follow the mouse-pointer, really nice.
That was not all that difficult... however... we are not done yet.
The dbca (not) working ?? (not on 1 laptop, not on the newest...)
Once I had X11 on there, I could normally logon as oracle (the dflt user), export my display, test it with xeyes (looked Good), and then start up the DBCA...
Not in this case. The xeyes worked fine. But not the DBCA.
The DBCA does not display in readable colors. At least not on this screen. But it did always work fine on older laptops. And still does even with the latest container-images. I've asked about this on the Oracle forum but as of 02-May-2026, no solution yet.
My (failing) platform was:
X-server is XQuartz, running on a macbook M5-pro.
My screen is the nano-texture variety for macbook (expensive, but Good even in sunlight)
The "linux server" is the container pulled from Oracle, image id 224c51ce1555
At the time of writing, I have not solved this. There is a thread on the oracle forum about it (link).
My workaround was to use another, older laptop where the display of the X11 window was as-expected. That dbca feels a bit old, but also comfortable: it was there already when I started my DBA-career back in the 90s...
Using the older laptop, I was able to generate all the "create scripts" that I wanted, run them, and examine them at my leisure. But that is for another topic.
Summary : Simple, but necessary. X11 install Done.
This was a fairly simple, but the time went into "Researching". Mostly because I never had mastered the install of X11, and partly bcse I had to tweak the yum-variables provided on the (oracle-) container-image.
All is (mostly) Fixed and successfully worked-around.
All well.
I was ready to generate "The Scripts"
-- -- -- -- -- End of this how-to blogpost -- -- -- -- --
Appendix: the script
mk_cont_x11.sh : the shell script to create the container.
Do try. And let me know how it works for you. You can of course use this script to build your own running containers with Oracle 26ai in them. Have Fun.
-- -- -- -- -- End of this blogpost, for Real -- -- -- -- --







































