Skip to main content

Step 8: Enabling GUI Access for DBCA – X11 Forwarding

Sometimes, clicking is better than typing—especially when you're setting up a database and prefer a mouse over a terminal. If that sounds like you, let’s get DBCA (Database Configuration Assistant) running with a full graphical interface using MobaXterm.

No extra fuss with Xming or PuTTY—MobaXterm does it all, like a well-trained cat fetching socks (okay, maybe not that magical, but close).Xming.

Login as root user and install the needed packages. This will pull also multiple required dependencies on Linux,

dnf config-manager --enable ol8_codeready_builder
dnf install xorg-x11-apps xorg-x11-xauth
dnf install xorg-x11-apps xorg-x11-xauth


Login as opc user:

type: xauth list


Allow login for the oracle user in SSH config

Switch to the oracle user:


Add entire output using “xauth add” command:


Allow login for the oracle user in SSH config


export DISPLAY=localhost:10