Forge Home

display

Puppet module which sets up Xvfb + x11vnc as remote display

46,108 downloads

33,692 latest version

3.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.3.1 (latest)
  • 0.3.0
  • 0.2.1
  • 0.2.0
released Nov 2nd 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'p0deje-display', '0.3.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add p0deje-display
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install p0deje-display --version 0.3.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: vnc, xvfb, selenium

Documentation

p0deje/display — version 0.3.1 Nov 2nd 2014

puppet-display

Module allows to connect to remote machine display using x11vnc + Xvfb.

Created for easy workflow of Selenium tests in Vagrant.

Example

Add to your manifest:

class {'display':}

Now, forward default VNC port to your host:

# Vagrantfile
Vagrant.configure('2') do |config|
  config.vm.network :forwarded_port, guest: 5900, host: 5900
end

Reload your VM box.

You can now see your tests running on VM by connecting with any VNC viewer to localhost:5900.

You can also use SSH tunnel instead of port forwarding as some clients forbid connecting to localhost.

Configuration

You can configure display, resolution and color depth:

class {'display':
  display => 99,   # default is 0
  width   => 1024, # default is 1280
  height  => 768,  # default is 800
  color   => 24,   # default is "24+32" (i.e. 32-bit)
}

Support

Supports RedHat and Debian families.