ypid.dm default variables

Selected display manager

dm__name

Which display manager should be used?

Supported display managers:

  • gdm
  • lightdm

Note that the different display managers support a different set of features so not all configuration options that this role provides will have an effect depending on this choice.

dm__name: 'lightdm'

Required packages

dm__package_map

dm__name to base core package name mapping.

dm__package_map:
  lightdm: 'lightdm'
  gdm: 'gdm3'
dm__packages

List of packages to install regardless of the selected display manager.

dm__packages: []
dm__lightdm_packages

Additional list of packages to install when LightDM is selected.

dm__lightdm_packages: []
dm__gdm_packages

Additional list of packages to install when GDM is selected.

dm__gdm_packages:
  - 'libpam-gnome-keyring'

User automatic login

dm__automatic_login_enabled

Should the user configured by dm__automatic_login_user_name be automatically logged in?

dm__automatic_login_enabled: False
dm__automatic_login_user_name

Name of the user which should be automatically logged in.

dm__automatic_login_user_name: 'user'
dm__automatic_login_time_delay

How long should what before dm__automatic_login_user_name will be logged in to give other users the chance to login as their user?

dm__automatic_login_time_delay: 0

Greeter

Warning

Can not be configured for GDM in Debian jessie.

dm__greeter_include_all_users

Only include selected logins in the greeter.

dm__greeter_include_all_users: False
dm__greeter_include_users

Only include selected logins in the greeter.

dm__greeter_include_users: []
dm__greeter_time_show

Should the greeter show the time?

dm__greeter_time_show: True
dm__greeter_time_format

strftime(3) format string.

dm__greeter_time_format: '%F %T %a'
dm__greeter_lightdm_indicators

List of indicators to show on the panel.

dm__greeter_lightdm_indicators: '~host;~spacer;~clock;~spacer;~language;~session;~a11y;~power'
dm__greeter_show_user_list

Should a list of users be shown?

dm__greeter_show_user_list: False

Debugging

dm__debugging_enabled

More verbose logs. Additionally lets the X server dump core if it crashes.

dm__debugging_enabled: False

Display manager restart

dm__restart_on_configuration_change

Should the display manager be restarted when the configuration is changed? Useful for testing.

Warning

This will kill active user sessions!

dm__restart_on_configuration_change: False

Session manager

dm__session_manager

File to the executable session manager file. If given, it will be configured as the default session manager.

You can check the available session managers using update-alternatives --list x-session-manager.

If this variable is set to the special value {{ omit }}, the configuration is not altered.

dm__session_manager: '{{ omit }}'

Paths

dm__binary_path

Path to the executable display manager file. This is used to set the default display manager for the X server.

dm__binary_path: '/usr/sbin/{{ dm__package_map[dm__name] }}'