SUMMARY: x-sessions, framebuffer

From: Alex Harkema (HarkemaA@vertis.nl)
Date: Tue May 28 2002 - 16:19:39 EDT


>From the responses I could tell that couple of other admins encountered the
same problem. It's not always (Oracle) Reports Server, but it can be
annoying.

Some of the replies advised to go for vncserver (Xvnc), they didn't have
problems (security nor stability) using this solution. Others pointed out
that the virtual framebuffer x-server (Xvfb) comes with Tru64 (v4 and v5)

Finally, I decided to go with Jonathan Burelbach's solution and use Xvfb.
We tried and it works like intended.

------------ Jonathan's reply: ---------------

Try using Xvfb. For oracle reports to work you also need to run a window
manager. I've used the following:
 
First make sure the appropriate XVFB package is installed (OSFXVFB440 for
4.0f, OSFXVFB510 for 5.1)

Admin steps (which could be part of an init script):
  sudo /usr/bin/X11/Xvfb :1 &
  /usr/bin/X11/twm -display :1 &

DBA steps:
  in startup script
  set DISPLAY=localhost:1; export DISPLAY
  stop & start server
  connect to server and display report

---------------------------------------------
Also, Charles Ballowe pointed out, - once java 1.4 is out, the framebuffer
will
no longer be necessary as the AWT will be capable of doing it's own
rendering.

Thanks for your replies!

kind regards,

Alex Harkema
Vertis bv

------------ original message: --------------
For a while now, I am looking for a solution to this problem without
success.
It is not very tru64 specific, but since I know this list is a gathering of
experienced unix admins, I hope you can provide the solution.
We are running (btw, for the larger part on tru64 boxes -v5.1) Oracle
applications (like e-business suite and 9iAS) that require running Oracle
Reports Server; Web Reports, that is. Running on unixservers, this requires
the 'DISPLAY' variable to be set. This is what the Reports Server uses to
produce fonts and images in the Report output.
However, that would require me to start a session, to which the DISPLAY
variable for the Reports Server can be set; in that particular session I
have to grant others to connect to the Xserver (xhost +) and after that, I
never could end that session, because otherwise the DISPLAY variable would
no longer be valid.
One solution is to install Xvnc, start a session there, and disconnect. That
way the session stays alive, and thus the DISPLAY variable will be valid
(until the vnc session is killed). However, I'm not totally satisfied with
this solution, even somewhat concerned... (stability, security and all)
Is there something like a framebufferdevice I can use? Does Tru64 know of
such a solution? Are there any other options?
If you have any hints, ideas, experiences, I'd be glad to hear them.



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:42 EDT