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