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