The error would be something like,
_X11TransSocketINETConnect() can't get address for local_host:6000: Hostname and service name not provided or found
This happens when you try to invoke a graphical UI via the command line or SSH. I have this for running DBCA and the installer of Oracle Client on Linux.
The solution is to run this application via a UI such as Gnome. You can do this by connecting to the machine using a remote UI login, such as via VNC.



















