Operating System - HP-UX
1820693 Members
2878 Online
109627 Solutions
New Discussion юеВ

Can't open display while installing oracle

 
SOLVED
Go to solution
Ashraf_1
Frequent Advisor

Can't open display while installing oracle

HI All,

While am trying to install oracle 8.0.6 i issued the following command
>hpterm &
Then i got the following error

yanpetdb:orayp1 1> hpterm &
[1] 12288
yanpetdb:orayp1 2> Error: Can't open display: yanpetdb:0
Error: Couldn't find per display information

[1] Exit 1 hpterm

yanpetdb:orayp1 2>

Anybody advise us on how to resolve?

With best Regards,
Ashraf
ASHRAFM
9 REPLIES 9
Thayanidhi
Honored Contributor

Re: Can't open display while installing oracle

Hi,

Hostname:0 represents the graphics console.
Are you trying this in an X- capable terminal/console?

If it is PC acts as X- server then set the varaible
DISPLAY=
TT
Attitude (not aptitude) determines altitude.
Ashraf_1
Frequent Advisor

Re: Can't open display while installing oracle

Thayanidhi,

I am telneting to the server through Reflection for windows NT.

I used DISPLAY=Pc_ip_address:0.0

and still have the same problem.

Regards,
Ashraf
ASHRAFM
Thayanidhi
Honored Contributor

Re: Can't open display while installing oracle

If you telnet from NT's native telnet program, you cannot run this.

Open reflection and try run from reflection terminal.

I tried my PC running reflection & it works

TT
Attitude (not aptitude) determines altitude.
David Andrews_1
Advisor
Solution

Re: Can't open display while installing oracle

When installing, Oracle runs a java application, which requires an X window display.

Do you have an X window emulation program (E.g. Exceed)?

If not do you have a linux server using X Windows, that you can connect from?

If you run sam, does it run in graphical mode, or text?
Steven E. Protter
Exalted Contributor

Re: Can't open display while installing oracle

Try adding these two lines of code to /etc/profile

DISPLAY=$(who -m -u | awk '{print $8}'):0.0
export DISPLAY

This I believe will set the DISPLAY variable equal to the terminal that is logging on. I am still testing this, came up with it on Friday, but it seems to work.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hein van den Heuvel
Honored Contributor

Re: Can't open display while installing oracle


To simplify the testing, see if you can get a trivial X application like xclock to work.

First 'ping yanpetdb', makign sure you can 'look' back to the client system.

If you can, you possibly have a security violation, where the client does nto accept the incomin x requests. Check out the incoming security settings. Perhaps open for all? On Unix I use "xhost +"

good luck,
Hein.



Wodisch
Honored Contributor

Re: Can't open display while installing oracle

Hi Ashraf,

have you setup your Reflection/X to use "host" or "user" based access control?
For the former you'll need the command "xhost", but for the latter use "xauth".
Or reset the access control to "none"...

But then, your PC might have several IP addresses and Reflection could be configured to use the *wrong* one, i.e. one which cannot be routed to from the UNIX box, so check the IP-address to be used within the Reflection/X "settings", too.

FWIW,
Wodisch
Elmar P. Kolkman
Honored Contributor

Re: Can't open display while installing oracle

You mentioned you logged in using Reflection's telnet. What you should do is run Reflection's X-Windows, because your hpterm (and Oracle's installation GUI) need the X-window environment.

Other possibilities are running linux with X-windows (there are simple 1 CD bootable/runnable versions, like Knoppix, you could use for this if you don't have Reflection-X license) or freeware X-windows for windows. But you need the X-windows server to run hpterm or things like that. And make sure that authentication is off or allows connections from your server.

Also your display environment variable shouldn't contain the server's name, but your PC's name. But that is already mentioned.
Every problem has at least one solution. Only some solutions are harder to find.
Ashraf_1
Frequent Advisor

Re: Can't open display while installing oracle

Thanks all,

Problem Had been resolved.

Actually i installed JAVA 1.4.2 and then install evaulation copy of "Exceed" in my machine.

Regards,
Ashraf
ASHRAFM