Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-24-2010, 08:41 PM
|
#1
|
LQ Newbie
Registered: Jan 2010
Posts: 7
Rep:
|
Can't connect to X11 window server using 'localhost:0.0'
Hi:
I have an intel i7 with windows7 64b , then install VMware Workstation and create a machine with Oracle enterprise Linux 64b 5update4, now i want to inatall oracle db10gR2, but this message apears
[oracle@localhost database]$ 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.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.awt.Window.init(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
I allready did try with xhost + with root but does not work, i thanks someone help
RES
|
|
|
01-24-2010, 09:29 PM
|
#2
|
Member
Registered: Sep 2009
Location: Maryland
Distribution: Slackware
Posts: 68
Rep:
|
RE:
Maybe you could try:
# su - oracle
$ export DISPLAY=127.0.0.1:0.0
$ xhost +
$./runInstaller
I know you said you tried it as root, but I'm not sure if you've tried it as your oracle user. Hopefully that will make a difference for you.
|
|
|
01-25-2010, 03:54 AM
|
#3
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
Using “127.0.0.1:0.0” (or anything with an IP address) may be interpreted as an attempt to access X via the IP stack in TCP protocol. You X server is probably running with the “-nolisten tcp” option. Try using “:0.0” as the DISPLAY value instead, which should use Unix sockets instead.
Yves.
|
|
|
01-25-2010, 04:11 AM
|
#4
|
Member
Registered: Oct 2008
Location: Pakistan, Islamabad
Distribution: CentOS, Fedora, Solaris
Posts: 154
Rep:
|
login to the oracle usr with GUI and the install oracle with GUI
because Oracle 10 G support installation through GUI.
|
|
|
01-26-2010, 05:22 AM
|
#5
|
LQ Newbie
Registered: Jan 2010
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by kforbus
Maybe you could try:
# su - oracle
$ export DISPLAY=127.0.0.1:0.0
$ xhost +
$./runInstaller
I know you said you tried it as root, but I'm not sure if you've tried it as your oracle user. Hopefully that will make a difference for you.
|
I tried but dose not work
[root@localhost ~]# xclock
[root@localhost ~]# su - oracle
[oracle@localhost ~]$ export DISPLAY=127.0.0.1:0.0
[oracle@localhost ~]$ xhost +
xhost: unable to open display "127.0.0.1:0.0"
[oracle@localhost ~]$
|
|
|
01-26-2010, 05:30 AM
|
#6
|
LQ Newbie
Registered: Jan 2010
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by Respinoza
I tried but dose not work
[root@localhost ~]# xclock
[root@localhost ~]# su - oracle
[oracle@localhost ~]$ export DISPLAY=127.0.0.1:0.0
[oracle@localhost ~]$ xhost +
xhost: unable to open display "127.0.0.1:0.0"
[oracle@localhost ~]$
|
Please Explain
|
|
|
01-26-2010, 05:33 AM
|
#7
|
LQ Newbie
Registered: Jan 2010
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by sohail0399
login to the oracle usr with GUI and the install oracle with GUI
because Oracle 10 G support installation through GUI.
|
Please Explain
|
|
|
01-26-2010, 07:43 AM
|
#8
|
Senior Member
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897
Rep:
|
I think the “xhost +” command should be run beforehand as the user running the X server.
Yves.
|
|
|
01-26-2010, 09:38 PM
|
#9
|
LQ Newbie
Registered: Jan 2010
Posts: 7
Original Poster
Rep:
|
Ok, finylly i did this
su - oracle
export DISPLAY=0.0
sh runinstaller
and it works, thank u, for all the tips
|
|
|
All times are GMT -5. The time now is 09:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|