Forge Home


5,499 latest version

2.6 quality score

Version information

  • 2.0.0 (latest)
  • 1.0.0
released Aug 7th 2017
This version is compatible with:
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'kiran-vnc', '2.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add kiran-vnc
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install kiran-vnc --version 2.0.0

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.



kiran/vnc — version 2.0.0 Aug 7th 2017

VNC module for Puppet

Module to manage the vnc server.

It will install vncserver, fluxbox and also browser, default browser is "google-chrome", and also configure the user and fluxbox and start the vncserver service

Puppet Server Version <5

usage: Install and configure vnc server

    class { 'vnc': 
      vncusername       => 'vncuser',
      userpassword      => '$1$qCmU0a$a9Q6W/fDzU6zQI42/Z2s',
      vncpassword       => 'password',
      vncport           =>  5900,

Hiera Usage:

    vnc::vncusername:   'test1'
    vnc::userpassword:  '$1$qCmU0a$a9Q6W/fDzU6zQI42/Z2s'
    vnc::vncpassword:   'password'
    vnc::vncport:       '5901'

NOTE: You have to pass the plaintext password for vncpassword param.

Recommended : change the vncserver password manually, instead of passing plaintext to vncpassword. cmd : '$vncpasswd /home/vncuser/.vnc/passwd'

you can pass hash to the userpassword param, use this command "$openssl passwd -1" to generate md5 hash.

To change default browser to firefox , just change the following param

     #usage in manifest
     browser1    =>  firefox    #for ubuntu
     browser2    =>  firefox    #for centos
     #usage in hiera
     vnc::browser1: firefox     #for ubuntu
     vnc::browser2: firefox     #for centos

Module is successfully tested on Ubuntu14-64b and CentOS7-64b.

NOTE: You can not use multiple vncdisplay.

NOTE: please reboot the server after finished the catalog.

Thank you , Have a great day!