1. 21 Aug, 2007 1 commit
    • William Jon McCann's avatar
      Some Solaris build fixes. Patch from Brian Cameron <brian.cameron@sun.com> · d826466c
      William Jon McCann authored
      2007-08-21  William Jon McCann  <mccann@jhu.edu>
      
      	* acconfig.h:
      	* acinclude.m4:
      	* common/gdm-address.c:
      	* configure.ac:
      	* daemon/Makefile.am:
      	* daemon/factory-slave-main.c:
      	* daemon/gdm-server.c: (server_child_setup):
      	* daemon/main.c: (main):
      	* daemon/product-slave-main.c:
      	* daemon/session-worker-main.c:
      	* daemon/simple-slave-main.c:
      	* daemon/test-session.c: (on_secret_info_query):
      	Some Solaris build fixes.
      	Patch from Brian Cameron <brian.cameron@sun.com>
      
      
      svn path=/branches/mccann-gobject/; revision=5174
      d826466c
  2. 19 Apr, 2007 1 commit
    • Brian Cameron's avatar
      Add RBAC support and allow more configuration on how the System Commands · 1dbcc78d
      Brian Cameron authored
      2007-04-19  Brian Cameron  <brian.cameron@sun.com>
      
              * configure.ac, acconfig.h, daemon/gdm.c,
                daemon/gdm-daemon-config-entries.h, daemon/gdm-daemon-config-keys.h,
                gui/Makefile.am, gui/gdmlogin.c, gui/greeter/Makefile.am,
                gui/greeter/greeter.c, gui/greeter/greeter_system.c,
                config/Makefile.am, config/gdm.conf.in, docs/C/gdm.xml:  Add
                RBAC support and allow more configuration on how the System
                Commands are handled.  This includes adding the SystemCommandsInMenu
                option to specify which commands show up in the greeter menu and
                the AllowLogoutActions to specify which system commands are supported
                via the QUERY_LOGOUT_ACTION, SET_LOGOUT_ACTION, and
                SET_SAFE_LOGOUT_ACTION gdmflexiserver commands.  Also add the
                RBACSystemCommandKeys option so that RBAC can be configured in a
                generic way for each system command.  The configure.ac script sets
                up this key properly for Solaris.  Add RBAC section to the Security
                section of the docs and info about the three new configuration
                options.  This fixes bug #372738.  Note that the gdmflexiserver
                QUERY_LOGOUT_ACTION, SET_LOGOUT_ACTION, and SET_SAFE_LOGOUT_ACTION
                were broken after William Jon McCann's config cleanup, so I fixed
                this.
              * daemon/gdm-net.c: Fix includes so glib includes are after system
                includes.
      
      svn path=/trunk/; revision=4843
      1dbcc78d
  3. 14 Mar, 2007 1 commit
  4. 13 Mar, 2007 1 commit
    • Brian Cameron's avatar
      config/Makefile.am: Add Xephyr support and fix problem with · eb8b4011
      Brian Cameron authored
      2006-03-13  Brian Cameron  <brian.cameron@sun.com>
      
              * configure.ac, acconfig.h, daemon/Makefile.am, daemon/gdm.h
                daemon/server.c, daemon/gdmconfig.c, config/gdm.conf.in,
                config/Makefile.am:  Add Xephyr support and fix problem with
                using Xsun Xnest with Xorg 7.2.  Xsun doesn't like font path
                values that have the ":unscaled" suffix.  This required adding
                two new configuration options XnestDisplayArg and
                XnestUnscaledFontPath so that the user can configure whether
                the Xnest command uses the -display argument or the DISPLAY
                environment variable, and to specify whether to strip the
                ":unscaled" bits from the fontpath.  Modified configure so
                that if Xephyr is on the system, it is used as the Xnest
                program since it works better than Xnest.
              * daemon/gdmconfig.h: No longer set default values for the
                configuration choices here since default are set in
                daemon/gdm.h.
              * config/gdm.conf.in: Comment now says "true" for ConfigAvailable
                since this value has been defaulting to true for some time in
                daemon/gdm.h.   So the comment was wrong.
              * acconfig.h, configure.ac, daemon/gdm.h, daemon/gdmconfig.c: Rework
                how ALWAYS_RESTART_SERVER is set to avoid using #ifdef.  Also use
                AC_DEFINE for GDM_USER_PATH rather than passing it in as a -D
                argument to the compiler, so it works like the other config
                choices.
      
      svn path=/trunk/; revision=4672
      eb8b4011
  5. 28 Mar, 2006 2 commits
    • Julio M. Merino Vidal's avatar
      Removed a C99 local variable definition that breaks the build with gcc · 7ad2d48f
      Julio M. Merino Vidal authored
      006-03-28  Julio M. Merino Vidal  <jmmv@NetBSD.org>
      
              * daemon/xdmcp.c: Removed a C99 local variable definition that
                breaks the build with gcc 2.95 (e.g. under NetBSD 1.6).  Fixes
                bug #336368.
      
      2006-03-28  Julio M. Merino Vidal  <jmmv@NetBSD.org>
      
              * daemon/gdmconfig.c, daemon/server.c: Include sys/resource.h,
                needed to use setpriority(2) and its associated definitions.
                Fixes the build under NetBSD, closing bug #336369.
      
      2006-03-28  Julio M. Merino Vidal  <jmmv@NetBSD.org>
      
              * Makefile.am, README.install, acconfig.h, configure.ac,
                gdmsetup-security.in, config/Makefile.am, config/Xsession.in,
                config/gdm.conf.in, daemon/Makefile.am, daemon/gdm.c, daemon/gdm.h,
                daemon/gdm.in, daemon/gdmconfig.c, daemon/misc.c, daemon/server.c,
                daemon/slave.c, docs/C/gdm.xml, gui/Makefile.am, gui/gdmphotosetup.c,
                gui/gdmsetup.c, gui/gdmsetup.desktop.in, gui/greeter/Makefile.am,
                gui/greeter/gdmthemetester.in, gui/greeter/greeter.c,
                gui/modules/Makefile.am: Get rid of all EXPANDED_* variables from
                the build procedure.  Directory-related variables must only be
                expanded from the Makefiles so that they can be easily overriden
                during the installation phase.  Fixes bug #336364.
      7ad2d48f
    • Brian Cameron's avatar
      Now support --with-sysconfsubdir so that GDM can be configured to have the · f86251dc
      Brian Cameron authored
      2006-03-27  Brian Cameron  <brian.cameron@sun.com>
      
              * acconfig.h, configure.ac, config/Makefile.am, config/PostLogin,
                config/gdm.conf.in, daemon/Makefile.am, daemon/gdm.[ch],
                daemon/gdmconfig.c, gui/Makefile.am, gui/greeter/Makeifle.am,
                gui/modules/Makefile.am, gui/modules/dwellmouselistener.c,
                gui/modules/keymouselistener.c, utils/Makefile.am: Now support
                --with-sysconfsubdir so that GDM can be configured to have
                the config files in a directory that isn't hardcoded to have "/gdm"
                at the end.  Fixes bug #335957.  Patch provided by Julio M
                Merino Vidal <jmmv@NetBSD.org> with minor changes by me to fix
                some usage of EXPANDED_GDMCONFDIR that caused breakage on Solaris.
      
              * gui/gdmXnestchooser, gui/gdmchooser.c, gui/gdmcomm.[ch],
                gui/gdmdynamic.c, gui/gdmflexiserver.c, gui/gdmlogin.c,
                gui/gdmphotosetup.c, gui/greeter/greeter.c:  Now use
                gdmcomm_comm_bulk_start and gdmcomm_comm_bulk_stop to wrap areas of
                the code where we want to keep the sockets connection open for
                performance.  This makes gdmsetup start faster and better ensures
                that sockets are not left open.  Now gdmcomm_call_gdm will always
                close the socket unless inside such a block, ensuring that if distros
                add patches to read new config values at random points in the code,
                the socket won't be left open.
      
              * daemon/gdm.c: Fix gdm_debug message.
      f86251dc
  6. 02 Mar, 2006 1 commit
    • Brian Cameron's avatar
      Updated. Update to 2.13.0.9. Added code to support the change in · 04623abc
      Brian Cameron authored
      2006-03-03  Brian Cameron  <brian.cameron@sun.com>
      
              * Release 2.13.0.10:
              * NEWS: Updated.
              * configure.ac, acconfig.h: Update to 2.13.0.9.  Added code to support
                the change in gdmconfig.c below.
              * gui/gdmconfig.c: Fix so that if gdm.conf file exists on the system
                this is used instead of custom.conf.  This makes GDM more backwards
                compatible and won't break user configuration if the user has an old
                config file.
      04623abc
  7. 13 Feb, 2006 1 commit
    • Brian Cameron's avatar
      Change --with-configdir to --with-defaults-conf and make it work so that · 9db396d4
      Brian Cameron authored
      2006-02-13  Brian Cameron  <brian.cameron@sun.com>
      
              * acconfig.h, configure.ac, daemon/Makefile.am, daemon/gdmconfig.c,
                docs/C/gdm.xml: Change --with-configdir to --with-defaults-conf
                and make it work so that the gdm.conf and gdm.conf-custom file
                can be installed to different subdirectories.  Fixes bug
                #330905.  Patch provided by Ray Strode.
      9db396d4
  8. 06 Oct, 2005 1 commit
  9. 03 Aug, 2005 1 commit
    • Brian Cameron's avatar
      acconfig.h, configure.in, daemon/Makefile.am, daemon/gdm.c, Change to the · b8156037
      Brian Cameron authored
      2005-08-02  Brian Cameron  <brian.cameron@sun.com>
      
              * acconfig.h, configure.in, daemon/Makefile.am, daemon/gdm.c,
                Change to the way the patch introduced on 07/22 works.
                Now GDM continues to install the default gdm.conf file in
                %sysconfdir%/gdm unless the user runs configure with the
                --with-configdir option.  The daemon will now first look
                in this location and then look in the %sysconfdir%/gdm
                directory for the config file.  This allows GDM to better
                support system-wide configuration, but leaves the config
                file in %sysconfdir% for systems that do not need this
                feature.
              * docs/C/gdm.xml: Updated docs.
              * README.install: Updated text to include information about
                HaltCommand and RebootCommand.
      b8156037
  10. 25 May, 2005 1 commit
    • Brian Cameron's avatar
      Now allow xevie to be turned on for server-Standard. This is for better · c0aa384a
      Brian Cameron authored
      2005-05-25  Brian Cameron  <brian.cameron@sun.com>
      
              * acconfig.h, configure.in, config/gdm.conf.in,
                config/Xsession.in, README.install: Now allow xevie to
                be turned on for server-Standard.  This is for better
                a11y support.  Now use /bin/ksh for Xsession shell if
                on Solaris instead of /bin/sh.  This is needed to
                support Solaris users who are using ksh or bash as
                their $HOME shell.
      c0aa384a
  11. 11 Mar, 2005 1 commit
    • Brian Cameron's avatar
      Changed default face directory to EXPANDED_DATADIR/pixmaps/faces since · 7be01d72
      Brian Cameron authored
      Thu Mar 10 17:50:00 2005  Brian Cameron <Brian.Cameron@Sun.Com>
      
              * daemon/gdm.h, config/gdm.conf.in: Changed default face
                directory to EXPANDED_DATADIR/pixmaps/faces since putting
                the faces subdirectory in pixmaps simply makes more
                sense.
              * Makefile.am, acconfig.h, configure.in, gdmsetup-security.in,
                daemon/Makefile.am, daemon/gdm.h, daemon/gdm.in, daemon/slave.c,
                gui/Makefile.am, gui/gdmsetup.c, gui/greeter/Makefile.am,
                gui/greeter/greeter.c: Changed the way GDM files are installed.
                Now all programs intended to be run by root are in
                EXPANDED_SBINDIR (gdm/gdm-binary/gdmsetup), all programs
                that are not intended to be run by end-users are in
                EXPANDED_LIBEXEC (gdmchooser/gdmgreeter/gdmlogin).  Removed
                gdmconfig wrapper script and gdm Xnest symlink since they
                only serve to clutter the filesystem.  I announced this
                change in the 2.6.0.8 release notes and will be bumping
                the next release to 2.6 because of this change and the
                change to the default face directory.
      
              * configure.in, gui/faces/*: Add default faces.  Images
                provided by Jaap A. Haitsma.  Refer to bugzilla bug
                #149838.
              * gui/gdmphotosetup.c: Now browser will look in the system
                face directory first, in EXPANDED_DATADIR/pixmaps if the
                default face directory does not exist.
              * config/Makefile.am: Changed name of Default to Init since
                that follows the naming standard used by the other scripts.
                Fixes bug 118278.
              * docs/C/gdm.xml: Updated docs with information about
                the changes in today's commits.
      7be01d72
  12. 08 Mar, 2005 1 commit
    • Brian Cameron's avatar
      Now use full path to AT programs so gesture listeners do not depend on the · ab8e813b
      Brian Cameron authored
      Tue Mar 08 14:35:00 2005  Brian Cameron <Brian.Cameron@Sun.Com>
              * acconfig.h, configure.in, AccessDwellMouseEvents.in,
                AccessKeyMouseEvents.in: Now use full path to AT
                programs so gesture listeners do not depend on the
                PATH environment variable to run.  By default gdm
                with use EXPANDED_BINDIR, but this can be overridden
                via the --with-at-bindir configure option.
      ab8e813b
  13. 14 Feb, 2005 1 commit
    • Brian Cameron's avatar
      Updated files to also integrate patch for bug #142834. · c17679d7
      Brian Cameron authored
      Thu Feb 14 16:20:00 2005  Brian Cameron <Brian.Cameron@Sun.Com>
      
              * acconfig.h, gui/modules/Makefile.am,
                gui/modules/dwellmouselistener.c,
                gui/modules/keymouselistener.c:  Updated files to
                also integrate patch for bug #142834.
      c17679d7
  14. 03 Feb, 2005 1 commit
    • Brian Cameron's avatar
      Cleaned up the way the user's default PATH is set and allow it to be · ed8c17ea
      Brian Cameron authored
      Thu Feb 02 2:20:00 2005  Brian Cameron <Brian.Cameron@Sun.Com>
      
              * configure.in, config/gdm.conf.in, daemon/gdm.h: Cleaned up
                the way the user's default PATH is set and allow it to be
                configurable.  Also allow default Halt, Reboot, and Suspend
                commands to be different on Solaris.
              * acconfig.h: Cleanup, added new configure options.
      ed8c17ea
  15. 21 Oct, 2004 1 commit
  16. 11 Aug, 2004 1 commit
  17. 30 Dec, 2003 1 commit
    • George Lebl's avatar
      Complain on some more errors · 66924588
      George Lebl authored
      
      Tue Dec 30 15:34:59 2003  George Lebl <jirka@5z.com>
      
      	* daemon/gdm.c, daemon/auth.c:  Complain on some more errors
      
      	* gui/gdmlogin.c, gui/gdmcommon.[ch], gui/gdmsetup.(c|glade),
      	  gui/greeter/greeter.c, gui/greeter/greeter_configuration.h,
      	  daemon/gdm.[ch], daemon/slave.c: Make the login sound thingie
      	  configurable and make it possible to play an arbitrary sound with
      	  /usr/bin/play (or whatever else is configured).  Add accessibility
      	  section to gdmsetup which configures the accessibility modules
      	  and the sound.  Fixes #125487
      
      	* config/gdm.conf.in, docs/C/gdm.xml:  Update docs for the
      	  accessibility/sound stuff
      66924588
  18. 19 Dec, 2003 1 commit
    • George Lebl's avatar
      Massage and then apply a patch from Vincent Berger · e92b71ea
      George Lebl authored
      
      Fri Dec 19 15:44:03 2003  George Lebl <jirka@5z.com>
      
      	* configure.in, acconfig.h, daemon/verify-(crypt|shadow).c: Massage
      	  and then apply a patch from Vincent Berger
      	  <vincent.berger@ext.bull.net> to add password expiration and
      	  checking in the crypt/shadow code, at least on AIX.  Fixes
      	  #123766
      e92b71ea
  19. 09 Dec, 2003 1 commit
    • Balamurali Viswanathan's avatar
      Fri Dec 09 2003 Archana Shah <archana.shah@wipro.com> · bd2507ac
      Balamurali Viswanathan authored
              * configure.in : Put check for getaddrinfo, inet_ntop and struture
                sockaddr_storage.
      
              * acconfig.h : Undefine ENABLE_IPV6
      
              * daemon/slave.c:
                (send_chosen_host): Used getaddrinfo to resolve the hostname.
      
              * daemon/choose.c:
                (gdm_choose_indirect_alloc) (gdm_choose_indirect_lookup):
                Changed prototype to have sockaddr_storage in place of sockaddr_in if
                IPv6 is enabled and changed the function accordingly.
                (gdm_choose indirect_lookup_by_chosen6): Function is added as a
                replacement of its IPv4 equivalent if IPv6 is enabled.
                (gdm_choose_direct_dispose)(gdm_choose_data): Changed for IPv6.
      
              * daemon/auth.c:
                (gdm_auth_secure_display): If IPv6 is enabled then we are dealing with
                IPv6 addresses. Used getaddrinfo for address resolution.
      
              * daemon/gdm.h: A field of type struct in6_addr is added to structure
                _GdmDisplay. In structure _GdmIndirectDisplay a field of type in6_addr
                is added and an existing field dsp_sa is changed to be of type
                sockaddr_storage if IPv6 is enabled on the system.
                _GdmForwardQuery structure will have members of type sockaddr_storage
                instead of sockaddr_in if IPv6 is enabled.
                Two new macros are defined for multicasting.
      
              * daemon/misc.c:
                (have_ipv6): Function added to check run-time IPv6 support.
                (gdm_get_free_display): We will deal with IPv6 address if
                IPv6 is enabled.
                (gdm_peek_local_address_list): Using getaddrinfo to generate the
                address list.
                (gdm_is_local_addr6)(gdm_is_loopback_addr6): These will be used with
                IPv6 addresses.
                For IPv4 addresses, continue to use their IPv4 counter parts.
      
              * daemon/xdmcp.c:
                (gdm_xdmcp_handle_forward_query), (gdm_xdmcp_handle_request),
                (gdm_xdmcp_handle_query), (gdm_xdmcp_handle_manage),
                (gdm_xdmcp_handle_managed_forward), (gdm_xdmcp_handle_got_managed),
                (gdm_xdmcp_handle_keepalive), (gdm_xdmcp_send_willing),
                (gdm_xdmcp_send_unwilling), (gdm_xdmcp_send_accept),
                (gdm_xdmcp_send_decline), (gdm_xdmcp_send_refuse ),
                (gdm_xdmcp_send_failed), (gdm_xdmcp_send_alive),
                gdm_xdmcp_send_managed_forward), (gdm_xdmcp_host_allow),
                (gdm_forward_query_alloc), (gdm_forward_query_lookup):
                All these functions will recieve sockaddr_storage type argument if
                IPv6 is enabled on the system.
                (gdm_xdmcp_whack_queued_managed_forwards6),
                (gdm_xdmcp_send_got_managed_forward6),
                (gdm_xdmcp_display_alloc6), (gdm_xdmcp_displays_from_host6),
                (gdm_xdmcp_displays_from_host6):
                All these functions are added to deal with IPv6 addresses.
                Their IPv4 equivalents will remain as it is.
                structure ManagedForward is changed to have sockaddr_storage field
                in place of sockaddr_in if IPv6 is enabled.
                (have_ipv6): Function added to check run-time IPv6 support.
                (gdm_xdmcp_init), (gdm_xdmcp_decode_packet):
                These functions are modified to deal with IPv6 addresses as well.
      
              * gui/gdmchooser.c:
                Structure _GdmChooserHost will have an added field of type in6_addr
                if IPv6 is enabled on the system.
                A global variable of type in6_addr is added.
                (gdm_chooser_host_alloc), (gdm_host_known), (is_loopback_addr),
                (gdm_addr_known), (gdm_chooser_decode_packet),
                (gdm_chooser_find_bcaddr), (do_ping),
                (gdm_chooser_xdmcp_discover), (gdm_chooser_add_hosts),
                (gdm_chbooser_xdmcp_init), (gdm_chooser_choose_host), (add_check),
                (gdm_chooser_add_host), (gdm_chooser_parse_config):
                Changed so that they all can deal IPv6 addresses.
                (gdm_chooser_find_mcaddr): Function added to set the multicast
                address.
      
              * gui/gdmXnestchooser.c:
                (have_ipv6): Added function to check for run time IPV6 support.
                (gte_free_display): Changed for IPv6.
      bd2507ac
  20. 18 Sep, 2003 1 commit
  21. 13 Aug, 2003 1 commit
  22. 28 Jul, 2003 1 commit
    • George Lebl's avatar
      check for sched_yield in the standard lib and then in -lrt, and don't use · 1ed4984a
      George Lebl authored
      Mon Jul 28 10:36:52 2003  George Lebl <jirka@5z.com>
      
      	* confiugure.in, acconfig.h, daemon/slave.c, daemon/gdm.c:  check
      	  for sched_yield in the standard lib and then in -lrt, and don't
      	  use it if we can't find it.  Also remove its usage from places
      	  where we're going to yield the processor very soon anyway.
      1ed4984a
  23. 24 Jul, 2003 1 commit
    • George Lebl's avatar
      change some g_strconcat's to g_build_filename's to address #118040. still · 405013a3
      George Lebl authored
      
      Thu Jul 24 14:58:23 2003  George Lebl <jirka@5z.com>
      
      	* daemon/gdm.c, daemon/slave.c, daemon/auth.c: change some
      	  g_strconcat's to g_build_filename's to address #118040.
      	  still more need to be converted
      
      	* gdm.spec.in, daemon/gdm.h, config/gdm.conf.in, config/Makefile.am,
      	  configure.in: By default use logdir of /var/log/gdm just
      	  like redhat does it
      
      	* daemon/gdm.c: check logdir to exist and if not set it to
      	  ServAuthDir
      
      	* gdm.spec.in, daemon/gdm.c, config/Makefile.am:  Make the
      	  ServAuthDir permissions to be 1770 with owenership root.gdm.
      	  That makes it impossible for the gdm user to run DoS attacks
      	  against the gdm daemon (though without any process limits set
      	  it can still somewhat do that)
      
      	* daemon/slave.c, daemon/display.c, daemon/gdm.c, daemon/misc.c,
      	  daemon/server.c: Hunt more races and hangs.  Make sure we really
      	  don't do anything bad in signal handlers by making a setjmp
      	  at the beginning of the slave_start function and returning
      	  there from signal handlers to do final cleanup kind of stuff.
      	  Also when we are receiving TERM signals while waiting on stuff
      	  to die, be very un-nice to things and SIGKILL them.  Also stop
      	  using sleep if we might be using alarm at the same time.
      
      	* daemon/display.c: whack non-useful signal block push on unmanage,
      	  and if we get a TERM signal while waiting on the slave, then send
      	  a TERM signal to the slave again.
      
      	* daemon/errorgui.c: set USER, USERNAME and LOGNAME to "gdm" so that
      	  they don't end up root by some mistake
      
      	* daemon/slave.c: Use home of root rather then /root for the home
      	  directory of gdmsetup.  Also if we can't change to the home
      	  directory chdir to / instead of leaving it at servauthdir.
      	  Be anal about COOKIEs in the logfile.  Also when things go
      	  just a bit wrong and not completely whacko, don't ABORT but
      	  just REMANAGE, the toplevel loop of death will handle things
      	  for us correctly.  And setsid a very close to the start of
      	  the session to avoid a race ABORTing a display by mistake.
      
      	* daemon/slave.c: make the PostLogin behave just like PostSession
      	  with respect to the return value
      
      	* daemon/verify-pam.c: avoid races on termination with the
      	  verify_cleanup and handle some cases where crashes may (but
      	  should not) occur.
      
      	* daemon/gdm.c: whack unneeded signal blockers (the main daemon
      	  is all async with a nice mainloop)
      
      	* gui/gdmchooser.c: handle HUP gracefully, when one of the
      	  config options we care about changes just restart self
      	  instead of
      
      	* gui/gdmlogin.c, gui/greeter/greeter_item_ulist.c: make
      	  the username bold
      
      	* docs/C/gdm.xml: update the PostLogin behaviour and the permissions
      	  on the ServAuthDir
      405013a3
  24. 11 Jun, 2003 1 commit
    • George Lebl's avatar
      Sync defaults into with the header file. Add comment about the gtk modules · 8f053918
      George Lebl authored
      Wed Jun 11 16:04:02 2003  George Lebl <jirka@5z.com>
      
      	* configure.in, daemon/gdm.h, config/gdm.conf.in: Sync defaults into
      	  with the header file.  Add comment about the gtk modules stuff
      	  and make it default to what you'd normally have for accessibility
      	  (though it doesn't add them by default).  The gdm.h defaults to
      	  no modules though.  Also if we can't find an X server, default
      	  to the Linux setup so that the beast at least builds.
      
      	* docs/Makefile.am: actually include the theme document, DUH!
      8f053918
  25. 09 Jun, 2003 1 commit
  26. 03 Jun, 2003 1 commit
    • George Lebl's avatar
      whack gdmmktemp since it wasn't being used, move gdmaskpass and gdmopen to · 5d162dd3
      George Lebl authored
      Tue Jun 03 13:37:31 2003  George Lebl <jirka@5z.com>
      
      	* gdm.spec.in, configure.in, utils/Makefile.am, daemon/server.c,
      	  daemon/misc.c, daemon/gdm.c, config/XkeepsCrashing:
      	  whack gdmmktemp since it wasn't being used, move gdmaskpass and
      	  gdmopen to libexec since that's where they really belong
      
      	* daemon/gdm.h, config/gdm.conf.in, gui/gdmchooser.(c|glade): add an
      	  "Add" entry and button so that, we can add random hosts by typing
      	  their name.  Add chooser/AllowAdd config key (default to true)
      	  that controls if this is available.  Also fix up the updating of
      	  the icon list.  it was incredibly evil and rebuilt the list each
      	  time a host packet came in, this compounded with the fact that
      	  we were pinging 3 times (at least the broadcast to which everyone
      	  answers).  Also make this run fairly sanely outside of GDM,
      	  so that you can really just run it from anywhere if you really
      	  wish (mostly for debugging, though I imagine some other uses might
      	  pop up).
      5d162dd3
  27. 09 Apr, 2003 1 commit
    • Niall Power's avatar
      Detect Xsun xinerama and Xdmcp on Solaris. Patch by Brian Cameron · dececcd4
      Niall Power authored
      * acconfig.h, configure.in: Detect Xsun xinerama and Xdmcp on Solaris. Patch
        by Brian Cameron (Brian.Cameron@Sun.COM)
      * config/gdm.conf.in: set Xserver paths correctly for both XFree86 and Xsun
        Patch by Brian Cameron (Brian.Cameron@Sun.COM)
      * daemon/slave.c, gui/Makefile.am gui/gdmwm.c: added Xinerama support for
        Solaris/Xsun platforms.
      dececcd4
  28. 09 Jul, 2002 1 commit
    • George Lebl's avatar
      if available include <sys/sockio.h>. Should fix first part of #86679 · 1747a04d
      George Lebl authored
      Mon Jul 08 20:01:23 2002  George Lebl <jirka@5z.com>
      
      	* configure.in, acconfig.h, daemon/misc.c, gui/gdmchooser.c:
      	  if available include <sys/sockio.h>.  Should fix first
      	  part of #86679
      
      	* gui/Makefile.am: link gdmsetup and gdmflexiserver with -lXau,
      	  should fix second part of #86679
      
      	* gui/gdmwm.c: Fix #86620, don't set up the wm stuff if the
      	  substructureredirect selection fails on the root window.
      
      	* daemon/slave.c: don't clear the env for chooser, greeter and
      	  config.  I suppose it was fairly foolish to do so anyway.
      	  Should fix #87387 partly
      
      	* configure.in, daemon/gdm.in, daemon/Makefile.am: rename
      	  gdm to gdm-binary and install a new script called gdm
      	  which calls gdm-binary.  This way the standard env is
      	  read in and other good stuff can happen.  Should fix #87387
      	  completely
      
      	* gui/gdmchooser.c, gui/gdmlogin.c: properly center windows
      
      	* gui/gdmchooser.c: don't die on every minor problem, and
      	  fix querying the interfaces
      
      	* gui/gdmchooser.c, gui/gdmsetup.c: fix crashes and the event
      	  fixup function
      
      	* gui/gdmchooser.glade: fix signal connections so that we can
      	  actually select some host
      1747a04d
  29. 21 May, 2002 1 commit
    • George Lebl's avatar
      check for setresuid · 7bef5408
      George Lebl authored
      Tue May 21 15:12:51 2002  George Lebl <jirka@5z.com>
      
      	* configure.in, accconfig.h: check for setresuid
      
      	* daemon/errorgui.c, daemon/misc.[ch]: use setresuid to really
      	  get rid of setuidiness
      
      	* gui/gdmlogin.c: fix accelerators.  Since now we have nice
      	  visible accelerators (mnemonics) we no longer need the Esc one
      	  which wasn't working anyway
      
      	* daemon/gdm.c, daemon/slave.c, gui/gdmphotosetup.c:  Don't init
      	  gnome.  This only breaks the getting of the gnome pixmap dir, so
      	  whack the places where this is done.  It's not a big deal really.
      	  And not initting things really helps a lot in both init speed,
      	  random crashes, hangs, and security.
      
      	* daemon/slave.c, daemon/errorgui.[ch], config/Xsession:  Now
      	  we open the .xsession-errors file early on, in fact for all
      	  non-failsafe sessions.  If the session is less then 10 seconds
      	  long warn the user of possible errors and let him view the
      	  .xsession-errors file.
      
      	* daemon/slave.c, daemon/auth.c: give error output when we can't
      	  setup the authentication file.
      
      	* daemon/slave.c, daemon/errorgui.c: fix focus issues, fix crash
      	  for the error gui boxes
      
      	* daemon/verify-pam.c: fix typo
      7bef5408
  30. 17 May, 2002 1 commit
    • George Lebl's avatar
      Use BSD's setusercontext if found. If language is unset and there is no · 44da90ee
      George Lebl authored
      Fri May 17 16:10:15 2002  George Lebl <jirka@5z.com>
      
      	* daemon/misc.c, daemon/slave.c, configure.in, acconfig.h: Use BSD's
      	  setusercontext if found.  If language is unset and there is no
      	  saved preference then if we're using setusercontext don't reset
      	  LANG so that the users login.conf preference takes over
      
      	* daemon/gdm.h, gui/gdmlogin.c, gui/gdmsetup.c: Add a new key
      	  greeter/MinimalUID which sets the minimal uid which is needed
      	  to show up in the browser or the dropdown list in gdmsetup
      
      	* daemon/gdmlogin.c: whack the "*" checking in the password field,
      	  since we may get it normally
      44da90ee
  31. 22 Jan, 2002 1 commit
    • George Lebl's avatar
      use GETTEXT_PACKAGE · a28569fe
      George Lebl authored
      Mon Jan 21 19:14:28 2002  George Lebl <jirka@5z.com>
      
      	* acconfig.h, configure.in: use GETTEXT_PACKAGE
      
      	* daemon/gdm.c, daemon/misc.[ch], daemon/verify-pam.c,
      	  daemon/server.c, daemon/slave.c, daemon/display.c:
      	  When displaying something on a console display it only
      	  when the console is UTF-8, which is only true if
      	  "gdmopen vt-is-UTF8 -q" returns 0 status.  Else don't
      	  actually translate anything and just print out the english/ASCII
      	  version.
      
      	* daemon/verify-pam.c:  Better check for existance of the pam
      	  gdm configuration
      
      	* daemon/gdm.c, gui/gdmXnestchooser.c, gui/gdmchooser.c,
      	  gui/gdmconfig.c, gui/gdmflexiserver.c, gui/gdmlogin.c,
      	  gui/gdmphotosetup.c:  property bind gettext stuff and make
      	  sure we correctly set it up for UTF-8
      a28569fe
  32. 05 Jun, 2001 1 commit
    • George Lebl's avatar
      remove unused opcode (GDM_STOP) · ab1e1168
      George Lebl authored
      Sun Jun 03 04:55:49 2001  George Lebl <jirka@5z.com>
      
      	* daemon/gdm.h: remove unused opcode (GDM_STOP)
      
      	* daemon/slave.c, gui/gdmlogin.c: On GDM_QUIT the login will make
      	  sure to quickly quit and in the slave we no longer kill it to
      	  avoid a possible race, also try to avoid other races todo with
      	  killing things.  Also fclose the greeter channel to avoid a leak.
      
      	* daemon/gdm.h, daemon/slave.c: get the size of the screen from
      	  xinerama and center error dialog stuff.
      ab1e1168
  33. 10 May, 2001 1 commit
  34. 06 May, 2001 1 commit
  35. 24 Apr, 2001 1 commit
    • George Lebl's avatar
      Fixup enviroment issues. Clear the environment before running a session · bf2d3e2c
      George Lebl authored
      Mon Apr 23 22:04:24 2001  George Lebl <jirka@5z.com>
      
      	* configure.in, acconfig.h, daemon/auth.c, daemon/misc.[ch],
      	  daemon/slave.c, daemon/verify.h,
      	  daemon/verify-(pam|crypt|shadow).h:  Fixup enviroment issues.
      	  Clear the environment before running a session and before launching
      	  the greeter (taking care to save the localisation vars).  Also
      	  don't set user env on the slave and leave it, if we set it it's
      	  only temporary.  Also fix one possible crash by strduping the
      	  pam env since that will go away and putenv doesn't strdup.
      bf2d3e2c
  36. 01 Feb, 2001 1 commit
    • George Lebl's avatar
      Apply an port a patch from <tim.jansen@systembureau.com>, furhter modified · a1bcfb25
      George Lebl authored
      Thu Feb 01 17:05:54 2001  George Lebl <jirka@5z.com>
      
      	* Apply an port a patch from <tim.jansen@systembureau.com>,
      	  furhter modified default config (config/gdm.conf.in) and the
      	  configuratior (gui/gdmconfig.c) to include the screen option
      
      	* gui/gdmlogin.c, configure.in: added support for Xinerama,
                the new key greeter/XineramaScreen selects on which screen the
                greeter will be centered
      a1bcfb25
  37. 16 Aug, 1999 1 commit
    • 6's avatar
      SGML-ified manual. Only bare bones so far. · f280cfd5
      6 authored
      1999-08-16    <mkp@mkp.net>
      
      	* docs/C/gdm.sgml: SGML-ified manual. Only bare bones so far.
      
      	* configure.in: Check whether crypt.h exists. Gnome bug #1925.
      f280cfd5
  38. 11 Aug, 1999 1 commit
    • 1's avatar
      Nailed down the bug that has been haunting me the past couple of days. gdm · 05e9b486
      1 authored
      
      1999-08-11    <mkp@mkp.net>
      
      	* daemon/auth.c: Nailed down the bug that has been haunting me the
       	past couple of days. gdm no longer corrupts ~user/.Xauthority if
       	it contains ``foreign'' cookies.
      
      1999-08-08    <mkp@mkp.net>
      
      	Finally merged the Ottawa megapatch:
      
      	* daemon/auth.c: Real XAuth implementation. Doesn't rely on
       	/usr/bin/X11/xauth anymore.
      
      	* gui/gdmlogin.c: Implemented browser functionality.
      
      	* gui/gdmconfig.c: First shot at a graphical configuration tool.
      
      	* gui/gdmface.c: Face selector capplet.
      
      1999-08-07    <mkp@mkp.net>
      
      	* Replaced gdm_putenv() with calls to setenv() as putenv() is
       	broken by specification.
      
      1999-08-02    <mkp@mkp.net>
      
      	* md5.c, md5.h, cookie.c: Fixed MD5 endianness problem (Reported
       	by <gewrgiou@imbc.gr>, bugzilla 3898).
      05e9b486
  39. 18 Apr, 1999 1 commit