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.

121 line
5.5KB

  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 == "mainentance" %}
  23. sessions-directory=/usr/local/share/mainentance
  24. {% endif %}
  25. #
  26. # Seat configuration
  27. #
  28. # Seat configuration is matched against the seat name glob in the section, for example:
  29. # [Seat:*] matches all seats and is applied first.
  30. # [Seat:seat0] matches the seat named "seat0".
  31. # [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
  32. #
  33. # type = Seat type (xlocal, xremote, unity)
  34. # pam-service = PAM service to use for login
  35. # pam-autologin-service = PAM service to use for autologin
  36. # pam-greeter-service = PAM service to use for greeters
  37. # xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
  38. # xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
  39. # xserver-config = Config file to pass to X server
  40. # xserver-layout = Layout to pass to X server
  41. # xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
  42. # xserver-share = True if the X server is shared for both greeter and session
  43. # xserver-hostname = Hostname of X server (only for type=xremote)
  44. # xserver-display-number = Display number of X server (only for type=xremote)
  45. # xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
  46. # xdmcp-port = XDMCP UDP/IP port to communicate on
  47. # xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
  48. # unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
  49. # unity-compositor-timeout = Number of seconds to wait for compositor to start
  50. # greeter-session = Session to load for greeter
  51. # greeter-hide-users = True to hide the user list
  52. # greeter-allow-guest = True if the greeter should show a guest login option
  53. # greeter-show-manual-login = True if the greeter should offer a manual login option
  54. # greeter-show-remote-login = True if the greeter should offer a remote login option
  55. # user-session = Session to load for users
  56. # allow-user-switching = True if allowed to switch users
  57. # allow-guest = True if guest login is allowed
  58. # guest-session = Session to load for guests (overrides user-session)
  59. # session-wrapper = Wrapper script to run session with
  60. # greeter-wrapper = Wrapper script to run greeter with
  61. # guest-wrapper = Wrapper script to run guest sessions with
  62. # display-setup-script = Script to run when starting a greeter session (runs as root)
  63. # display-stopped-script = Script to run after stopping the display server (runs as root)
  64. # greeter-setup-script = Script to run when starting a greeter (runs as root)
  65. # session-setup-script = Script to run when starting a user session (runs as root)
  66. # session-cleanup-script = Script to run when quitting a user session (runs as root)
  67. # autologin-guest = True to log in as guest by default
  68. # autologin-user = User to log in with by default (overrides autologin-guest)
  69. # autologin-user-timeout = Number of seconds to wait before loading default user
  70. # autologin-session = Session to load for automatic login (overrides user-session)
  71. # autologin-in-background = True if autologin session should not be immediately activated
  72. # exit-on-failure = True if the daemon should exit if this seat fails
  73. #
  74. [Seat:*]
  75. {% if display_manager_state == "mainentance" %}
  76. autologin-user=mainentance
  77. autologin-user-timeout=0
  78. user-session=mainentance
  79. {% endif %}
  80. #
  81. # XDMCP Server configuration
  82. #
  83. # enabled = True if XDMCP connections should be allowed
  84. # port = UDP/IP port to listen for connections on
  85. # listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
  86. # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
  87. # hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
  88. #
  89. # The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
  90. # it can be a word and the first 7 characters are used as the key.
  91. #
  92. [XDMCPServer]
  93. #enabled=false
  94. #port=177
  95. #listen-address=
  96. #key=
  97. #hostname=
  98. #
  99. # VNC Server configuration
  100. #
  101. # enabled = True if VNC connections should be allowed
  102. # command = Command to run Xvnc server with
  103. # port = TCP/IP port to listen for connections on
  104. # listen-address = Host/address to listen for VNC connections (use all addresses if not present)
  105. # width = Width of display to use
  106. # height = Height of display to use
  107. # depth = Color depth of display to use
  108. #
  109. [VNCServer]
  110. #enabled=false
  111. #command=Xvnc
  112. #port=5900
  113. #listen-address=
  114. #width=1024
  115. #height=768
  116. #depth=8