Solved

DISPLAY variable

Posted on 2004-09-09
8
603 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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 500 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
windows 7 starter missing password 21 99
000webhost.com default error log 1 60
awk variable in printf 1 43
SMB share across internet 15 83
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…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

733 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