]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - NEWS
Install PAM configuration
[sojka/lightdm.git] / NEWS
1 Overview of changes in lightdm 1.3.1
2
3     * Fix wrapper path in AppArmor profile (broken since 1.1.1)
4     * Add show-manual-login and allow-guest options to lightdm-set-defaults
5     * Don't set PAM_XDISPLAY or PAM_XAUTHDATA if not supported
6     * Add lock-memory option, enabled by default, to prevent paging memory
7       to disk.
8     * Write utmp records for sessions
9     * Install PAM configuration
10
11 Overview of changes in lightdm 1.2.0
12
13     * Backup .xsession-errors on login
14     * Handle failures in pam_setcred
15     * Open log files in append mode
16     * Add extra checks in liblightdm so that it doesn't send invalid messages
17       to the daemon
18     * Fix gdmflexiserver not being added to the path (broken since 1.1.4)
19     * Fix PAM conversations after authentication from locking up sessions
20     * Fix PAM informational messages locking up autologin
21     * Change XDMCP manage timeout from 10ms to 126s (maximum specified in the
22       XDMCP specification)
23
24 Overview of changes in lightdm 1.1.9
25
26     * Add --show-users/--hide-users to lightdm-set-defaults
27     * Call initgroups before pam_setcred - this allows pam_setcred to change
28       group membership correctly
29
30 Overview of changes in lightdm 1.1.8
31
32     * Handle PAM interactions that have more than one message in one callback
33
34 Overview of changes in lightdm 1.1.7
35
36     * Add a seat option greeter-allow-guest which controls if the greeter should
37       provide an option to access the guest account.
38     * Add a seat option greeter-show-manual-login which hints to a greeter if it
39       should show a manual username entry if a user list is already present.
40
41 Overview of changes in lightdm 1.1.6
42
43     * Fix session wrapper working the same as it did in 1.1.3
44
45 Overview of changes in lightdm 1.1.5
46
47     * Stop file descriptors leaking into the session processes
48
49 Overview of changes in lightdm 1.1.4
50
51     * Change session directory once user permissions are set so it works
52       on NFS filesystems that don't allow root to access files.
53     * Restructure session code so the PAM authentication is run in its
54       own process.
55     * Set PAM_XDISPLAY and PAM_XAUTHDATA pam items
56     * Don't send session stdout to .xsession-errors
57     * Fix Qt bindings crash when removing a user
58
59 Overview of changes in lightdm 1.1.3
60
61     * Actually return the system default keyboard layout, not just 'us'
62     * Add keyboard layout variants to list of keyboard layouts
63     * Check accountsservice as well as .dmrc for users' layouts
64     * Add lightdm_user_get_layouts() to query the configured list of layouts
65       on a per-user basis
66     * Add Lock D-Bus method that locks the seat and provides a hint to the
67       greeter to be in lock mode.
68     * Automatically lock sessions when switching away from them
69     * Add a has-messages property to liblightdm
70     * Add regression tests for PAM modules changing usernames
71     * Don't use g_key_file_unref, it requires glib 2.32
72
73 Overview of changes in lightdm 1.1.2
74
75     * Add regression tests for getting the user language and layout
76     * Stop accidentally distributing libsystem
77     * Fix introspection bindings not containing any methods
78     * lightdm-set-defaults can now set the autologin user
79     * Add Python greeter regression tests (representative of all introspection
80       based greeters)
81     * Wait for the VT to become active when switching to avoid a suspected
82       race condition somewhere between LightDM, X, ConsoleKit and the kernel.
83     * Stop lightdm_greeter_start_session_sync() blocking on success.
84
85 Overview of changes in lightdm 1.1.1
86
87     * Add a --disable-tests option
88     * Add note to AUTHORS file where to find author list
89     * Update build system to find moc/uic
90     * Fix non-distributed tests/src/lightdm-session
91     * Fix X sessions with arguments in Exec not working
92     * Use previous session for automatic login or if greeter does not request
93       one.
94     * Set default resolution of VNC to 1024x768, add settings for width, height,
95       depth into lightdm.conf.
96     * AppArmor profile: Fix broken gnome-keyring and dbus/gwibber, and quiesce
97       annoying kernel audit messages for privileges that we definitively do not
98       want to grant.
99     * Set LOGNAME environment variable
100     * Don't set USERNAME environment variable - this is not specified in POSIX,
101       please report if this causes any major problems.
102     * Drop privileges when reading ~/.dmrc
103     * Move the GTK+ and Qt greeters into their own projects
104     * Fix crash when quitting with newer GLib
105     * Fix crash calling lightdm_get_layout
106     * Support for reading users' backgrounds from Accounts Service
107     * Fix --debug working with new glib
108     * Support PAM requesting a change of password
109     * Update build system to work with automake 1.11.2
110     * Run tests inside their own system D-Bus, simulating ConsoleKit and
111       AccountsService
112     * Add regression test for users that have their home directory created after
113       authentication.
114     * Move lightdm-guest-session from libexec to pkglibexec directory
115
116 Overview of changes in lightdm 1.1.0
117
118     * Remove GetSeatForCookie and GetSessionForCookie D-Bus methods
119     * Switching to a user without a password bypasses the greeter
120     * Use LD_PRELOAD to intercept system calls for testing
121     * Removed the --passwd-file option as not required for testing anymore
122     * Rename test-xserver to X and remove --xserver-command option
123     * Make a test session wrapper and remove --session-wrapper option
124     * Remove unused --user-session, --greeter-session, --minimum-vt,
125       --minimum-display-number options
126     * Use 'default' as the default greeter (make a symlink)
127     * GTK greeter now initializes i18n
128     * GTK greeter now remembers last user
129     * Start authentication for automtically selected user in GTK greeter
130     * Don't resize GTK greeter on each click
131     * Start authentication when scrolling through GTK greeter entries
132     * Link liblightdm-qt against QtGui
133     * Fix liblightdm-qt crashing when face images are installed
134     * Set correct permissions on session log files
135     * Introduce a lightdm-guest-session-wrapper session command which MAC
136       systems like AppArmor and SELinux can use for attaching a restrictive
137       policy to guest sessions.
138     * Provide an AppArmor profile for guest session lockdown.
139     * Fix daemon from blocking if Accounts Service does not exist
140     * Fix greeter log file not being written
141     * Don't set LANG environment variable if using Accounts Service.
142     * Fix gdmflexiserver not working due to it not being in PATH
143     * Don't authenticate the greeter user
144     * Allow greeters to be disabled in configure flags
145     * Fix over allocation of read buffer in greeter protocol
146     * Make sure objects are cleaned up on exit
147     * Fix minor memory leaks
148     * Fix reference counting issue in ConsoleKit code
149     * Fix --enable-gtk-greeter=yes not working
150
151 Overview of changes in lightdm 1.0.0
152
153     * Explicitly grab keyboard focus in GTK greeter
154     * Fix removed power and a11y menu items in GTK greeter
155     * Put system binary directory into path when running in test mode
156     * Call pam_getenvlist after pam_setcred
157
158 Overview of changes in lightdm 0.9.8
159
160     * GetSeatForCookie and GetSessionForCookie are now deprecated.  They
161       remain for now but use the XDG_SEAT_PATH and XDG_SESSION_PATH
162       environment variables instead.
163     * Change log filenames to be unique across different display types.
164     * Fix up script hooks, add regression tests for them
165     * Complete removal of X code from the core of LightDM, so it can better
166       support various display types
167     * Add ability to set the language of a user from the greeter
168     * Set LANG variable based on the user language
169     * Add language selector into GTK greeter (disabled by default)
170     * Allow TCP/IP connections if xserver-allow-tcp is true
171     * Allow lightdm --version to be run as non-root
172     * Automatically respond to PAM messages without prompts
173     * Create 'AddLocalXSeat' D-Bus method, and require root to use 'AddSeat'
174     * Fix multi-seat configuration picking the same display number
175     * Use correct D-Bus and power interface in liblightdm-qt
176     * Run pam_setcred inside the session process so pam_group works
177     * Make sure one session is always selected in the GTK greeter
178
179 Overview of changes in lightdm 0.9.7
180
181     * Set PAM_TTY to the display name, not the tty device
182
183 Overview of changes in lightdm 0.9.6
184
185     * Only unlock displays if switched to from greeter
186     * Make log file not system readable
187     * Write ~/.Xauthority inside the session process so it cannot be hijacked
188     * Set PAM_TTY and PAM_XDISPLAY when opening PAM session
189     * Add VNC server support
190     * Do not write ~/.dmrc and ~/.Xauthority as root. [CVE-2011-3349]
191
192 Overview of changes in lightdm 0.9.5
193
194     * Use accounts service in the daemon if it is available
195     * Correctly load seat type in multi seat configuration
196     * Add display-setup, session-setup and session-cleanup scripting hooks
197     * Fix cancel button in GTK greeter
198     * Fix line through GTK greeter menu items
199     * Exit daemon if a seat fails which has exit-on-failure set to true
200     * Add HasGuestAccount property to seat D-Bus interface
201     * Fix XDMCP authorization
202     * Update man file
203
204 Overview of changes in lightdm 0.9.4
205
206     * lightdm-set-defaults enables tweaking the default session and chosen
207       greeter for lightdm. This is useful for derivatives waiting to not ship
208       the whole configuration file of lightdm
209     * Fix crash in GTK+ greeter when a user is added
210     * Move xsessions-directory and xgreeters-directory from [SeatDefaults] to
211       [LightDM].  This is a configuration break, but making it on the assumption
212       that these settings are not likely to have been overridden.
213     * Fix fallback from org.freedesktop.Accounts to passwd format
214     * Fix duplicate user entries being shown when using passwd file
215     * Add AddSeat D-Bus method for adding dynamic seats
216     * Added a dm-tool program that allows user switching and adding seats
217     * Allow remote X servers, e.g. launched using dm-tool add-nested-seat
218     * Fix bug where sessions were started when the greeter quit and the user
219       hadn't been authorized.
220     * Fix bug where sessions used the seat bus name
221     * Don't allow autologin-username to be set to empty
222     * Fix bug where PAM session was not opened before writing to home directory
223     * Fix crash when failing to write X authority
224
225 Overview of changes in lightdm 0.9.3
226
227     * Unlock ConsoleKit sessions when switching to them
228     * Add a gdmflexiserver binary that provides backwards compatibility with
229       existing sessions
230     * Set XDG_SEAT_PATH and XDG_SESSION_PATH environment variables for sessions.
231     * Always set XAUTHORITY environment variable so sudo keeps accessing the
232       correct X authority.
233     * Connect up lightdm_user_get_logged_in in liblightdm-gobject
234     * Ignore sessions that fail TryExec or are hidden
235     * Add missing home_directory User property missing in Vala bindings
236
237 Overview of changes in lightdm 0.9.2
238
239     * Fix annotation and Vala bindings for getting the UserList singleton
240     * Fix GTK+ greeter error label not being shown
241     * Don't set SIGQUIT to ignore in child processes
242     * Reworked the PAM code as ecryptfs users weren't able to log in.  They
243       can now but not sure what changed to fix that!?
244
245 Overview of changes in lightdm 0.9.1
246
247     * Fix up translation build system
248     * Add a --with-greeter-user configure option
249     * Fix greeter-user configuration not being used
250     * Abort greeter if attempted to be run as root and greeter-user set
251     * Fix setting session in GTK+ greeter
252
253 Overview of changes in lightdm 0.9.0
254
255     * Fix invalid XAUTHORITY variable being set for second X server.
256     * Fix bug where switching users created X servers without VTs
257     * Release a VT when the X server on it stops
258     * Greeters are now just standard X sessions that are stored in
259       /usr/share/xgreeters.
260     * Binaries now installed in /usr/sbin
261     * Drop most of the configure options, they aren't necessary
262     * Config changes:
263       - Major reorginisation of configuration to make it easier to configure and
264         understand.  Users should set [SeatDefaults] section with settings for
265         all seats, and can override each setting in a per seat configuration.
266       - Default seats are now specified using a [Seat:<name>] section.  If no seats
267         are specified then one is started.  This can be overridden by setting
268         start-default-seat=false in [LightDM].
269       - Support setting autologin user to guest account
270       - Split the user accounts configuration into /etc/lightdm/users.conf so the
271         main config can be private.
272       - The default user session is now "default".  Distributions should put a
273         symlink to their chosen default or set one in lightdm.conf.
274       - XDMCP keys now stored in keys.conf
275     * liblightdm API changes:
276       - Both libraries are now version 1 and have API and ABI guarantees.
277       - Face images are now local paths not URIs
278       - liblightdm-gobject now uses lightdm_ prefix instead of ldm_
279       - Non-greeter functions are now moved out of the Greeter class
280       - connect_to_server() is now called connect_sync and blocks until
281         completion.
282       - start_session() is now called start_session_sync and blocks until
283         completion. The quit signal is removed, and the greeter should quit if
284         this method returns TRUE.
285       - login() is now called authenticate()
286       - Greeters now have hints instead of configuration (greeters should load their
287         own configuration from /etc/lightdm if they need it).
288       - liblightdm-gobject uses AccountsService if it is available
289       - Added regression tests for liblightdm-qt
290     * D-Bus API changes:
291       - Expose Seats and Sessions on org.freedesktop.DisplayManager
292       - Add a CanSwitch property
293       - Rename ShowGreeter() to SwitchToGreeter()
294     * Greeter changes:
295       - Drop "example" from the name of the GTK+ and Qt greeters and make them
296         official default greeters.
297       - Use GTK3 for GTK+ greeter.
298       - Removed the Vala and Python GTK+ greeters, they weren't being well
299         maintained.
300
301 Overview of changes in lightdm 0.4.4
302
303     * Fix failure to accept XDMCP connections due to invalid assert.
304     * Allow minimum-display-number to be set in lightdm.conf and on the command
305       line.
306     * Session X authority now written to ~/.Xauthority by default.  It can be
307       configured to run from the system location by setting
308       user-authority-in-system-dir=true in lightdm.conf.
309     * When using system authority the authority can be updated by the user.
310     * Written X authority files now checks hostname and display number.
311     * Enironment is no longer passed through to X servers and sessions, this is
312       no longer required now PAM works correctly.
313     * liblightdm API changes:
314       - Drop ldm_greeter_get_is_first() - it was added for testing and doesn't
315         work well.
316     * Fix more errors where authentication messages from previous sessions could
317       be confused with new sessions.
318     * Added XDMCP regression tests.
319
320 Overview of changes in lightdm 0.4.3
321
322     * Don't replace Plymouth if it isn't running on a valid VT
323     * Allow a null username to log in with - the system will prompt for a
324       username.
325     * liblightdm API changes:
326       - Rename ldm_greeter_provide_secret to ldm_greeter_respond - responses
327         may not be secrets.
328       - show-prompt signal now has a PromptType field
329       - show-message signal now has a MessageType field and takes over
330         behaviour of show-error signal
331     * Fix error where an authentication failure from a previous session could
332       be interpreted as a failure in the current session.
333     * Simplify Vala bindings and add missing methods
334
335 Overview of changes in lightdm 0.4.2
336
337     * Fix errors communicating with PAM
338     * Fix interaction with Plytmouth.
339     * Removes the vt option in lightdm.conf, this is no longer required
340       and the active is used for the first display if Plymouth is
341       detected.  A new option minimum-vt is added to select the first
342       VT to be used for other displays.
343     * On login switch to an existing session if already logged in with that
344       username.
345     * Correctly connect up D-Bus interface for user switching
346
347 Overview of changes in lightdm 0.4.1
348
349     * Fix linking issue with -z,defs
350     * Added guest account support
351     * Restart X server if it crashes during a session
352     * Don't set language environment variables, use the daemon values
353       (system default) and leave it to ~/.profile for users to set these
354     * Change greeter library API, starting a session no longer has a language
355       option
356     * Fix greeter crash when user accounts change
357
358 Overview of changes in lightdm 0.4.0
359
360     * Fix crash when child processes quit
361     * Fix crash when catching signals
362     * Fix crash when session quits after X server
363     * Add internal checking for NULL object access
364     * Correctly handle signals from external programs (Thanks to Jason Conti)
365     * liblightdm API changes:
366       - ldm_greeter_start_authentication becomes ldm_greeter_login
367       - The existing ldm_greeter_login is now ldm_greeter_start_session
368         and the username parameter is not required.
369       - Drop ldm_greeter_get_default_layout (X controls the layout)
370     * Configuration changes:
371       - Use /etc/lightdm/lightdm.conf instead of /etc/lightdm.conf
372       - The "displays" item is now called "seats".  LightDM will fallback to
373         "displays" if "seats" is not defined, but this is deprecated and will
374         be removed by version 1.0.
375       - Make X server configuration a separate section and now has new options
376     * Automatic login users now use PAM session lightdm-autologin
377     * Use org.freedesktop.DisplayManager instead of
378       org.lightdm.LightDisplayManager for D-Bus name
379     * Add regression tests
380     * Allow many more options to be set from the command line
381
382 Overview of changes in lightdm 0.3.7
383
384     * Fix autologin broken in 0.3.3
385
386 Overview of changes in lightdm 0.3.6
387
388     * Disable Plymouth when starting
389     * Allow display vt setting to be set to "active" to start on active VT
390     * Fix login in Qt example greeter
391     * Fix typo for High Contrast menu item (GTK example greeter)
392
393 Overview of changes in lightdm 0.3.5
394
395     * Set working directory when logging in
396     * Massive improvements to Qt greeter
397     * Fix XDMCP authentication/authorization errors
398     * Have the daemon open a connection to a local X server
399     * Tidy up some debugging messages
400     
401 Overview of changes in lightdm 0.3.4
402
403     * Updates to liblightdm-qt
404     * Fix --with-cache-dir not working
405     * Set greeterdir in .pc files to point to where greeter engines should be
406       installed
407
408 Overview of changes in lightdm 0.3.3
409
410     * Don't run in test-mode if Xephyr cannot be found
411     * Fix daemon using 100% CPU after greeter quits
412     * Fix crash when users don't have GECOS data
413     * Greeters can now detect user add/remove events
414     * Fix ConsoleKit support broken with switch to GDBus
415     * Correctly clean up X processes on exit
416     * Wait for greeter to quit before running user session (fixes problem with
417       Compiz)
418
419 Overview of changes in lightdm 0.3.2
420
421     * Distribute GTK greeter .ui file
422
423 Overview of changes in lightdm 0.3.1
424
425     * Add greeter login_with_defaults method
426     * Add example to the name of all the greeters
427     * Set the configuration for the default display to use VT 7
428     * Fix the vt setting for displays, it was incorrectly named tty
429     * Fix crash when load-users is false in UserManager
430     * Fix up name of .vapi file so it can be used directly from valac
431     * Tidy up Qt library and greeter
432     * Move menubar in greeters to top of screen
433     * Fix console kit get_can_*() methods
434     * Use GtkBuilder for example GTK greeter
435
436 Overview of changes in lightdm 0.3.0
437
438     * Correctly pass environment variables through to the session
439     * Allow starting virtual terminal to be configured
440     * Replace D-Bus greeter communication with a private pipe
441     * Use GDBus instead of dbus-glib
442     * Use the engine process name instead of a hardcoded value in theme files
443     * Rename ldm_greeter_connect to ldm_greeter_connect_to_server so it doesn't
444       clash with GObject method name
445     * Rename ldm-gtk-greeter to lightdm-gtk-greeter
446     * Rename gnome theme to example-gtk-gnome
447     * Add more annotations to liblightdm-gobject
448     * Add an example PyGObject, Vala and QT greeter
449     * Generate metadata for QT libraries
450     * Move Webkit greeter into separate module
451
452 Overview of changes in lightdm 0.2.3
453
454     * Set correct linking library names in pkg-config files
455     * Handle session executables that take arguments
456
457 Overview of changes in lightdm 0.2.2
458
459     * Make default themedir work when --prefix is not passed to configure
460     * Look for face images in ~/.face and ~/.face.icon
461     * Put .vapi file in unversioned vala directory
462     * Fix compiling without QT
463     * Choose the VT to open the display on
464     * Set correct group memberships for sessions (Yves-Alexis Perez)
465     * Set permissions on xauthority file so it can only be read by the owning
466       user (Yves-Alexis Perez)
467     * Set correct permissions on ~/.dmrc (Yves-Alexis Perez)
468     * Add --enable-liblightdm-gobject, --enable-liblightdm-qt configure option
469     * Set environment variables from PAM (Yves-Alexis Perez)
470
471 Overview of changes in lightdm 0.2.1
472
473     * Use "lightdm" as default PAM service and make it configurable
474     * Rename libldmgreeter to libldmgreeter-gobject
475     * Add libldmgreeter-qt (David Edmundson)
476     * Fix gobject-introspection build
477     * Renamed libldmgreeter to liblightdm
478     * Install a .vapi file
479
480 Overview of changes in lightdm 0.2.0
481
482     * Make default user configuration per-display
483     * Only automatically login the first time
484     * Fix WebKit theme loading and automatic login
485     * Do cross fade for sessions that support it
486       (set X-LightDM-Supports-Transitions=true in their xsession file)
487     * Load user settings from ~/.dmrc
488     * Add configuration for default language/layout
489     * Change language/layout/session when user selected in GTK+ greeter
490     * Set default keyboard layout on first login
491     * Don't run all sessions throught /etc/X11/XSession - make the session
492       wrapper optional and configurable.
493     * Make pkgconfig file require libxklavier
494     * Only compile greeters if have dependencies
495     * Include ck-connector code to reduce library dependencies
496     * Add introspection.m4 to the source tree
497     * Support using no greeter user in lightdm.conf
498     * Flush writes to main log file
499     * Allow non-privilidged user to write greeter log file in /var
500     * Fix bugs stopping running greeter as priviledged user (i.e. root)
501     * Don't default to running greeters with the GDM user - it may not exist!
502
503 Overview of changes in lightdm 0.1.2
504
505     * Write PID file
506     * Make user switcher API work
507     * Add a AddDisplay D-Bus method to start new displays
508     * Feed signals to GLib main loop via a pipe
509     * Add an upstart script
510     * Make theme files more similar to existing themes
511     * Change dbus namespace from org.freedesktop.LightDisplayManager to
512       org.lightdm.LightDisplayManager
513     * Write debug log to /var/log/lightdm/lightdm.log instead of stdout.  Use
514       --debug for the previous behaviour
515     * Add exec_prefix into libldmgreeter.pc
516     * Change versioned include and pkgconfig files from 1 to 0
517     * Add themedir variable into pkgconfig file
518     * Connect language list in GTK greeter to login language
519
520 Overview of changes in lightdm 0.1.1
521
522     * Change licence of libldmgreeter from GPL to LGPL
523     * Write X server and session output to log files
524     * Set PATH, DESKTOP_SESSION, GDMSESSION and USERNAME environment variables
525     * Run sessions through Xsession
526     * Close all X servers on exit
527     * Send SIGHUP to X server when returning to greeter (makes all clients quit)
528     * Change authorization after a session ends so previous session does not get
529       access
530     * Make shutdown buttons work in GTK+ greeter
531     * Make user manager configurable
532     * Make GTK+ greeter show username entry if no user list
533     * Hide C and POSIX languages in greeter
534     * Load language and layout from .dmrc file
535
536 Overview of changes in lightdm 0.1.0
537
538     * Make --test-mode which runs as the current user
539     * Support displays acting as XDMCP terminals
540     * Support MIT-MAGIC-COOKIE-1 and XDM-AUTHORIZATION-1 authorization
541     * Support XDMCP over IPv6
542
543 Overview of changes in lightdm 0.0.4
544
545     * Support XDMCP logins
546     * Support multi-head
547     * Clean up resources on exit
548     * Create gettext instance in WebKit greeter
549
550 Overview of changes in lightdm 0.0.3
551
552     * Wait for signal from X server before starting session
553     * Add language API
554     * Add keyboard layout API
555     * Add gettext support to the WebKit greeter
556
557 Overview of changes in lightdm 0.0.2
558
559     * Fix installation of D-Bus service file
560     * Allow DISPLAY env variable to be passed to X server so can run Xephyr
561     * Handle no automatic login in webkit theme
562
563 Overview of changes in lightdm 0.0.1
564
565     * Initial release