Skip to content

dhoer/chef-xvfb

Repository files navigation

Xvfb Cookbook

Cookbook Version Build Status

This cookbook installs Xvfb and configures it as a service. Xvfb is an X server that can run on machines with no display hardware and no physical input devices. It emulates a dumb framebuffer using virtual memory.

Requirements

  • Chef 12.14+

Platforms

  • CentOS, RedHat, Fedora
  • Debian, Ubuntu

Usage

Just include recipe[xvfb] in your run_list.

Attributes

  • node['xvfb']['display'] - Display number to listen for connections. Default is :0.
  • node['xvfb']['screennum'] - Screen number. Default is 0.
  • node['xvfb']['dimensions'] - Screen width, height, and depth. Default is 1280x1024x24.
  • node['xvfb']['args'] - Additional arguments. Default is nil. Set to -ac to disable access control restrictions.

See attributes/default.rb for complete list of attributes.

Getting Help

Contributing

Please refer to CONTRIBUTING.

License

MIT - see the accompanying LICENSE file for details.