summaryrefslogtreecommitdiff
path: root/acconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused DEFOPEN configure code.Brian Cameron2009-04-241-1/+0
|
* Add --with-default-path to configure so distros can configure the defaultBrian Cameron2009-02-171-2/+0
| | | | | | | | | | | 2009-02-17 Brian Cameron <brian.cameron@sun.com> * configure.ac, acconfig.h, daemon/Makefile.am: Add --with-default-path to configure so distros can configure the default PATH to use in the user's session. Cleanup some unused cruft from configure.ac, acconfig.h and daemon/Makefile.am svn path=/trunk/; revision=6711
* Make polkit-gnome an optional dependency. Also support RBAC forBrian Cameron2008-01-291-1/+0
| | | | | | | | | | | | | | | | 2008-01-28 Brian Cameron <brian.cameron@sun.com> * acconfig.h, configure.ac, gui/simple-greeter/Makefile.am, gui/simple-greeter/gdm-greeter-login-window.c: Make polkit-gnome an optional dependency. Also support RBAC for shutdown/reboot if the --enable-rbac-shutdown configure option is provided. * configure.ac: Remove old RBAC configuration options that were used in the GDM 2.20 branch. * gui/simple-greeter/gdm-chooser-widget.c: Fix a null string argument problem causing core dumping on Solaris. svn path=/trunk/; revision=5640
* Fix make distcheckRay Strode2007-11-191-0/+4
| | | | | | | | | | | | 2007-11-19 Ray Strode <rstrode@redhat.com> Fix make distcheck * acconfig.h: add HAVE_LOG{IN,OUT,WTMP} * data/Makefile.am: uninstall pam and gconf files in uninstall-hook. fix builddir != srcdir issues svn path=/trunk/; revision=5518
* Some Solaris build fixes. Patch from Brian Cameron <brian.cameron@sun.com>William Jon McCann2007-08-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Add RBAC support and allow more configuration on how the System CommandsBrian Cameron2007-04-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove X_XNEST_DISPLAY_ARG here also.Brian Cameron2007-03-141-1/+0
| | | | | | | | 2006-03-13 Brian Cameron <brian.cameron@sun.com> * acconfig.h: Remove X_XNEST_DISPLAY_ARG here also. svn path=/trunk/; revision=4678
* config/Makefile.am: Add Xephyr support and fix problem withBrian Cameron2007-03-131-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Removed a C99 local variable definition that breaks the build with gccJulio M. Merino Vidal2006-03-281-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Now support --with-sysconfsubdir so that GDM can be configured to have theBrian Cameron2006-03-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Updated. Update to 2.13.0.9. Added code to support the change inGDM2_2_13_0_10Brian Cameron2006-03-021-0/+1
| | | | | | | | | | | | | 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.
* Change --with-configdir to --with-defaults-conf and make it work so thatBrian Cameron2006-02-131-1/+2
| | | | | | | | | | 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.
* acconfig.h, configure.in, config/gdm.conf.in, daemon/gdm.h, DefineBrian Cameron2005-10-061-0/+1
| | | | | | | | | | 2005-10-05 Brian Cameron <Brian.Cameron@sun.com> * acconfig.h, configure.in, config/gdm.conf.in, daemon/gdm.h, Define SoundProgram to be /usr/bin/audioplay instead of /usr/bin/play on Solaris. /usr/bin/play doesn't exist on Solaris.
* acconfig.h, configure.in, daemon/Makefile.am, daemon/gdm.c, Change to theBrian Cameron2005-08-031-0/+1
| | | | | | | | | | | | | | | | | | 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.
* Now allow xevie to be turned on for server-Standard. This is for betterBrian Cameron2005-05-251-1/+3
| | | | | | | | | | | | 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.
* Changed default face directory to EXPANDED_DATADIR/pixmaps/faces sinceBrian Cameron2005-03-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Now use full path to AT programs so gesture listeners do not depend on theBrian Cameron2005-03-081-0/+1
| | | | | | | | | | 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.
* Updated files to also integrate patch for bug #142834.Brian Cameron2005-02-141-4/+5
| | | | | | | | | 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.
* Cleaned up the way the user's default PATH is set and allow it to beBrian Cameron2005-02-031-22/+25
| | | | | | | | | | 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.
* Set up Xnest so it works properly on Solaris.Brian Cameron2004-10-211-0/+4
| | | | | | | 2004-10-21 Brian Cameron <brian.cameron@sun.com> * acconfig.h, configure.in, config/gdm.conf.in: Set up Xnest so it works properly on Solaris.
* Added HAVE_LOGINDEVPERM and HAVE_ADT Added checking for SolarisBrian Cameron2004-08-111-0/+2
| | | | | | | | | | Wed Aug 11 03:45:00 2004 Brian Cameron <brian.cameron@sun.com> * acconfig.h: Added HAVE_LOGINDEVPERM and HAVE_ADT * configure.in: Added checking for Solaris logindevperm and auditing API's. * Add logic so gdm2 supports Solaris logindevperm and auditing.
* Complain on some more errorsGeorge Lebl2003-12-301-0/+1
| | | | | | | | | | | | | | | | | 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
* Massage and then apply a patch from Vincent BergerGeorge Lebl2003-12-191-0/+3
| | | | | | | | | | 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
* Fri Dec 09 2003 Archana Shah <archana.shah@wipro.com>Balamurali Viswanathan2003-12-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* apply the SELinux patch, taking care not to break the string freeze.George Lebl2003-09-181-0/+1
| | | | | | | Thu Sep 18 16:15:38 2003 George Lebl <jirka@5z.com> * configure.in, acconfig.h, daemon/slave.c: apply the SELinux patch, taking care not to break the string freeze.
* add check for fbconsole (fallback (console) add call to start fbconsoleBrian Cameron2003-08-131-0/+1
| | | | | | | * acconfig.h, configure.in: add check for fbconsole (fallback (console) * daemon/server.c: add call to start fbconsole (if present) after the Xserver starts.
* check for sched_yield in the standard lib and then in -lrt, and don't useGeorge Lebl2003-07-281-0/+1
| | | | | | | | | 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.
* change some g_strconcat's to g_build_filename's to address #118040. stillGeorge Lebl2003-07-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Sync defaults into with the header file. Add comment about the gtk modulesGeorge Lebl2003-06-111-0/+3
| | | | | | | | | | | | | 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!
* Add patch from Brian Cameron to fix #106537 (at lest the default/loginGeorge Lebl2003-06-091-0/+1
| | | | | | | | | Sun Jun 08 23:49:28 2003 George Lebl <jirka@5z.com> * configure.in, acconfig.h, daemon/verify-pam.c: Add patch from Brian Cameron to fix #106537 (at lest the default/login thing). That is read some solaris preference file when logging in.
* whack gdmmktemp since it wasn't being used, move gdmaskpass and gdmopen toGeorge Lebl2003-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | | 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).
* Detect Xsun xinerama and Xdmcp on Solaris. Patch by Brian CameronNiall Power2003-04-091-1/+3
| | | | | | | | | * 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.
* if available include <sys/sockio.h>. Should fix first part of #86679George Lebl2002-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* check for setresuidGeorge Lebl2002-05-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use BSD's setusercontext if found. If language is unset and there is noGeorge Lebl2002-05-171-0/+1
| | | | | | | | | | | | | | | | 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
* use GETTEXT_PACKAGEGeorge Lebl2002-01-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* remove unused opcode (GDM_STOP)George Lebl2001-06-051-0/+2
| | | | | | | | | | | | | | 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.
* Actually make the xinerama scaling thing work. Also limit the dragging toGeorge Lebl2001-05-101-0/+7
| | | | | | | | | Tue May 08 16:38:02 2001 George Lebl <jirka@5z.com> * gui/gdmlogin.c: Actually make the xinerama scaling thing work. Also limit the dragging to within xinerama screens and avoid dead space. Allow jumping in between xinerama screens when dragging as well.
* *** empty log message ***George Lebl2001-05-061-0/+1
|
* Fixup enviroment issues. Clear the environment before running a sessionGeorge Lebl2001-04-241-0/+3
| | | | | | | | | | | | | 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.
* Apply an port a patch from <tim.jansen@systembureau.com>, furhter modifiedGeorge Lebl2001-02-011-0/+1
| | | | | | | | | | | | 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
* SGML-ified manual. Only bare bones so far.61999-08-161-1/+1
| | | | | | | | 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.
* Nailed down the bug that has been haunting me the past couple of days. gdm11999-08-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Initial revisionMartin Peterson1999-04-181-0/+13