![如何处理错误:服务 xvfb 不支持 chkconfig?](https://linux22.com/image/687567/%E5%A6%82%E4%BD%95%E5%A4%84%E7%90%86%E9%94%99%E8%AF%AF%EF%BC%9A%E6%9C%8D%E5%8A%A1%20xvfb%20%E4%B8%8D%E6%94%AF%E6%8C%81%20chkconfig%EF%BC%9F.png)
当我按照以下安装说明安装 xvfb 时,出现以下错误:
service xvfb does not support chkconfig
安装说明
Install Xvfb (via the RHEL Server Optional repository)
# yum -y install xorg-x11-server-Xvfb
# yum -y install mesa-dri-drivers
# yum -y install dbus-x11
# dbus-uuidgen --ensure
Setup Xvfb as a service
# useradd xvfb
# vim /etc/init.d/xvfb
# chkconfig --add xvfb
# chkconfig xvfb on