LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 09-17-2011, 08:56 AM   #1
datatek
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
X Windows doesn't work


Hi,

I am in the middle of Oralce10 installation under RHEL5.1 64bit.
I couldn't open X windows at all after the following command.
.........
[oracle@datatek ~]$ export DISPLAY=127.0.0.1:0.0
[oracle@datatek ~]$ xhost +
xhost: unable to open display "127.0.0.1:0.0"
[oracle@datatek ~]$ xhost+
-bash: xhost+: command not found
[oracle@datatek ~]$ export DISPLAY=:0.0
[oracle@datatek ~]$ xhost +
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost: unable to open display ":0.0"
.........
Plase help me.
 
Old 09-17-2011, 09:40 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
"xhost +" must be run by the user who controls the X server, not the user who wants to connect to the X server.

Adam
 
0 members found this post helpful.
Old 09-17-2011, 10:18 AM   #3
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 315

Rep: Reputation: 34
changeover with su and execute the command.
bye
nishith
 
0 members found this post helpful.
Old 09-18-2011, 01:24 AM   #4
datatek
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Hi Adam and Nishith,

Thanks for your swift reply, But I did it several times like the below.
Please tell me another tips.
........
[root@datatek ~]# su root
[root@datatek ~]# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
[root@datatek ~]# xhost +192.168.0.56
192.168.0.56 being added to access control list
[root@datatek ~]# su oracle
[oracle@datatek root]$ DISPLAY=192.168.0.56:0.0; export DISPLAY
[oracle@datatek root]$ cd /home/oracle/database
[oracle@datatek database]$ ./runInstaller
Oracle Universal Installer 시작 중...

설치 프로그램 요구 사항 확인 중...

운영 체제 버전 확인 중: 필수 버전redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
성공함


설치 프로그램 요구 사항을 모두 충족했습니다.

다음에서 Oracle Universal Installer의 시작을 준비하는 중 /tmp/OraInstall2011-09-18_02-20-43PM. 기다리십시오.[oracle@datatek database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.0.56: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)

[oracle@datatek database]$

I appreciate your time.
 
Old 09-18-2011, 01:34 AM   #5
datatek
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Hi All,

I tried this.
..........
su oracle
[oracle@datatek database]$ xhost +192.168.0.56
xhost: unable to open display "192.168.0.56:0.0"
.........
Please give me some tipes.
 
Old 09-18-2011, 01:36 AM   #6
datatek
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Hi All,

My another try is....
..........
[oracle@datatek database]$ export DISPLAY=192.168.0.56:0.0
[oracle@datatek database]$ ./runInstaller
Oracle Universal Installer starting...

설치 프로그램 요구 사항 확인 중...

운영 체제 버전 확인 중: 필수 버전redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
성공함


설치 프로그램 요구 사항을 모두 충족했습니다.

다음에서 Oracle Universal Installer의 시작을 준비하는 중 /tmp/OraInstall2011-09-18_02-35-05PM. 기다리십시오.[oracle@datatek database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.0.56: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)
 
Old 09-18-2011, 01:45 AM   #7
datatek
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Hi All,

My another try is.......
.............
[root@datatek ~]# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
[root@datatek ~]# xhost +
access control disabled, clients can connect from any host
[root@datatek ~]# xhost +
access control disabled, clients can connect from any host
[root@datatek ~]#

[root@datatek ~]# su oracle
[oracle@datatek root]$ cd /home/oracle/database
[oracle@datatek database]$ DISPLAY=192.168.0.56:0.0;export DISPLAY
[oracle@datatek database]$ ./runInstaller
Oracle Universal Installer 시작 중...

설치 프로그램 요구 사항 확인 중...

운영 체제 버전 확인 중: 필수 버전redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
성공함


설치 프로그램 요구 사항을 모두 충족했습니다.

다음에서 Oracle Universal Installer의 시작을 준비하는 중 /tmp/OraInstall2011-09-18_02-43-44PM. 기다리십시오.[oracle@datatek database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.0.56: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)
[oracle@datatek database]$
.................
 
  


Reply


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
X-windows doesn't work with Radeon. posix_memalign Linux - Desktop 9 03-21-2009 07:09 PM
arange windows function doesn't work properly Four Linux - Newbie 0 03-18-2007 12:06 AM
DNS doesn't work on Windows network! Shioni Linux - Networking 3 03-21-2006 03:33 AM
x windows doesn't work after compiling new kernel nobody_peterson Linux - General 1 08-18-2005 01:06 AM
Networking Linux and Windows - Ping doesn't work njs12345 Linux - Wireless Networking 5 02-20-2004 04:29 PM


All times are GMT -5. The time now is 06:41 PM.

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