ERROR: Unable to verify the graphical display setup. Make sure that xdpyinfo exist under PATH variable.

ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

Error: During running the runInstaller to Setup Oracle Database, we are getting the following error

ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
Authorization required, but no authorization protocol specified
Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.

Solution:

Install the x11 package in Ubuntu operating system.

Sudo apt-get install x11-utils

Add the user Oracle to access control list for X11 with command: xhost +SI:localuser:<user>

oracle@Oracle1:/u01/app/oracle$ su root

Password: 

root@Oracle1:/u01/app/oracle# xhost +SI:localuser:oracle

localuser:oracle being added to access control list

root@Oracle1:/u01/app/oracle#

Try again to start the runInstaller

oracle@Oracle1:/u01/app/oracle$ ./runInstaller 

Launching Oracle Database Setup Wizard...

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.