?
Solved

DISPLAY variable

Posted on 2004-09-09
8
Medium Priority
?
610 Views
Last Modified: 2011-09-20
Hello,

DISPLAY varible returns the following error when trying to invoke OUI:
-----
[oracle@Linux2005 oracle]$ export DISPLAY=localhost:0.0
[oracle@Linux2005 oracle]$ /OraHome/Disk1/runInstaller
[oracle@Linux2005 oracle]$ Initializing Java Virtual Machine from /tmp/OraInstall2004-09-09_04-17-25PM/jre/bin/java . Please wait...
Xlib: connection to "localhost:0.0" refused by server
Xlib: No protocol specified
                                                                                                                   
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.0' as the  value of the DISPLAY variable.
 -----

I tried using many different values for DISPLAYU, still running into the same PB

Any ideas ?

PT
0
Comment
Question by:ptreves
  • 5
  • 2
8 Comments
 
LVL 14

Expert Comment

by:theruck
ID: 12021507
try to run xhost + as the user who has run the X server
0
 
LVL 14

Expert Comment

by:theruck
ID: 12021510
"xhost +"
0
 
LVL 20

Expert Comment

by:Gns
ID: 12026890
That would disable authentication for X completely theruck, and is probably not a good idea unless one has real good control over the LAN/network in question. Safer to just allow all X clients started on localhost to draw on the display with
xhost + localhost
(note that you need run this command in a terminal window as the user/session that started X in the first place, otherwise it'll be rejected in the same way oui/runInstaller is).

-- Glenn
0
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
LVL 14

Expert Comment

by:theruck
ID: 12029217
just wanted to know if it works... then we would discuss the security
0
 
LVL 7

Accepted Solution

by:
pegasys earned 1500 total points
ID: 12031466
just try and run whatever you are running from within X, i.e. from an x-term etc...
0
 
LVL 14

Expert Comment

by:theruck
ID: 12033321
? this should be the solution?
0
 
LVL 20

Expert Comment

by:Gns
ID: 12041981
Chuckle, sometimes....:-). Seems someone forgot to run it in a windowing environment, accepting that. (Hat off to pegasys:-)

-- Glenn
0
 
LVL 14

Expert Comment

by:theruck
ID: 12042056
lol :)
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month14 days, 16 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question