1753808 Members
8021 Online
108805 Solutions
New Discussion юеВ

HP-UX help

 
paramesh
Occasional Contributor

HP-UX help

Hi all,
I have a problem running the java graphics package classes in server-side in hp-ux. The error says "Cannot open x11 window using 141.183.108.8:10.0" According to the advice given in the forum I downloaded patch PHS_25277 and it failed to work after that also.
As our HP-UX server did not have any internal graphic card, I downloaded XVfb(Virtual frame buffer) too and has set the DISPLAY to (IP):10.0 as my xvfb when started is listening on 10.
Can anyone help..???

regards,
Paramesh.
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: HP-UX help


have you tried using 141.183.108.8:0.0 ?? instead of :10.0 ??

live free or die
harry
Live Free or Die
Yogeeraj_1
Honored Contributor

Re: HP-UX help

hi,

can you try stoping and restarting the process?

/sbin/init.d/xvfb stop

then

/sbin/init.d/xvfb start

You may also try to experiment the following:


Run Xvfb
--------
After creating the X5screens configuration file, you run Xvfb simply by:
% /usr/bin/X11/X :5
(usually you would put the process in the background with &)

You can also specify command-line switches when you run Xvfb:
% /usr/bin/X11/X :5 -fbdir /tmp -screen 0 1280x1024x24 -screen 1 640x480x8


Run X clients
-------------
If you have an X client program, say my_x_program, that you wish to connect to an Xvfb server there are 3 ways to do it:
1) most X client programs will connect to the display specified by
the DISPLAY shell environment variable:

% DISPLAY=:5
% my_x_program

2) many X client programs, particularly those that use Motif and Xt,
accept the -display command-line switch:

% my_x_program -display :5

3) a very few X client programs hard-code in a display name and
number. For those, the source program will need to be editted
and changed. This method is strongly discouraged.


hope this helps!
Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)