0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Jenkins FATAL: Cannot run program "Xvfb": error=2, No such file or directory

Last updated at Posted at 2020-02-05

Centos7

job設定で下記をチェックしたときにエラーが発生

Start Xvfb before the build, and shut it down after.

Xvfb starting$ Xvfb :1 -screen 0 1024x768x24 -fbdir /var/lib/jenkins/xvfb-2-..fbdir3866416871658583222
FATAL: Cannot run program "Xvfb": error=2, No such file or directory
java.io.IOException: error=2, No such file or directory

ディスプレイをインストールする

yum install -y xorg-x11-server-Xvfb
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?