determine the VT it is using it will attempt to parse the X server's log
file looking for the string 'using VT number '. If GDM doesn't know what
VT it's using, it is unable to pass that information to ConsoleKit, so the
session is treated as always inactive.
Enable automatic VT allocation by default, and piggyback on the Linux/SunOS
VT switching code using wsdisplay usl emulation for NetBSD.
Also, PKGREVISION++
changes:
-Use GDK functions to get proper screen resolution
-Move default Welcome/RemoteWelcome strings from gdm.h to
gdm-daemon-config-keys.h so it isn't defined twice
-Translation updates
This switches to the gnome-2.20 branch, too many changes to list here.
(The update has taken a while because the XDMCP code relies on
IPv6-mapped IPv4 sockets which is not so easy on NetBSD.)
daemon/verify-{crypt,shadow}.c prints out the user name in various
places, where daemon/verify-pam.c code does not. Get out of sync with
the login dialog, and you'll have your password logged.
Adapt patches from the gdm 2.20 branch for
(1) not logging the user name in any syslog error messages
(2) not localizing the log messages.
Bump pkg revision.
Fixes PR 31417.
daemon/verify-{crypt,shadow}.c prints out the user name in various
places, where daemon/verify-pam.c code does not. Get out of sync with
the login dialog, and you'll have your password logged.
Adapt patches from the gdm 2.20 branch for
(1) not logging the user name in any syslog error messages
(2) not localizing the log messages.
Fixes PR 31417.
changes:
- Fix handling of AlwaysLoginCurrentSession and DoubleLoginWarning so
it works for the non-migratable case (for Xnest, XDMCP, etc.).
- Use an unsigned char buffer in gdm_fdgetc
- Just display the default "authentication failed" message when we
receive PAM_AUTHINFO_UNAVAIL
- Translation updates
- Fix crashing issue with XDMCP logic.
pkgsrc change: fix the substitution which is supposed to make the
NetBSD logo appear on the default login screen, but do so for a NetBSD
pkgsrc target only.
Should fix PR pkg/34955 by Hauke Fath
This moves this pkg to the new stable gnome branch, too much to list here.
pkgsrc notes:
-look for X server at ${X11BASE}/bin/X too, to make it work with
modular-xorg out of the box
-improved paths to shutdown etc. for netbsd
-Use dbus-launch to start gnome-session on netbsd, to avoid the autostart
which fails for me. At least Debian does so too.
2.16.4 Stuff:
- Fix for a recently reported security issue that has ID
CVE-2006-6105. This fixes a problem where a user can
enter strings like "%08x" into the gdmchooser "Add"j
host button and print out memory. (Brian Cameron)
- Fix for TryExec check in gdmsession to make sure that any
arguments are not passed to g_find_program_in_path since
this causes the function to say it is not executable.
(Brian Cameron)
- Translation updates (Runa Bhattacharjee, Josep Puigdemont
i Casamaj\303\263, Laurent Dhima, I. Felix, David Lodge,
Ani Peter, Rajesh Ranjan, Clytie Siddall, Vincent van
Adrighem)
2.16.3 Stuff:
- Now support altfile[n] propery to cater for alternative
image file definition. (Erwann Chenede)
- Fix custom lists so that focus does not ever leave the
username/password entry field. (Brian Cameron)
- Update to make casting more clear in PAM logic. This fixes a
bug where the Kerberos PAM module was sending multiple error
messages and GDM was not processing them properly.
(Brian Cameron)
- Add X_EXTRA_LIBS and X_LIBS to utils/Makefile when building
gdm-dmx-reconnect-proxy to fix bug #368808. (Brian Cameron)
- Translation updates (Djihed Afifi, Wouter Bolsterlee, Luca
Ferretti, Pema Geyleg, Priit Laes, Duarte Loreto, Christophe
Merlet, Jovan Naumovski, Daniel Nylander, Ankit Patel, Ignacio
Casal Quinteiro, Satoru SATOH, Francisco Javier F. Serrador,
Alexander Shopov, Ilkka Tuohela)
2.16.2 Stuff:
- Now support for "combo" style lists, and id values of "session"
and "language" are supported for displaying the session/language
lists as drop-down combos. (Brian Cameron). For example:
<item type="list" id="language" combo="true">
<pos x="25" y="10" height="40" width="300"/>
</item>
<item type="list" id="session" combo="true">
<pos x="50" y="10" height="40" width="300"/>
</item>
- Now OK/Start Again buttons are sensitive/insensitive in a more
sensible way for both gdmlogin and gdmgreeter (if GTK style buttons
are used in gdmgreeter). (Brian Cameron)
- Face Browser widget and background rectangle (for gdmgreeter)
is not shown if there are no users to display. (Brian Cameron)
- Help button now enabled in gdmphotosetup. (Matthias Clasen)
- Fix so that if timed user script returns an invalid user that
timed login is not turned on. (Andrew)
- Fix bug that was causing %t to be expanded improperly when
used in the timed login label. (Brian Cameron)
- Set authdir to NULL after freeing to avoid accessing an invalid
pointer. Fixes bug #359831. (Amnon Aaronsohn)
- Leaks fixed. (Kjartan Maraas)
- Translation updates (Abel Cheung, Priit Laes, Daniel Nylander)
the file (~/.face) is on a local filesystem which didn't work because
it didn't recognize NetBSD's way to use statvfs()
(I had to make the check for statvfs a bit weaker, hope that doesn't
break on another platform.)
2.16.0 Stuff:
- Minor improvements to SDTLOGIN logic, used on Solaris to drop the
Xserver to user permissions for added security.
- Translation updates (Subhransu Behera, \305\275ygimantas Beru\304\215ka,
Runa Bhattacharjee, Stanislav Brabec, Abel Cheung, Theppitak
Karoonboonyanan, Gabor Kelemen, Duarte Loreto, Jordi Mallach, Jovan
Naumovski, Roozbeh Pournader, Josep Puigdemont i Casamaj\303\263,
Rajesh Ranjan, Hendrik Richter, Danilo \305\240egan, Mugurel Tudor,
Funda Wang, Matic \305\275gur)
- Highlights from the 2.15 release cycle. GDM was enhanced to use
giochannel for communication between the daemon and slaves and goption
instead of popt. gdmsetup startup performance improved, and the
"Options" button usability has been further improved. The following
bugs were fixed.
327530 - Ensure login window always has focus.
341619 - No longer save "Failsafe" sessions as user's default login.
2.15.10 Stuff:
- Now gdmlogin centers cursor in the GUI to ensure that the login
window always has focus. Fixes bug 327530.
- Translation updates (Subhransu Behera, Rahul Bhalerao, Wouter
Bolsterlee, Maxim Dziumanenko, Artur Flinta, Leonid Kanter,
Gabor Kelemen, Priit Laes, Ani Peter, Hendrik Richter, Satoru
SATOH, Funda Wang
2.15.9 Stuff:
- The iochannel fix in 2.15.8 broke the face browser when using
gdmgreeter. Now fixed. (Ray Strode)
- Fix so that focus never leaves the user/password entry when using
the gdmgreeter Options button. The previous fixes for this didn't
take into account the situation where the user pops up the menu,
but doesn't select an option. (Brian Cameron)
- Fix error message that gets printed when you try to run GDM
daemon as a non-root user. (Brian Cameron)
- The configure script now supports the Xserver installed in
/usr/bin/Xorg. (Ray Strode)
- Remove calls to syslog/malloc that are called from inside signal
handlers, since they are not safe. (Ray Strode)
- Improved commands in GDM configuration files. (Brian Cameron)
- Translation updates (Subhransu Behera, Rahul Bhalerao, Inaki Larranaga,
Jovan Naumovski, Ankit Patel, Ani Peter)
2.15.8 Stuff:
- Fix to bugs causing gdmchooser to core dump when started.
(Brian Cameron)
- Translation updates (Pawan Chitrakar, Christophe Merlet,
Francisco Javier F. Serrador)
2.15.7 Stuff:
- Now GDM does not save Failsafe GNOME or Failsafe Xterm as the
user's default session, so the user does not lose their
default setting when using Failsafe (bug #341619).
(Brian Cameron)
- Updated GDM's slave/daemon message handling so it uses
giochannel internal buffering. This should prevent messages
from getting lost. (Ray Strode)
- Performance improvements to gdmsetup start-up. (Ray Strode)
- Fix for compiling with GCC 2.95. (Jens Granseuer)
- Translation updates (Beno\303\256t Dejean, Christophe Merlet,
Lukas Novotny, Ahmad Riza H Nst, Kostas Papadimas, Hendrik
Richter)
2.15.6 Stuff:
- Timed Login message fixed so it works when TimedLogin is set to a
piped script.
- Fix decoding of suspend command so it works.
- Make sure that focus is returned to entry after dialogs are launched
from the new Options button.
- NoHost icon updated to use official GNOME logo. New default face
image with a facelift.
- Scrolling regions in gdmsetup User tab are now scrollable
vertically, improving UI experience. gdmsetup now generates a
proper error message and fails when it can't find the custom
configuration file.
- Translation updates (Runa Bhattacharjee, Raivis Dejus, I. Felix,
Yair Hershkovitz, Inaki Larranaga, Chao-Hsiung Liao, Dukas Novotny,
Daniel Nylander, Rajesh Ranjan, Hendrick Richter, Ilkka Tuohela)
2.15.5 Stuff:
- Correction to autologin PAM service name so automatic login works.
(Brian Cameron)
- Fix compiler warnings that were causing core dumping issues on
some platforms (Brian Cameron)
- Translation updates (Josep Puigdemont Casamaj\303\263,
Changwoo Ryu)
2.15.4 Stuff:
- Correction for serious security issue where the user can enter the
GDM configuration GUI with a user password when the Face Browser
is enabled. Refer to bugzilla.gnome.org bug #343476 (Brian
Cameron) This issue impacts all versions of GDM 2.8.0.0-2.8.0.7,
2.14.0-2.14.7, and 2.15.0-2.15.3. This issue was reported to
vendor-sec one week ago and has ID #CVE-2006-2452.
- Fixed bug where when the "Include All" button is modified in the
Users tab, the Automatic/Timed login dropdown lists update
properly. (Brian Cameron)
- Now gdmflexiserver calls gdmcomm_check with FALSE so it will not
pop up a dialog. gdmflexiserver can be run with the --command
option which can be used when the user does not have permission to
a DISPLAY, so trying to show a dialog was causing gdmflexiserver
to core dump when the check failed. (Brian Cameron)
- Added gestures to the AccessKeyMouseEvents configuration file
so that users can access more accessibility features using
dwell gestures. (Brian Cameron)
- Now Welcome message is saved in the configuration file in
UTF-8 format for better readibility. (Frederic Peters)
- The GDM daemon once again supports the -nodaemon option.
(Ray Strode)
- Improvements to Face Browser. Now do not ask the user to
re-enter username on password failure. The cancel button
must now be used to unselect a user. (Brian Cameron)
- Now when GTK+ style buttons are used in gdmgreeter themes,
focus always returns to the entry field after clicking on
a button. (Brian Cameron)
- Now per-display configuration works for greeter/SystemMenu
and greeter/ChooserButton keys. (Brian Cameron)
- "make install" no longer fails if chown fails. (Brian
Cameron)
- If authdir is the fallback dir. If not, and GDM cannot
access the user's $HOME directory, then try and use the
fallback directory. (Arjan Timmerman)
- Translation updates (Pema Geyleg, Theppitak Karoonboonyanan,
Gabor Kelemen, Priit Laes, Kjartan Maraas, Ankit Patel,
Ignacio Casal Quinteiro, Francisco Javier F. Serrador,
Clytie Siddall, Alexander Shopov, Vincent van Adrighem)
2.15.3 Stuff:
- No longer use popt in favor of glib's GOption command line parsing.
Note that this removes the single-dash options GDM used to support
(such as the gdm -nodaemon option which is now --nodaemon) which
were originally supported so GDM would be more like XDM. Users who
depend on the single dash options will need to change to use the
non-deprecated double-dash options. (Christian Kirbach)
- Fix bug that was causing ShowGnomeFailsafeSession and
ShowGnomeXtermSession configuration values to not work. (Brian
Cameron)
- Now add gdm-ssh-session to distribution tarball, and fix the
ssh-session.desktop file so that it sets the right TryExec
value even if --libexecdir isn't passed into configure.
(Brian Cameron)
- Use ngettext in gui/gdmcommon.c for building the Timed Login
message. (Benoit Dejean)
- Translation updates (Chao-Hsiung Liao, Gora Mohanty, Ankit Patel)
2.15.2 Stuff:
- Correct build to include translation files.
- Fix layout of new buttons in gdmgreeter themes.
- Translation updates (Alexander Shopov)
2.15.1 Stuff:
- Correct double free that was causing a core dump in the last release.
(Joe Marcus Clark)
- Improvements to signal handling, fixing problem where GDM slave can
hang on read. Fixes bug #336549. (Ed Catmur, Brian Cameron)
- "Start Over" string changed to "Start Again" after another round of
UI review (Brian Cameron, Calum Benson)
- Better configure support for FreeBSD. Now the default configuration
should be better integrated with kernel/system interfaces. (Joe
Marcus Clark)
- Fix security/AllowRemoteAutoLogin and fix SuspendCommand configuration
so it honors SystemMenu. (Brian Cameron)
- Correct installation of gdm-ssh-session and now the desktop file is
translated. (Brian Cameron)
- Correct invocation of PreFetch, when enabled, so it only executes
once. (Brian Cameron)
- Translation updates (Josep Puigdemont Casamaj\303\263, Beno\303\256t
Dejean, Pema Geyleg, Inaki Larranaga, Daniel Nylander, Ignacio Casal
Quinteiro, Francisco Javier F. Serrador, Alexander Shopov, Ilkka
Tuohela, Funda Wang)
2.15.1 stuff:
- Explicitly adjust the effective GID before running the child session
program to avoid remaining with high privileges. Fixes bug #340347.
(Julio M. Merino Vidal)
- Now allow the PAM Stack to be specified in the GDM configuration instead
of being hardcoded to "gdm". (Brian Cameron)
- Per-display configuration is now supported. The user may create
/etc/gdm/custom.conf:<dispnum> files (/etc/gdm/custom.conf:0 for display :0)
and GUI related configuration settings in the per-display file will override
for that display. (Brian Cameron)
- Greeter themes now support real GTK+ button types, making gdmgreeter
better support a11y and allow GTK themeable buttons. (Brian Cameron)
- New pam-error-logo greeter type to allow an image to be displayed only
when the PAM error message label is showing a message. (Brian Cameron)
- Updated config/gettextfoo.h to reflect current strings for translation.
Fixes bug #340017. (Brian Cameron)
- Updated comments in GDM configuration files (Brian Cameron)
- GDM now uses the string "Start Over" instead of "Cancel" in the GUI.
(Brian Cameron)
- Many updates to documentation. Explain gtk-theme greeter tag, new button and
pam-error-icon, and startover greeter types, and better info about PAM.
(Brian Cameron)
changes:
- Fix so that GDM does not save the Failsafe GNOME or Xterm
session as the user's default.
-bugbixes
- Performance tunings
- Make sure focus is returned to the entry field when using the
"Options" button.
- The nohost icon has been updated to use official GNOME logo,
nobody icon has been given a facelist.
-translation updates
changes:
- Backporting some useful features from 2.15 to 2.14. Per-display
configuration and new gdmgreeter theming options
-bugfixes
-Better configure support for FreeBSD
-Translation updates
-Added gestures to the AccessKeyMouseEvents configuration file
session has more privileges than it should and GTK applications simply
refuse to start.
I do not know how this slipped in the release... maybe some libc function
behaves differently in Linux. Will report this upstream later.
Bump PKGREVISION to 1.
TODO later told me...):
2.14.4 stuff:
- Backing out LINGUAS change which is only for the 2.15 release.
2.14.3 stuff:
- Fixed bug where gdmchooser was ignoring hosts passed in on the command line.
Now gdmchooser works properly when BROADCAST is set to false. (Brian
Cameron, Tiago Vignatti)
- Marked strings as translatable and fix gdmsetup.desktop file so it is
translated. (Vincent Fretin)
- Fix to conform to C89 compilers. (Jens Granseuer)
- Translation updates (Josep Puigdemont Casamaj\303\263, Artur Flinta,
Chao-Hsiung Liao, Kjartan Maraas, Ignacio Casal Quinteiro, Francisco Javier
F. Serrador, Funda Wang)
2.14.2 stuff:
- Now include gui/gdmthemetester.in in the distribution. It being missing
was causing the module to fail to compile. (Brian Cameron)
- Fix to the BROADCAST key in gdmchooser so it should now work. (Brian
Cameron, kudos to Tiago Vignatti)
- Further cleanups to Addresses CVE-2006-1057. (Hans Petter Jansson,
Ray Strode)
- Path and RootPath now do not contain /usr/bin or /bin more than once.
(Brian Cameron)
- Translation updates (Takeshi AIHANA, \305\275ygimantas Beru\304\215ka,
Laurent Dhima, Pema Geyleg, Lukas Novotny)
2.14.1 stuff:
- The sockets connection between the slaves and the GDM daemon is now
better managed to better ensure that sockets are never left open.
This work also makes gdmsetup start faster. (Brian Cameron)
- Corrected bug that causes a core dump when you click on gdmgreeter
fields that have an id. (Brian Cameron)
- Add new GdmXserverTimeout configuration setting so that the length of
time GDM waits for the Xserver to start can be tuned, so GDM better
works with Xservers that require more than 10 seconds to start.
(Emilie)
- The happygnome and happygnome-list gdmgreeter themes now use the
official logo. (Brian Cameron)
- Now GDM configure supports --with-sysconfsubdir so that GDM's
configuration directory can be configured to not have "/gdm" appended
to the end. (Julio M. Merino Vidal)
- Fix for ensuring .ICEauthority file has proper ownership/permissions.
Addresses CVE-2006-1057. (Hans Petter Jansson)
- Fix "Show Actions Menu" section in gdmsetup so it appears when both
"Plain" and "Themed" style is chosen. (Brian Cameron, Dennis
Cranston)
- Now use LINGUAS procedure for defining languages. (Michiel Sikkes)
- Now Xsession script uses "$@" instead of "$1" so it is possible to
pass arguments with the command to run. (Brian Cameron)
- Add Trusted Solraris support. (Niall Power)
- One line fix to Solaris auditing logic that fixes a bug causing
authentication to fail when auditing is turned on. (Brian Cameron)
- Fixes to compile with C99 and fixes to compile under NetBSD.
Remove EXPANDED_* variables from the configure. (Julio M. Merino
Vidal)
- Translation updates (\305\275ygimantas Beru\304\215ka, Beno\303\256t
Dejean, Laurent Dhima, Maxim Dziumanenko, Alessio Frusciante, Rhys
Jones, Raphael Higino, Theppitak Karoonboonyanan, Gabor Kelmen,
Priit Laes, Jordi Mallach, Kjartan Maraas, Daniel Nylander, Kostas
Papdimas, Guilherme de S. Pastore, Ankit Patel, Ignacio Casal
Quinteiro, Hendrik Richter, Jens Seidel, Francisco Javier F. Serrador,
Alexander Shopov, Clytie Siddall, Ilkka Tuohela, Vincent van Adrighem,
Tommi Vainikaninen)