# /etc/lightdm/lightdm.conf 
#   2015-12-18	jimc	lightdm-1.15.0 initial setup for CouchNet
#			(Formatted more readably)

# Based on /usr/share/doc/packages/lightdm/lightdm.conf.example
# NOTE: settings under /etc/sysconfig take precendence over those below,
#       specifically:
#
# /etc/sysconfig/displaymanager - DISPLAYMANAGER_AUTOLOGIN
#   if set:
#   [SeatDefaults]
#   autologin-user = <value>
#   autologin-user-timeout = 0
#
# /etc/sysconfig/displaymanager - DISPLAYMANAGER_PASSWORD_LESS_LOGIN
#   [LightDM]
#   password-less-login = <value>
#
# /etc/sysconfig/displaymanager - DISPLAYMANAGER_REMOTE_ACCESS
#   [XDMCPServer]
#   enabled = <value>
#
# /etc/sysconfig/displaymanager - DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN
#   if set to yes or true
#   [SeatDefaults]
#   xserver-allow-tcp = <value>
#
# /etc/sysconfig/windowmanager - DEFAULT_WM:
#   [SeatDefaults]
#   user-session = <value>
#

#
# General configuration
#
#
[LightDM]

# start-default-seat = True to always start one seat if none are defined in the configuration
#start-default-seat=true

# greeter-user = User to run greeter as
#greeter-user=lightdm

# minimum-display-number = Minimum display number to use for X servers
#minimum-display-number=0

# minimum-vt = First VT to run displays on
#minimum-vt=7

# lock-memory = True to prevent memory from being paged to disk
#lock-memory=true

# user-authority-in-system-dir = True if session authority should be in the system location
user-authority-in-system-dir=false

# guest-account-script = Script to be run to setup guest account
# jimc/CouchNet hack: default is "guest-account".  Sabotage guest account.
guest-account-script=/bin/false

# logind-check-graphical = True to on start seats that are marked as graphical by logind
#logind-check-graphical=false

# log-directory = Directory to log information to
#log-directory=/var/log/lightdm

# run-directory = Directory to put running state in
#run-directory=/var/run/lightdm

# cache-directory = Directory to cache to
#cache-directory=/var/cache/lightdm

# sessions-directory = Directory to find sessions
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions

# remote-sessions-directory = Directory to find remote sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions

# greeters-directory = Directory to find greeters
#greeters-directory=/usr/share/lightdm/greeters:/usr/share/xgreeters

#
# Seat defaults
# The old [SeatDefaults] is deprecated, use [Seat:*] instead.
#
[Seat:*]
# type = Seat type (xlocal, xremote)
#type=xlocal

# pam-service = PAM service to use for login
#pam-service=lightdm

# pam-autologin-service = PAM service to use for autologin
# This dflt is set in /usr/share/lightdm/lightdm.conf.d/50-suse-defaults.conf
# pam-autologin-service=lightdm-autologin

# pam-greeter-service = PAM service to use for greeters
#pam-greeter-service=lightdm-greeter

# xserver-command = X server command to run, options are OK
#xserver-command=X

# xmir-command = Xmir server command to run, options are OK
# jimc/CouchNet hack, dflt is "Xmir", sabotage this Ubuntu garbage. 
xmir-command=/bin/false

# xserver-layout = Layout to pass to X server
#xserver-layout=

# xserver-config = Config file to pass to X server
#xserver-config=

# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
#xserver-allow-tcp=false

# xserver-share = True if the X server is shared for both greeter and session
#xserver-share=true

# xserver-hostname = Hostname of X server (only for type=xremote)
#xserver-hostname=

# xserver-display-number = Display number of X server (only for type=xremote)
#xserver-display-number=

# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
#xdmcp-manager=

# xdmcp-port = XDMCP UDP/IP port to communicate on
#xdmcp-port=177

# xdmcp-key = key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
#xdmcp-key=

# unity-compositor-command = (options are OK) (Ubuntu-ism, ignore this)
#unity-compositor-command=unity-system-compositor

# unity-compositor-timeout = Number of seconds to wait for compositor to start
#unity-compositor-timeout=60

# greeter-session = Session to load for greeter
#greeter-session=example-gtk-gnome

# greeter-hide-users = True to hide the user list
#greeter-hide-users=false

# greeter-allow-guest = True if the greeter should show a guest login option
# jimc/CouchNet hack: default is true.  We don't have a guest account.
#greeter-allow-guest=false

# greeter-show-manual-login = True if the greeter should offer a manual login option
#greeter-show-manual-login=false

# greeter-show-remote-login = True if the greeter should offer a remote login option
#greeter-show-remote-login=true

# user-session = Session to load for users
#user-session=default

# allow-user-switching = True if allowed to switch users
# jimc/CouchNet hack: default is true, it's useless for CouchNet, simplify life
#allow-user-switching=false

# allow-guest = True if guest login is allowed
# jimc/CouchNet hack: we do not have a guest account.
#allow-guest=false

# guest-session = Session to load for guests (overrides user-session)
#guest-session=

# session-wrapper = Wrapper script to run session with
# Dflt is "lightdm-session"
# This is set in /usr/share/lightdm/lightdm.conf.d/50-suse-defaults.conf
session-wrapper=/etc/X11/xdm/Xsession

# greeter-wrapper = Wrapper script to run greeter with
#greeter-wrapper=

# guest-wrapper = Wrapper script to run guest sessions with
#guest-wrapper=

# display-setup-script = Script to run when starting a greeter session (runs as root)
#display-setup-script=

# display-stopped-script = Script to run after stopping the display server (runs as root)
#display-stopped-script=

# greeter-setup-script = Script to run when starting a greeter (runs as root)
greeter-setup-script=/etc/X11/xdm/Xsetup

# session-setup-script = Script to run when starting a user session (runs as root)
session-setup-script=/etc/X11/xdm/Xstartup

# session-cleanup-script = Script to run when quitting a user session (runs as root)
session-cleanup-script=/etc/X11/xdm/Xreset

# autologin-guest = True to log in as guest by default
#autologin-guest=false

# autologin-user = User to log in with by default (overrides autologin-guest)
autologin-user=watchtv

# autologin-user-timeout = Seconds to wait before autologin (0 is OK)
# jimc/CouchNet hack:  dflt = 0, for jimc's webkit greeter it means prefill the
# box but don't log him in, but I'm not sure if the gtk greeter will 
# immediately log in.  
autologin-user-timeout=-1

# autologin-session = Session to load for automatic login (overrides user-session)
# In the original file this is marked as unimplemented, but jimc's webkit
# greeter handles it.  
autologin-session=default

# autologin-in-background = True if autologin session should not be immediately activated
#autologin-in-background=false

# exit-on-failure = True if the daemon should exit if this seat fails
#exit-on-failure=false

#
# Seat configuration
#
# Each seat must start with "Seat:".
# Uses settings from [Seat:*], any of these can be overriden by setting them in this section.
#
#[Seat:0]

#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn.  Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#key=

#
# VNC Server configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#width=1024
#height=768
#depth=8