HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- XVfb not running at init time
Operating System - HP-UX
1827428
Members
3685
Online
109965
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
05-21-2003 06:19 AM
05-21-2003 06:19 AM
Hi,
In order to enable xvfb (X virtual frame buffer)
to use oracle reporter without a graphics card in the server, I configured xvfb.
If I run manually /sbin/init.d/xvfb start it works. But in init time it always runs only
portion of it.
The script looks like below.
'start')
if [ "$START_XVFB" -eq 1 ]; then
if [ ! -f /etc/X11/X${DNUM}screens ]; then
echo X${DNUM}screens missing. Creating default
echo "ServerOptions" > /etc/X11/X${DNUM}screens
echo " ServerMode XVfb" >> /etc/X11/X${DNUM}screens
fi
( $XVFB :${DNUM} $ARGS &)
/usr/bin/sleep 10
/usr/bin/X11/xset fp+ tcp/${FONTSERVER}:7000 -display :${DNUM}
/usr/bin/sleep 10
/usr/bin/X11/mwm -display :${DNUM} &
/usr/bin/sleep 10
/usr/bin/X11/xclock -display :${DNUM} &
set_return
else
rval=2
fi
Only the "( $XVFB :${DNUM} $ARGS &)" is getting executed while init. all the remaining
precess (mwm,xclock) is not starting from init.
I tried with nohup option, I also tried to run
from different init scripts(to make sure time out is not a issue). The result is same.
Now I doubt mwm and xclock can run from only a terminal. Init time processes start with tty "?". If this is the issue how to start a
process in a tty from init?
Thanks in advance
T.Thayanidhi
In order to enable xvfb (X virtual frame buffer)
to use oracle reporter without a graphics card in the server, I configured xvfb.
If I run manually /sbin/init.d/xvfb start it works. But in init time it always runs only
portion of it.
The script looks like below.
'start')
if [ "$START_XVFB" -eq 1 ]; then
if [ ! -f /etc/X11/X${DNUM}screens ]; then
echo X${DNUM}screens missing. Creating default
echo "ServerOptions" > /etc/X11/X${DNUM}screens
echo " ServerMode XVfb" >> /etc/X11/X${DNUM}screens
fi
( $XVFB :${DNUM} $ARGS &)
/usr/bin/sleep 10
/usr/bin/X11/xset fp+ tcp/${FONTSERVER}:7000 -display :${DNUM}
/usr/bin/sleep 10
/usr/bin/X11/mwm -display :${DNUM} &
/usr/bin/sleep 10
/usr/bin/X11/xclock -display :${DNUM} &
set_return
else
rval=2
fi
Only the "( $XVFB :${DNUM} $ARGS &)" is getting executed while init. all the remaining
precess (mwm,xclock) is not starting from init.
I tried with nohup option, I also tried to run
from different init scripts(to make sure time out is not a issue). The result is same.
Now I doubt mwm and xclock can run from only a terminal. Init time processes start with tty "?". If this is the issue how to start a
process in a tty from init?
Thanks in advance
T.Thayanidhi
Attitude (not aptitude) determines altitude.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2003 06:24 AM
05-21-2003 06:24 AM
Solution
I am attacghing a working configuration file /erc/rc.config./xvfb
I would consider reinstalling.
reference:
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066910631
For 11.00
http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_26620&context=hpux:700:11:00
11.11
http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_26622&context=hpux:800:11:11
SEP
I would consider reinstalling.
reference:
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066910631
For 11.00
http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_26620&context=hpux:700:11:00
11.11
http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_26622&context=hpux:800:11:11
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2003 06:24 AM
05-21-2003 06:24 AM
Re: XVfb not running at init time
Hi
If it runs manually but not at init then it is an environmental variable that is missing at init time.
Paula
If it runs manually but not at init then it is an environmental variable that is missing at init time.
Paula
If you can spell SysAdmin then you is one - anon
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP