選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

132 行
5.8KB

  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. greeter-hide-users=true
  78. greeter-show-manual-login=true
  79. {% if display_manager_state == "autologin" %}
  80. autologin-user={{autologin_user}}
  81. autologin-user-timeout=0
  82. {% elif display_manager_state == "maintenance" %}
  83. autologin-user=maintenance
  84. autologin-user-timeout=0
  85. user-session=maintenance
  86. {% endif %}
  87. {% if display_setup_commands is defined %}
  88. display-setup-script=/etc/lightdm/display-setup.sh
  89. {% endif %}
  90. #
  91. # XDMCP Server configuration
  92. #
  93. # enabled = True if XDMCP connections should be allowed
  94. # port = UDP/IP port to listen for connections on
  95. # listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
  96. # key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
  97. # hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
  98. #
  99. # The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn. Alternatively
  100. # it can be a word and the first 7 characters are used as the key.
  101. #
  102. [XDMCPServer]
  103. #enabled=false
  104. #port=177
  105. #listen-address=
  106. #key=
  107. #hostname=
  108. #
  109. # VNC Server configuration
  110. #
  111. # enabled = True if VNC connections should be allowed
  112. # command = Command to run Xvnc server with
  113. # port = TCP/IP port to listen for connections on
  114. # listen-address = Host/address to listen for VNC connections (use all addresses if not present)
  115. # width = Width of display to use
  116. # height = Height of display to use
  117. # depth = Color depth of display to use
  118. #
  119. [VNCServer]
  120. #enabled=false
  121. #command=Xvnc
  122. #port=5900
  123. #listen-address=
  124. #width=1024
  125. #height=768
  126. #depth=8