1753523 Members
9126 Online
108795 Solutions
New Discussion юеВ

configure Xserver

 
attilio_1
Frequent Advisor

configure Xserver

using Java Barcode Servlets there is an error: "Can't connect to X11 window server",
but if I open a terminal with an emulator as reflectionX I can open netscape, for example. This is enaugh to say that Xserver is configured well and if no,how can I configured in a hp-ux 11.00?

I will be very greatful for your help.
Regards
Attilio
6 REPLIES 6
T G Manikandan
Honored Contributor

Re: configure Xserver

On one of the terminals just do a

#xhost +
#DISPLAY=:0.0
Then do a
#/usr/bin/X11/xclock

It should show the clock.
Then your configuration is okay
Then start your servlets application

attilio_1
Frequent Advisor

Re: configure Xserver


The clock is displaied but there are charts in the application that are not shown.
There is some variable or option for shown charts?

thanks
Attilio
Mark Greene_1
Honored Contributor

Re: configure Xserver

Launch an xterm session and run xset -q to get a status report of your Xwindows settings.


mark
the future will be a lot like now, only later
attilio_1
Frequent Advisor

Re: configure Xserver

the output of xset -q is:
auto repeat: on key click percent: 0 LED mask: 00000000
auto repeating keys: 1efbecffffffffff
ffffffffffffffff
ffffffffffffffff
ffffffffffff3f00
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: no allow exposures: no
timeout: 0 cycle: 0
Colors:
default colormap: 0x24 BlackPixel: 0 WhitePixel: 255
DPMS has not been enabled for this X Server
Font Path::/programmi/reflection/x/fonts/sun,c:/programmi/reflection/x/fonts/ibm

I don't know if is ok.
Can I start X for all application ?
Thanks You

SureshKumar_2
Valued Contributor

Re: configure Xserver

Hi

this is an negligible error.

DPMS - Display Power Management Signaling

The DPMSInfo function returns information about the current DPMS state. The state return parameterindicates whether or not DPMS is enabled (TRUE ) or disabled (FALSE ).

You can go thru'... start all X apps.

Things are very easy, when u know about it...
Mike Stroyan
Honored Contributor

Re: configure Xserver

You say that you are using servlets. Those run on the web server side of the connection. Perhaps you need an X server accessible to the web server. Setting the DISPLAY variable in your login shell won't help that.
Folks often set up an Xvfb virtual framebuffer X server for the sake of a web server. That gives server-side java access to an X server. You will find much discussion of configuring that by doing an forum search for "xvfb".

The original HP-UX 11.00 release did not have an xvfb server. If you put on current X server patches you will find an XVFB OPTIONS section in the "man Xhp" manual.