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