You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

127 lines
5.6KB

  1. {{ ansible_managed | comment }}
  2. #
  3. # General configuration
  4. #
  5. # start-default-seat = True to always start one seat if none are defined in the configuration
  6. # greeter-user = User to run greeter as
  7. # minimum-display-number = Minimum display number to use for X servers
  8. # minimum-vt = First VT to run displays on
  9. # lock-memory = True to prevent memory from being paged to disk
  10. # user-authority-in-system-dir = True if session authority should be in the system location
  11. # guest-account-script = Script to be run to setup guest account
  12. # logind-check-graphical = True to on start seats that are marked as graphical by logind
  13. # log-directory = Directory to log information to
  14. # run-directory = Directory to put running state in
  15. # cache-directory = Directory to cache to
  16. # sessions-directory = Directory to find sessions
  17. # remote-sessions-directory = Directory to find remote sessions
  18. # greeters-directory = Directory to find greeters
  19. # backup-logs = True to move add a .old suffix to old log files when opening new ones
  20. #
  21. [LightDM]
  22. {% if display_manager_state == "maintenance" %}
  23. sessions-directory=/usr/local/share/maintenance
  24. {% endif %}
  25. user-authority-in-system-dir=true
  26. #
  27. # Seat configuration
  28. #
  29. # Seat configuration is matched against the seat name glob in the section, for example:
  30. # [Seat:*] matches all seats and is applied first.
  31. # [Seat:seat0] matches the seat named "seat0".
  32. # [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
  33. #
  34. # type = Seat type (xlocal, xremote, unity)
  35. # pam-service = PAM service to use for login
  36. # pam-autologin-service = PAM service to use for autologin
  37. # pam-greeter-service = PAM service to use for greeters
  38. # xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
  39. # xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
  40. # xserver-config = Config file to pass to X server
  41. # xserver-layout = Layout to pass to X server
  42. # xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
  43. # xserver-share = True if the X server is shared for both greeter and session
  44. # xserver-hostname = Hostname of X server (only for type=xremote)
  45. # xserver-display-number = Display number of X server (only for type=xremote)
  46. # xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
  47. # xdmcp-port = XDMCP UDP/IP port to communicate on
  48. # xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
  49. # unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
  50. # unity-compositor-timeout = Number of seconds to wait for compositor to start
  51. # greeter-session = Session to load for greeter
  52. # greeter-hide-users = True to hide the user list
  53. # greeter-allow-guest = True if the greeter should show a guest login option
  54. # greeter-show-manual-login = True if the greeter should offer a manual login option
  55. # greeter-show-remote-login = True if the greeter should offer a remote login option
  56. # user-session = Session to load for users
  57. # allow-user-switching = True if allowed to switch users
  58. # allow-guest = True if guest login is allowed
  59. # guest-session = Session to load for guests (overrides user-session)
  60. # session-wrapper = Wrapper script to run session with
  61. # greeter-wrapper = Wrapper script to run greeter with
  62. # guest-wrapper = Wrapper script to run guest sessions with
  63. # display-setup-script = Script to run when starting a greeter session (runs as root)
  64. # display-stopped-script = Script to run after stopping the display server (runs as root)
  65. # greeter-setup-script = Script to run when starting a greeter (runs as root)
  66. # session-setup-script = Script to run when starting a user session (runs as root)
  67. # session-cleanup-script = Script to run when quitting a user session (runs as root)
  68. # autologin-guest = True to log in as guest by default
  69. # autologin-user = User to log in with by default (overrides autologin-guest)
  70. # autologin-user-timeout = Number of seconds to wait before loading default user
  71. # autologin-session = Session to load for automatic login (overrides user-session)
  72. # autologin-in-background = True if autologin session should not be immediately activated
  73. # exit-on-failure = True if the daemon should exit if this seat fails
  74. #
  75. [Seat:*]
  76. greeter-session=lightdm-gtk-greeter
  77. {% if display_manager_state == "maintenance" %}
  78. autologin-user=maintenance
  79. autologin-user-timeout=0
  80. user-session=maintenance
  81. {% endif %}
  82. {% if display_setup_commands is defined %}
  83. display-setup-script=/etc/lightdm/display-setup.sh
  84. {% endif %}
  85. #
  86. # XDMCP Server configuration
  87. #
  88. # enabled = True if XDMCP connections should be allowed
  89. # port = UDP/IP port to listen for connections on
  90. # listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
  91. # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
  92. # hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
  93. #
  94. # The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
  95. # it can be a word and the first 7 characters are used as the key.
  96. #
  97. [XDMCPServer]
  98. #enabled=false
  99. #port=177
  100. #listen-address=
  101. #key=
  102. #hostname=
  103. #
  104. # VNC Server configuration
  105. #
  106. # enabled = True if VNC connections should be allowed
  107. # command = Command to run Xvnc server with
  108. # port = TCP/IP port to listen for connections on
  109. # listen-address = Host/address to listen for VNC connections (use all addresses if not present)
  110. # width = Width of display to use
  111. # height = Height of display to use
  112. # depth = Color depth of display to use
  113. #
  114. [VNCServer]
  115. #enabled=false
  116. #command=Xvnc
  117. #port=5900
  118. #listen-address=
  119. #width=1024
  120. #height=768
  121. #depth=8