Operating System - HP-UX
1833832 Members
2168 Online
110063 Solutions
New Discussion

Re: X in servermode Xvfb vs. vncserver

 
Ryan Kogelheide
Frequent Advisor

X in servermode Xvfb vs. vncserver

I've been trying to get Oracle Report Server 6i running against vncserver, and it works, but crashes frequently. I thought to use HP's Xserver in servermode=Xvfb mode, but Reports doesn't like it (returning REP-3000 error).

xclock runs fine against the vfb. I've started the server on :0 with the defaults and servermode=Xvfb and a fontpath pointing to my font server.

Does anyone know how I can either get vncserver working more reliably, or set up the HP X server in vfb mode so that it works with Reports 6i?

Failing that does someone know how to see what is causing vncserver to crash or how to compare the vnc parameters with the X parameters?

HP UX 11 on HP9000...
Reports Server 6.0.8.11.3
6 REPLIES 6
David Child_1
Honored Contributor

Re: X in servermode Xvfb vs. vncserver

I found this post and it outlines the same issue I am having, but unfortunately there were no replies. I figured I would put it back out there and see if anyone can assist.

Situation: Trying to run Oracle Reports (6i) on an HP-UX 11.00 system (V2250) - patches are current up to Nov 2001. I am running an Xserver on display :10 (xvfb) so that Oracle Reports will run.

I have tested the Xserver by starting xclock and verifying with xwd/xwud, but when I try and run a report I get Oracle error: REP-3000: Internal error starting Oracle Toolkit.

Any info would be greatly appreciated.

David
Charles Slivkoff
Respected Contributor

Re: X in servermode Xvfb vs. vncserver

Try starting mwm on the Xvfb server.
Ryan Kogelheide
Frequent Advisor

Re: X in servermode Xvfb vs. vncserver

BTW, I did finally get vncserver running more reliably, but I'm not sure how. We have two sites running the same configuration and one works fine and one doesn't.

I did figure out that with vncserver, you have to be careful about the fonts you use (for example I had problems with MS Comic Sans even though that font is impeccably built), and that you have to start VNC Server like

"vncserver :0 -pn -localhost -dpi 96"

You need to configure the fonts carefully in the uifont.ali. You also need to make sure that you've patchset 8 and that you've linked to the latest X libraries (and look at the make to make sure that the link was successful).
SBA_1
Occasional Advisor

Re: X in servermode Xvfb vs. vncserver

Make sure your DISPLAY variable is set to:
:.0

The tiny ommission of this .0 was causing havoc!

Hope this helps...

Mmmmm..invisible cola
SBA_1
Occasional Advisor

Re: X in servermode Xvfb vs. vncserver

Make sure your DISPLAY variable is set to:
:.0

The tiny ommission of this .0 was causing havoc!

Hope this helps...

Also if you check out the Metalink doco, Note:161566.1
you will see a number of trouble shooting steps..basically we have added a export DISPLAY= statement to the start of our concurrent manager job (adcmctl.sh). To ensure that the DISPLAY variable is not being set elsewhere, add an echo $DISPLAY to the end of this script also. Hopefully this has been of some help!


Mmmmm..invisible cola
David Child_1
Honored Contributor

Re: X in servermode Xvfb vs. vncserver

I know this is late, but in case anyone else is trying to find a solution for this I figured I would update it.

I found this solution quite a while back and it seemed to correct various issues that cropped up while trying to get Oracle Reports up and running.

After starting xvfb you can start a window manager. Apparently some of the resources provided from the window manager are required.

What I ended up doing was modifying the 'start' section of /sbin/init.d/xvfb and added: (see attachment for full script)

export DISPLAY=:${DNUM}
/usr/bin/X11/mwm &

Hope this helps,
David