vnc
: This does nothing!vnc::client
: Makes sure the latests vnc package is installed.vnc::server
: Installs vnc-server, includes GDM for configuration, and sets up some default vnc sessions. NOTE: You MUST set the following in Hiera to e
vnc::server::create
: Create a new VNC Server Session Desktop gets set to 'name'.
This does nothing!
Makes sure the latests vnc package is installed.
The following parameters are available in the vnc::client
class:
Data type: String
The ensure status of tigervnc client package
Default value: simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' })
Installs vnc-server, includes GDM for configuration, and sets up some default vnc sessions.
NOTE: You MUST set the following in Hiera to enable XDMCP. VNC will not work without it.
---
gdm::settings:
xdmcp:
Enable: true
The following parameters are available in the vnc::server
class:
Data type: String
The ensure status of the tigervnc-server package
Default value: simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' })
Create a new VNC Server Session
Desktop gets set to 'name'.
vnc::server::create { 'vnc_default':
port => '5900'
}
The following parameters are available in the vnc::server::create
defined type:
Data type: Simplib::Port
Port on which you wish to enable the VNC session
Data type: Vnc::Geometry
Resolution of your VNC session
Default value: '800x600'
Data type: Integer
Specifies the pixel depth, in bits, of the desktop
Default value: 16
Data type: Integer
Time after which to disable the screensaver, in minutes.
Default value: 15
The Vnc::Geometry data type.
Alias of Pattern['^\d+x\d+$']