We are trying to start vfb at boot up (using inittab) which is not
working, but
when same script is executed from prompt, it works fine. Script is:
"Inittab entry"
"
svfb:2:wait:sh /localscripts/startvfb >/dev/console 2>&1 # start vfb "
Script:
"
#!/bin/ksh
# Start X Virtual Frame Buffer (xvfb) for Oracle IAS
/bin/nohup xinit -- -vfb -force :1 1>/dev/null 2>/dev/null &
"
In this manner vfb is not working and ps entry is as follows:
"
$ ps -eaf | grep -y 'vfb'
root 250010 266422 0 08:04:42 - 0:00 X :1 -vfb -force :1
root 266422 1 0 08:04:42 - 0:00 xinit -- -vfb -force :1
"
When this process is killed and 'startvfb' script is executed from prompt,
it
works fine and 'ps' entry is as follows:
"
$ ps -eaf | grep -y 'vfb'
root 254144 675948 0 10:33:03 - 0:00 ksh
/usr/lpp/X11/defaults/xserv
errc -vfb -force :1
root 675948 1 0 10:33:03 - 0:00 xinit -- -vfb -force :1
root 692358 254144 0 10:33:03 - 0:00 /usr/lpp/X11/bin/X -D
/usr/lib/
X11/rgb -vfb -force :1
"
Kindly advise why this difference in process entries when starting from
inittab
and how can this be resovled?
Here comes polani Once again!!!
P690 Certified Specailist
HACMP & AIX Certified Specailist
AIX & HACCMP Instructor
working, but
when same script is executed from prompt, it works fine. Script is:
"Inittab entry"
"
svfb:2:wait:sh /localscripts/startvfb >/dev/console 2>&1 # start vfb "
Script:
"
#!/bin/ksh
# Start X Virtual Frame Buffer (xvfb) for Oracle IAS
/bin/nohup xinit -- -vfb -force :1 1>/dev/null 2>/dev/null &
"
In this manner vfb is not working and ps entry is as follows:
"
$ ps -eaf | grep -y 'vfb'
root 250010 266422 0 08:04:42 - 0:00 X :1 -vfb -force :1
root 266422 1 0 08:04:42 - 0:00 xinit -- -vfb -force :1
"
When this process is killed and 'startvfb' script is executed from prompt,
it
works fine and 'ps' entry is as follows:
"
$ ps -eaf | grep -y 'vfb'
root 254144 675948 0 10:33:03 - 0:00 ksh
/usr/lpp/X11/defaults/xserv
errc -vfb -force :1
root 675948 1 0 10:33:03 - 0:00 xinit -- -vfb -force :1
root 692358 254144 0 10:33:03 - 0:00 /usr/lpp/X11/bin/X -D
/usr/lib/
X11/rgb -vfb -force :1
"
Kindly advise why this difference in process entries when starting from
inittab
and how can this be resovled?
Here comes polani Once again!!!
P690 Certified Specailist
HACMP & AIX Certified Specailist
AIX & HACCMP Instructor