Home » Server Options » RAC & Failsafe » No X11 DISPLAY variable was set (19c RAC RHEL 7.9 . 2 nodes. Host pc RHEL 8.8)
No X11 DISPLAY variable was set [message #689200] Thu, 12 October 2023 03:46 Go to next message
LIPEKA
Messages: 9
Registered: September 2023
Junior Member
Trying to setup Oracle RAC 19c 2 nodes for practice. But getting this error while trying to run ' /dbi/oracle/V19Grid/gridSetup.sh  '

[grid@db1 ~]$ /dbi/oracle/V19Grid/gridSetup.sh
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

No X11 DISPLAY variable was set, but this program performed an operation which requires it.
[grid@db1 ~]$ su - root
Password: 
Last login: Thu Oct 12 04:08:04 EDT 2023 on pts/0
[root@db1 ~]# sudo yum install xorg-x11-xauth
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
              : manager

This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.

Package 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 already installed and latest version
Nothing to do
[root@db1 ~]# 


**Using a laptop RHEL 8.8. Virtualbox has RHEL 7.9 , 2 nodes
Re: No X11 DISPLAY variable was set [message #689202 is a reply to message #689200] Thu, 12 October 2023 05:51 Go to previous messageGo to next message
John Watson
Messages: 8931
Registered: January 2010
Location: Global Village
Senior Member
Are you running the setup in a graphical terminal? A VNC client, for example? If not, you need to be.
Re: No X11 DISPLAY variable was set [message #689204 is a reply to message #689202] Thu, 12 October 2023 09:21 Go to previous messageGo to next message
LIPEKA
Messages: 9
Registered: September 2023
Junior Member
John Watson wrote on Thu, 12 October 2023 05:51
Are you running the setup in a graphical terminal? A VNC client, for example? If not, you need to be.
Hello John,

I am very new to this and just following a RAC 19c tutorial step by step. I am using a regular terminal inside my virtualbox. First node. I do not see another terminal where to run this script.  I tried to export DISPLAY=ip:port but nothing working.

[root@db1 ~]# su - grid
Last login: Thu Oct 12 10:17:43 EDT 2023 on pts/0
[grid@db1 ~]$ export DISPLAY=10.0.5.15:0.0
[grid@db1 ~]$ /dbi/oracle/V19Grid/gridSetup.sh
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

Can't connect to X11 window server using '10.0.5.15:0.0' as the value of the DISPLAY variable.
[grid@db1 ~]$ hostname -I | awk '{print $1}'
10.0.5.15
[grid@db1 ~]$ 



Re: No X11 DISPLAY variable was set [message #689205 is a reply to message #689204] Thu, 12 October 2023 09:42 Go to previous messageGo to next message
Michel Cadot
Messages: 68647
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

First try to run xclock.

Re: No X11 DISPLAY variable was set [message #689206 is a reply to message #689204] Thu, 12 October 2023 10:31 Go to previous messageGo to next message
John Watson
Messages: 8931
Registered: January 2010
Location: Global Village
Senior Member
Quote:
I am using a regular terminal inside my virtualbox.
I've already told you: you have to use a graphical device. If you don't know how to user X-Windows or VNC, you'll need to talk to your sysadmin. Or try a Unix forum.
Re: No X11 DISPLAY variable was set [message #689207 is a reply to message #689206] Thu, 12 October 2023 11:07 Go to previous messageGo to next message
LIPEKA
Messages: 9
Registered: September 2023
Junior Member
John Watson wrote on Thu, 12 October 2023 10:31
Quote:
I am using a regular terminal inside my virtualbox.
I've already told you: you have to use a graphical device. If you don't know how to user X-Windows or VNC, you'll need to talk to your sysadmin. Or try a Unix forum.
John, your cold response leaves me hanging. I am a student, not working on the field. I did hours of search and there is no link with the error I am getting inside the Virtualbox with the solution you are proposing. I thank you for the effort. I will move on unto other topics as this one is not getting an answer.

Thanks for your attempted help.
Re: No X11 DISPLAY variable was set [message #689208 is a reply to message #689207] Thu, 12 October 2023 12:11 Go to previous messageGo to next message
Michel Cadot
Messages: 68647
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

did you check this:

Quote:
This application requires X display. Make sure that xdpyinfo exist under PATH variable.

Then did you try to run xclock?

Re: No X11 DISPLAY variable was set [message #689209 is a reply to message #689207] Fri, 13 October 2023 04:08 Go to previous messageGo to next message
John Watson
Messages: 8931
Registered: January 2010
Location: Global Village
Senior Member
I'll have one more try Smile
Quote:
John, your cold response leaves me hanging. I am a student, not working on the field. I did hours of search and there is no link with the error I am getting inside the Virtualbox with the solution you are proposing. I thank you for the effort. I will move on unto other topics as this one is not getting an answer.
You need to read the docs, and follow the instructions. Your problem is nothing to do with Oracle: it is because you do not have X-Windows working. This section in the GI Installation Guide makes this clear:
https://docs.oracle.com/en/database/oracle/oracle-database/19/cwlin/logging-in-to-a-remote-system-using-x-window-system.html
Configuring X is beyond the scope of an Oracle forum. However, I can say that the majority (51%? 99%? Don't know!) of DBAs nowadays prefer not to use a fully featured X-Windows server (such as Xming) but rather VNC. Install the VNC server in your Virtual Boxes, it is probably there already but if not:
yum install tigervnc-server
(assuming you have yum configured?) and get the VNC client from here,
https://www.realvnc.com/en/connect/download/viewer/
then run the setup from a graphical terminal.
Re: No X11 DISPLAY variable was set [message #689462 is a reply to message #689209] Tue, 09 January 2024 22:21 Go to previous message
trantuananh24hg
Messages: 744
Registered: January 2007
Location: Ha Noi, Viet Nam
Senior Member
In RHEL from 7 onward, if you had not install GNOME package at the first time Linux installation, you can reinstall it from your repository.
Then, install VNC and configure vncserver on Linux server, whenever done, you can login into Linux's server from VNC client (your laptop, ex)
Previous Topic: GNS/DBS
Goto Forum:
  


Current Time: Sat Apr 27 18:15:53 CDT 2024