1819682 Members
3555 Online
109605 Solutions
New Discussion юеВ

xclock

 
hmorrison
Advisor

xclock

Installing oracle on a server running HPUX 11i and when an attempt is made to run xclock the following message appears: Can't open display: Couldn't find per display information. What can I do to make it work.
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: xclock

Shalom,

letting a value called DISPLAY to point to the workstation running the install would help. Also making sure windows or linux firewall is not running as it would block the xclock command.

If that does not help, check the oracle install script. They are frequently released with bugs or commands that work on Solaris but not HP-UX.

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
James R. Ferguson
Acclaimed Contributor

Re: xclock

Hi:

You need to set your DISPLAY variable and export it:

# export DISPLAY=`hostname`:0.0

Regards!

...JRF...
Ivan Azuara
Regular Advisor

Re: xclock

Hi,

Run the next command:

# export DISPLAY=the ip of your machine:0.0
# xclock (if not appears, then run the xhost + command before the export command and try again).

Regards.
"Enjoy the life .."
hmorrison
Advisor

Re: xclock

Thanks to all for the prompt response, I tried running xhost +'ipaddress of host' and I got the following message "unable to open display "ipaddress:0.0" also ran export DISPLAY=ipaddress:0.0, that was accepted, but when I ran xclock, I got an error: can't open display: ipaddress:0.0 and Couldn't find per display information
A. Clay Stephenson
Acclaimed Contributor

Re: xclock

One thing that is not clear to me is "do you have an X server?". In X speak, the server is a PC running an X emulator such as Reflection X, a dedicated X terminal, a Linux box running X, or an HP-UX box with a graphics card, keyboard, and mouse. It is the IP address of this X server that must be set in the DISPLAY variable and enabled by the xhost command.
If it ain't broke, I can fix that.
Dennis Handly
Acclaimed Contributor

Re: xclock

>Installing oracle on a server running HPUX 11i and when an attempt is made to run xclock

What does oracle have to do with xclock?

If you have a HP-UX workstation, you should know what your DISPLAY is. If you have a PC, why not look in the system tray? ;-)
Asif Sharif
Honored Contributor

Re: xclock

Hi Hmorrison,

Enter the following commands, where workstation_name is the host name or
IP address of your workstation:
├в   Bourne, Bash, or Korn shell:
$ DISPLAY=workstation_name:0.0
$ export DISPLAY
├в   C or tcsh shell:
% setenv DISPLAY workstation_name:0.0

To determine whether X Window applications display correctly on the local
system, enter the following command:
$ xclock
The X clock should appear on your monitor.

Regards,
Asif Sharif
Regards,
Asif Sharif