•If you don't have this file, proceed with step 2.
2.Download the XVFB file from the following link to a directory on the Linux machine:
3.Extract the file with the following commands:
chmod +x extract
mkdir /etc/X11
./extract
4.Generate a script file named /etc/init.d/xvfb containing the following, and make it executable:
#!/bin/sh
mode=$1
case "$mode" in 'start')
#start the X Virtual Framebuffer (Xvfb) if [
echo "***Starting up the Virtual Frame Buffer on Screen 1***" /usr/X11R6/bin/Xvfb :1
fi
;;
*)
echo " Usage: "
echo " $0 start (start XVFB)"
echo " $0 stop (stop XVFB - not supported)" exit 1
;;
esac exit 0 chmod +x xvfb
5.Change the run-level to 3 by doing the following:
Edit etc/inittab
#Default
#0 - halt (Do NOT set initdefault to this)
#1 - Single user mode
#2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#3 - Full multiuser mode
#4 - unused
Chapter 18: