Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I want to customise lightdm I find it frustrating that there is no obvious list of configuration options I could use in /etc/lightdm/lightdm.conf.

Perhaps someone here knows where there is a definitive list of possible options?

share|improve this question
    
I found a list once, and have been struggling to find it again, but no luck. The link provided by @Arcade is the developers' reference. I can't believe there is no clear list of the options and what they do! There should be an man entry for it ... but, alas, they shipped an LTS release without documentation ... see bug 883189 – user79105 Jul 25 '12 at 2:30
    
The documentation is available, see my answer below. – mfisch Oct 2 '12 at 3:29
up vote 7 down vote accepted

They are all available here:

/usr/share/doc/lightdm/lightdm.conf.gz
share|improve this answer
    
Sadly, that doc appears to be years out of date, and full of lies. – ʇsәɹoɈ Apr 29 at 19:05

For reference, lightdm.conf.gz contains the following:

#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# xsessions-directory = Directory to find X sessions
# xgreeters-directory = Directory to find X greeters
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7
#user-authority-in-system-dir=false
#guest-account-script=guest-account
#log-directory=/var/log/lightdm
#run-directory=/var/run/lightdm
#cache-directory=/var/cache/lightdm
#xsessions-directory=/usr/share/xsessions
#xgreeters-directory=/usr/share/xgreeters

#
# Seat defaults
#
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xserver-layout = Layout to pass to X server
# xserver-config = Config file to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
# greeter-session = Session to load for greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# user-session = Session to load for users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
# autologin-guest = True to log in as guest by default
# autologin-user = User to log in with by default (overrides autologin-guest)
# autologin-user-timeout = Number of seconds to wait before loading default user
# autologin-session = Session to load for automatic login (overrides user-session)
# exit-on-failure = True if the daemon should exit if this seat fails
#
[SeatDefaults]
#xserver-command=X
#xserver-layout=
#xserver-config=
#xserver-allow-tcp=false
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#user-session=default
#allow-guest=true
#guest-session=UNIMPLEMENTED
#session-wrapper=lightdm-session
#display-setup-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-session=UNIMPLEMENTED
#exit-on-failure=false

#
# Seat configuration
#
# Each seat must start with "Seat:".
# Uses settings from [SeatDefaults], 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
# port = TCP/IP port to listen for connections on
#
[VNCServer]
#enabled=false
#port=5900
#width=1024
#height=768
#depth=8
share|improve this answer

There is no accurate list of options available. You will find an old list on your system:

zless /usr/share/doc/lightdm/lightdm.conf.gz

But that list has been out of date since at least 2014, when the [Seat:0] mechanism for specifying multiple displays was deprecated and removed:

http://lists.freedesktop.org/archives/lightdm/2014-August/000661.html

With LightDM 1.11.7 we have new behaviour for multi-seat configuration. Thanks to the great work of Laércio de Sousa LightDM now starts seats as defined by logind. I have taken the decision to deprecate the old manual method of specifying seats as I think it is confusing to have two systems trying to define what seats exist. … If you were previously defining seats in the LightDM configuration like this: [Seat:0] … These seats will not be started and this configuration will be ignored.

share|improve this answer
    
nice to know, but i don't use a lightdm based system anymore, so I can't confirm a) what zless is or that it exists by default on a lightdm based system, or b) that your link contains or will contain what you claim, now or in the unforseen future. (hint, quote the relevant part here in your answer). – airtonix Mar 1 at 22:08
    
zless is part of the standard gzip package that is installed on all Linux and BSD systems worldwide. – Brandon Rhodes Mar 1 at 22:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.