LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Does anyone know a procedure for installing XVFB under RHEL5U2 64bit? (https://www.linuxquestions.org/questions/linux-newbie-8/does-anyone-know-a-procedure-for-installing-xvfb-under-rhel5u2-64bit-710537/)

maclacoste 03-10-2009 01:05 PM

Does anyone know a procedure for installing XVFB under RHEL5U2 64bit?
 
I have installed the following RPM xorg-x11-server-Xvfb-1.1.1-48.41.el5 (x86_64) but require the script to start xvfb with the right options. I used the following on a RHEL4 system ( just included the start function.) but the paths have changed under RHEL5 wrt the following line showing the rgb path
-co /usr/X11R6/lib/X11/rgb -fp unix/:7100

I can't seem to locate rgb as above. The other paths are fine as they are now at /usr/bin/Xvfb and /usr/lib64/xserver.

I certainly would appreciate a nudge in the right direction guys.

Thanks.

start() {
echo "Starting ${prog}..."
cd /var/tmp
nohup /usr/X11R6/bin/Xvfb :1 -screen 0 6x6x8 -pn \
-co /usr/X11R6/lib/X11/rgb -fp unix/:7100 \
-sp /etc/X11/xserver/SecurityPolicy -ac &
RETVAL=$?
sleep 1
ps -ef | grep Xvfb | grep -v grep
return $RETVAL
}


All times are GMT -5. The time now is 10:13 PM.