Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-23-2014, 04:35 AM   #1
Registered: Jul 2012
Distribution: Arch, Debian, and CentOS/RHEL
Posts: 547

Rep: Reputation: 56
Oracle 11g on Oracle Linux - xdpyinfo: unable to open display

Hi all,

Firstly, here is my setup:
1. Debian 7 local machine (ip:
2. Oracle Linux on virtualbox (hostname: oraserver; ip:
3. Oracle Linux has no GUI (no xhost, xlock, etc.)
4. I don't want my Oracle Linux to have any GUI.
5. I can ping from local machine to oraserver, v.v.
6. I can ssh from local machine to oraserver.
7. I tried setting up x11 forwarding on oraserver and using the following command, I assumed my setup is correct:
poo@rocket:~$ ssh -v -X oraadmin@oraserver
OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Offering RSA public key: poo@rocket
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentication succeeded (publickey).
Authenticated to oraserver ([]:22).
debug1: channel 0: new [client-session]
debug1: Requesting
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: Sending env LANG = en_PH.utf8
Last login: Mon Mar 24 16:52:54 2014 from
[oraadmin@oraserver ~]$
I have already configured everything mentioned in Oracle's install guide (setting kernel parameters, etc.), and here is what I have got so far:
* xhost on my local machine:
root@rocket:/home/poo# xhost +
access control disabled, clients can connect from any host
* $DISPLAY is set for oracle@oraserver:
[oracle@oraserver ~]$ grep DISPLAY ~/.bash_profile
export DISPLAY=
[oracle@oraserver ~]$
(echo would properly display the value)
* output of xdpyinfo on local machine:
root@rocket:/home/poo# xdpyinfo | grep name
name of display:    :0
* I cannot run xdpyinfo on oraserver:
[oracle@oraserver ~]$ xdpyinfo
-bash: xdpyinfo: command not found
[oracle@oraserver ~]$ su

[root@oraserver oracle]# xdpyinfo
bash: xdpyinfo: command not found
[root@oraserver oracle]#

So, after logging in to oraserver and doing (su - oracle) to login as oracle, i tried to run:
and got the following:
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 80 MB.   Actual 30973 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 799 MB    Passed
Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] n

User Selected: No

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2014-03-24_05-10-29PM/installActions2014-03-24_05-10-29PM.log
I have already spent the day googling around but I really can't see what I am missing here Can someone please help me out?

I already tried logging in to virtualbox directly, but I get the same error.


Last edited by ilesterg; 03-23-2014 at 06:16 AM. Reason: updating title with a more appropriate description of the issue
Old 03-23-2014, 04:41 AM   #2
Registered: Jul 2012
Distribution: Arch, Debian, and CentOS/RHEL
Posts: 547

Original Poster
Rep: Reputation: 56
Ok, so this cleared my mind that xdpyinfo is not something included in an x install. I installed xdpyinfo and tried to run it and got this:
[oracle@oraserver database]$ xdpyinfo
xdpyinfo:  unable to open display "".
[oracle@oraserver database]$
I'll try to figure this out and update this later.

Old 03-23-2014, 05:04 AM   #3
Registered: Jul 2012
Distribution: Arch, Debian, and CentOS/RHEL
Posts: 547

Original Poster
Rep: Reputation: 56 no avail.

Hey guys,

Can someone please point out what I am missing here?


Last edited by ilesterg; 03-23-2014 at 05:08 AM.
Old 03-23-2014, 11:49 PM   #4
Registered: Jul 2012
Distribution: Arch, Debian, and CentOS/RHEL
Posts: 547

Original Poster
Rep: Reputation: 56
I made it! haha

here's the magic:

* don't DO NOT add $DISPLAY in oracle's .bash_profile, then login to oracle@oraserver through 'ssh -x'



oracle database, oracle linux, ssh, x11, xdpyinfo

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Oracle 11g R1 install on Oracle Enterprise Linux martymedina Linux - Newbie 4 10-27-2013 01:24 PM
[SOLVED] oracle 11g install - oracle user passwd- Authentication Token Maniperror cdhar Linux - Newbie 3 08-21-2012 09:48 PM
Oracle redhat6.1 x86 install Oracle 11g r2 error. reconcil Linux - Newbie 3 11-03-2011 10:11 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration