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.

lightdm.conf.j2 5.6KB

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