- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- xterm and Oracle Report
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 06:49 AM
тАО03-27-2002 06:49 AM
xterm and Oracle Report
The server (L-Class OS 11.00) Does not have Graphics card.
I tried configuring xvfb on this serverWith the help of Document ID: KBRC00007660. This started a xclock and and a xfs process on the server. These two processes are always runs on the server but still I'm not able to run report.
/usr/bin/X11/xclock -display :10
/usr/bin/X11/xfs -config /etc/X11/fs/config -port 7000 -daem
How do I make Oracle report to run always ??
What configuration is required from a client side.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 06:57 AM
тАО03-27-2002 06:57 AM
Re: xterm and Oracle Report
The table below contains an rc startup/shutdown shell script, which is being provided as an example to automate the startup of the Motif Window Manager (/usr/bin/X11/mwm) on the Virtual Framebuffer X Server.
Save the following code in the /sbin/init.d/mwm_xvfb file with read and execute permissions for everyone (555):
chmod 555 /sbin/init.d/mwm_xvfb
#!/sbin/sh
#
# Start Motif Window Manager on XVfb X server
#
PATH=/sbin:/usr/sbin:/usr/bin:
export PATH
MWM_PIDFILE=/var/run/mwm_xvfb.pid
rval=0
set_return() {
x=$?
if [ $x -ne 0 ]; then
echo "ERROR CODE $x"
rval=1
fi
}
if [ -f /etc/rc.config.d/xvfb ] ; then
. /etc/rc.config.d/xvfb
else
echo "ERROR: /etc/rc.config.d/xvfb defaults file MISSING"
fi
export UNIX95=1
case $1 in
start_msg)
echo "Start Motif WM on XVfb X server"
;;
stop_msg)
echo "Stopping Motif WM on XVfb X server"
;;
start)
if [ "$START_XVFB" -eq 1 ]; then
touch $MWM_PIDFILE
pid="$(cat $MWM_PIDFILE)"
if [ "$pid" = "$(ps -C mwm -opid=)" ]; then
echo Motif WM already running on :${DNUM}
rval=2
else
sleep 5
/usr/bin/X11/xset -q -display :${DNUM} >/dev/null && (
/usr/bin/X11/mwm -display :${DNUM} &
echo $! > $MWM_PIDFILE )
set_return
echo Motif WM started on display :${DNUM}
fi
else
rval=2
fi
;;
stop)
if [ ! -f $MWM_PIDFILE ]; then
rval=2
echo "Unable to identify Motif WM on XVfb X server"
else
pid=$(cat $MWM_PIDFILE)
if [ "$pid" = "$(ps -C mwm -opid=)" ]; then
kill -9 $pid
set_return
echo "Motif WM on XVfb X server stopped"
else
rval=2
echo "Cannot verify Motif WM on XVfb X server"
fi
fi
rm -rf $MWM_PIDFILE
;;
*)
echo "usage: $0 {start|stop}"
;;
esac
unset UNIX95
exit $rval
To automate the startup/shutdown of the Motif Window Manager with the Virtual Framebuffer X Server, create the following symbolic links:
ln -s /sbin/init.d/mwm_xvfb /sbin/rc3.d/S810mwm_xvfb
ln -s /sbin/init.d/mwm_xvfb /sbin/rc3.d/K190mwm_xvfb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 07:07 AM
тАО03-27-2002 07:07 AM
Re: xterm and Oracle Report
/usr/bin/X11/mwm -display :10
The mwm process is also running with the screen # 10.
I tried to run the script you gave And I get this error
mwm: Another window manager is running on screen 0 (Why it's showing scrren 0 ??)
mwm: Unable to manage any screens on display
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 08:32 AM
тАО03-27-2002 08:32 AM
Re: xterm and Oracle Report
Still not working anybody else have any clue..????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 08:36 AM
тАО03-27-2002 08:36 AM
Re: xterm and Oracle Report
All I can think of checking is that you have no conflicting process aka window managers starting .... ie mwm,dtwm,xdm or vuewm ....
if they are perhaps /usr/dt/config/Xservers is resposible ? last line tells X to start locally ....
unfortuantly I'm about to go off line for Easter ..... hopefully someone else can pick this up .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 09:05 AM
тАО03-27-2002 09:05 AM
Re: xterm and Oracle Report
What do you want me to check..?
I've these process on my server right now related to X sessions
/usr/bin/X11/xfs -config /etc/X11/fs/config -port 7000 -daem
/usr/bin/X11/xclock -display :10
/usr/bin/X11/mwm -display :10
DoI have to export Display from a pc to test this out..??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 01:22 PM
тАО03-27-2002 01:22 PM
Re: xterm and Oracle Report
Case closed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2002 03:30 AM
тАО03-29-2002 03:30 AM
Re: xterm and Oracle Report
You're the first person I've seen get this going properly. You should consider putting a FAQ together on this and posting it to orafaq.org or requesting that Oracle put it on metalink.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2002 09:51 AM
тАО11-07-2002 09:51 AM
Re: xterm and Oracle Report
This solution solved our latest Oracle pain as well.
Install the latest Xserver Cumulative patch.
In a boot script:
Start Xvfb (e.g. Xvfb :y) ( y=pick a non zero non used virtual display number, e.g. y=5)
Start mwm in Xvfb ( mwm -display :5)