summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* gdmflexiserver: s/ret/res/Ray Strode2011-08-081-2/+2
| | | | | | | | In commit 0e6f294c34 I picked the wrong variable name for storing intermediate results. This broke flexiserver. Spotted by Christiaan Welvaart <cjw@daneel.dyndns.org>
* gdmflexiserver: *session_id = NULL, not session_id = NULLChristiaan Welvaart2011-08-081-1/+1
| | | | | | The session_id assignment at the top of get_login_window_session_id was missing its leading asterisk, leading to potential crashes and undefined behavior.
* gdmflexiserver: fail more abruptly if user can't jump to login screenRay Strode2011-05-231-9/+14
| | | | | | | | If the user can't jump to an existing login screen, we should fail instead of firing up a new one. This way we don't get a stream of login screens from ssh users or whatever.
* Port to GTK3William Jon McCann2011-01-182-17/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=639284
* Fix minor issues with screenshot toolWilliam Jon McCann2010-06-161-3/+11
| | | | | As suggested by Christian Persch https://bugzilla.gnome.org/show_bug.cgi?id=569409
* Remove restart and stop scriptsWilliam Jon McCann2010-06-044-50/+0
|
* Fix two trivial issues when compiling with -DGSEAL_ENABLE.Andre Klapper2010-05-042-2/+2
|
* String fixes. Patch by Philip Withnall. Fixes bug #609178.Brian Cameron2010-05-031-4/+4
|
* Fix compile when using a linker that defaults to --no-as-neededRichard Hughes2010-01-261-0/+2
|
* Make screenshot dir a configure argumentRay Strode2009-11-052-4/+2
| | | | | This provides a little more flexibility to distributors, but more importantly makes it less hard coded in gdm-screenshot.c
* Some minor fixes. Fix gdmflexiserver --help so that it highlights that theBrian Cameron2009-10-261-1/+1
| | | | --command option only supports the VERSION command. Fix the at-spi-registryd-wrapper.desktop.in.in file so that it doesn't hardcode /usr/libexec and instead uses "@LIBEXECDIR@. Minor fix to the docs (metacity instead of Metacity).
* Add screen capture sound effect to screenshot toolWilliam Jon McCann2009-08-232-0/+55
|
* Support VERSION command so that if user's run gdmflexiserBrian Cameron2009-02-171-2/+7
| | | | | | | | | | 2009-02-17 Brian Cameron <brian.cameron@sun.com> * utils/gdmflexiserver.c: Support VERSION command so that if user's run gdmflexiser --command=VERSION, it will return the version number. This is nice for backwards compatibility. Fixes bug #535450. svn path=/trunk/; revision=6713
* Correct spelling of "screen".Brian Cameron2009-01-271-1/+1
| | | | | | | | 2008-01-27 Brian Cameron <brian.cameron@sun.com> * utils/gdm-screenshot.c: Correct spelling of "screen". svn path=/trunk/; revision=6673
* Fix some build system warningsWilliam Jon McCann2008-12-031-1/+1
| | | | | | | | | | | | | | | | | 2008-12-02 William Jon McCann <jmccann@redhat.com> * NEWS: * common/Makefile.am: * configure.ac: * daemon/Makefile.am: * gui/simple-chooser/Makefile.am: * gui/simple-greeter/Makefile.am: * gui/user-switch-applet/Makefile.am: * utils/Makefile.am: Fix some build system warnings svn path=/trunk/; revision=6616
* Translate help output. Patch from: Gabor Kelemen <kelemeng@gnome.hu>William Jon McCann2008-12-032-4/+10
| | | | | | | | | | | | | 2008-12-02 William Jon McCann <jmccann@redhat.com> * common/Makefile.am: * utils/gdm-screenshot.c (main): * utils/gdmflexiserver.c (main): Translate help output. Patch from: Gabor Kelemen <kelemeng@gnome.hu> svn path=/trunk/; revision=6613
* Don't signal the gdm process with HUP and USR1 since they don't work.William Jon McCann2008-07-222-3/+4
| | | | | | | | | | | | | 2008-07-21 William Jon McCann <jmccann@redhat.com> * utils/gdm-restart.in: * utils/gdm-safe-restart.in: Don't signal the gdm process with HUP and USR1 since they don't work. svn path=/trunk/; revision=6327
* Fix xauth dir permissions if it exists.William Jon McCann2008-07-212-8/+13
| | | | | | | | | | | | | | 2008-07-21 William Jon McCann <jmccann@redhat.com> * daemon/gdm-display-access-file.c (_create_xauth_file_for_user): Fix xauth dir permissions if it exists. * utils/Makefile.am: * utils/gdm-screenshot.c (screenshot_save), (prepare_screenshot): Write gdm screenshot output to /var/run/gdm instead of /tmp. svn path=/trunk/; revision=6314
* Indicate unused options in command help. Fixes #539789William Jon McCann2008-07-211-5/+5
| | | | | | | | | | | 2008-07-21 William Jon McCann <jmccann@redhat.com> * utils/gdmflexiserver.c: Indicate unused options in command help. Fixes #539789 svn path=/trunk/; revision=6310
* Display nicer error messages. Use an icon. Use close button instead of ok.William Jon McCann2008-04-011-5/+25
| | | | | | | | | | | | | 2008-03-31 William Jon McCann <jmccann@redhat.com> * utils/gdmflexiserver.c: (gdm_flexiserver_error_quark), (maybe_lock_screen), (create_transient_display), (goto_login_session), (main): Display nicer error messages. Use an icon. Use close button instead of ok. svn path=/trunk/; revision=6084
* Add --version command line option.William Jon McCann2008-04-011-0/+8
| | | | | | | | | | 2008-03-31 William Jon McCann <jmccann@redhat.com> * utils/gdmflexiserver.c: (main): Add --version command line option. svn path=/trunk/; revision=6083
* Add screenshot tool.William Jon McCann2008-03-192-0/+245
| | | | | | | | | | | | | | 2008-03-19 William Jon McCann <jmccann@redhat.com> * gui/user-switch-applet/applet.c: (sort_menu): * utils/Makefile.am: * utils/gdm-screenshot.c: (screenshot_grab_lock), (screenshot_release_lock), (screenshot_get_pixbuf), (screenshot_save), (prepare_screenshot), (main): Add screenshot tool. svn path=/trunk/; revision=6048
* Fix a few leaks and make sure we don't unref null replies.William Jon McCann2008-03-121-7/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-12 William Jon McCann <jmccann@redhat.com> * daemon/gdm-chooser-server.c: (handle_select_hostname), (handle_disconnect), (do_introspect): * daemon/gdm-product-slave.c: (send_dbus_string_method), (send_dbus_void_method): * daemon/gdm-session-worker.c: (send_dbus_string_method), (send_dbus_int_method), (send_dbus_void_method): * daemon/gdm-slave.c: (activate_session_id), (session_unlock): * gui/simple-chooser/gdm-chooser-client.c: (send_dbus_string_method), (send_dbus_void_method): * gui/simple-greeter/gdm-greeter-client.c: (send_dbus_string_method), (send_dbus_bool_method), (send_dbus_void_method): * gui/simple-greeter/gdm-greeter-session.c: (send_dbus_string_method): * gui/simple-greeter/gdm-user-manager.c: (activate_session_id): * utils/gdmflexiserver.c: (create_transient_display), (get_current_session_id), (get_seat_id_for_session), (activate_session_id), (session_is_login_window), (seat_can_activate_sessions): Fix a few leaks and make sure we don't unref null replies. svn path=/trunk/; revision=6011
* Fix a bunch of compiler warnings and remove unused code. Patch from:William Jon McCann2008-02-191-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-19 William Jon McCann <jmccann@redhat.com> * common/gdm-settings-client.c: (gdm_settings_client_get_locale_string), (gdm_settings_client_init): * common/gdm-settings-desktop-backend.c: (save_settings): * common/gdm-settings-direct.c: (gdm_settings_direct_init): * common/test-log.c: (test_log): * common/test-settings-client.c: (test_settings_client): * daemon/gdm-chooser-server.c: (gdm_chooser_server_constructor): * daemon/gdm-chooser-session.c: (gdm_chooser_session_set_property), (gdm_chooser_session_get_property), (gdm_chooser_session_constructor): * daemon/gdm-display-access-file.c: * daemon/gdm-display.c: (_create_access_file_for_user), (gdm_display_constructor): * daemon/gdm-factory-slave.c: (gdm_factory_slave_start), (gdm_factory_slave_stop), (gdm_factory_slave_set_property), (gdm_factory_slave_get_property), (gdm_factory_slave_constructor): * daemon/gdm-greeter-server.c: (gdm_greeter_server_constructor): * daemon/gdm-greeter-session.c: (gdm_greeter_session_set_property), (gdm_greeter_session_get_property): * daemon/gdm-local-display-factory.c: (gdm_local_display_factory_set_property), (gdm_local_display_factory_get_property), (gdm_local_display_factory_constructor): * daemon/gdm-manager.c: (gdm_manager_constructor): * daemon/gdm-product-display.c: (gdm_product_display_constructor): * daemon/gdm-product-slave.c: (gdm_product_slave_start), (gdm_product_slave_stop), (gdm_product_slave_set_property), (gdm_product_slave_get_property), (gdm_product_slave_constructor): * daemon/gdm-server.c: (gdm_server_constructor): * daemon/gdm-session-auditor.c: * daemon/gdm-session-direct.c: (gdm_session_direct_open): * daemon/gdm-session-linux-auditor.c: * daemon/gdm-session-relay.c: (gdm_session_relay_set_property), (gdm_session_relay_get_property), (gdm_session_relay_constructor): * daemon/gdm-session-settings.c: * daemon/gdm-session-worker-job.c: (gdm_session_worker_job_constructor): * daemon/gdm-session-worker.c: (gdm_session_worker_constructor): * daemon/gdm-simple-slave.c: (gdm_simple_slave_start), (gdm_simple_slave_stop), (gdm_simple_slave_set_property), (gdm_simple_slave_get_property), (gdm_simple_slave_constructor): * daemon/gdm-slave.c: (gdm_slave_run_script), (_get_primary_user_session_id), (gdm_slave_constructor): * daemon/gdm-static-display.c: (gdm_static_display_set_property), (gdm_static_display_get_property): * daemon/gdm-static-factory-display.c: (gdm_static_factory_display_set_property), (gdm_static_factory_display_get_property), (gdm_static_factory_display_constructor): * daemon/gdm-transient-display.c: (gdm_transient_display_set_property), (gdm_transient_display_get_property): * daemon/gdm-welcome-session.c: (parse_dbus_launch_output), (gdm_welcome_session_constructor): * daemon/gdm-xdmcp-chooser-slave.c: (gdm_xdmcp_chooser_slave_start), (gdm_xdmcp_chooser_slave_stop), (gdm_xdmcp_chooser_slave_set_property), (gdm_xdmcp_chooser_slave_get_property), (gdm_xdmcp_chooser_slave_constructor): * daemon/gdm-xdmcp-display-factory.c: (do_bind), (indirect_client_create), (gdm_xdmcp_handle_forward_query): * daemon/test-session.c: (main): * gui/simple-chooser/gdm-chooser-client.c: (gdm_chooser_client_set_property), (gdm_chooser_client_get_property), (gdm_chooser_client_constructor), (gdm_chooser_client_dispose): * gui/simple-chooser/gdm-chooser-session.c: (gdm_chooser_session_set_property), (gdm_chooser_session_get_property), (gdm_chooser_session_constructor), (gdm_chooser_session_dispose): * gui/simple-chooser/gdm-host-chooser-dialog.c: (gdm_host_chooser_dialog_set_property), (gdm_host_chooser_dialog_get_property), (gdm_host_chooser_dialog_constructor), (gdm_host_chooser_dialog_dispose): * gui/simple-chooser/gdm-host-chooser-widget.c: (gdm_host_chooser_widget_set_property), (gdm_host_chooser_widget_get_property), (gdm_host_chooser_widget_constructor): * gui/simple-greeter/gdm-a11y-preferences-dialog.c: (gdm_a11y_preferences_dialog_set_property), (gdm_a11y_preferences_dialog_get_property), (gdm_a11y_preferences_dialog_constructor), (gdm_a11y_preferences_dialog_dispose): * gui/simple-greeter/gdm-chooser-widget.c: (shrink_edge_toward_active_row), (gdm_chooser_widget_constructor): * gui/simple-greeter/gdm-greeter-client.c: (gdm_greeter_client_set_property), (gdm_greeter_client_get_property), (gdm_greeter_client_constructor), (gdm_greeter_client_dispose): * gui/simple-greeter/gdm-greeter-login-window.c: (gdm_greeter_login_window_constructor): * gui/simple-greeter/gdm-greeter-panel.c: (gdm_greeter_panel_set_property), (gdm_greeter_panel_get_property), (gdm_greeter_panel_constructor), (gdm_greeter_panel_dispose): * gui/simple-greeter/gdm-greeter-session.c: (gdm_greeter_session_set_property), (gdm_greeter_session_get_property), (gdm_greeter_session_constructor), (gdm_greeter_session_dispose): * gui/simple-greeter/gdm-language-chooser-widget.c: (gdm_language_chooser_widget_dispose): * gui/simple-greeter/gdm-option-widget.c: (activate_from_item_id), (gdm_option_widget_constructor): * gui/simple-greeter/gdm-recent-option-widget.c: (gdm_recent_option_widget_dispose): * gui/simple-greeter/gdm-remote-login-window.c: (gdm_remote_login_window_set_property), (gdm_remote_login_window_get_property), (gdm_remote_login_window_constructor): * gui/simple-greeter/gdm-session-client.c: (gdm_session_client_constructor), (gdm_session_client_dispose): * gui/simple-greeter/gdm-session-manager.c: (gdm_session_manager_set_property), (gdm_session_manager_get_property), (gdm_session_manager_constructor), (gdm_session_manager_dispose): * gui/simple-greeter/gdm-user-chooser-dialog.c: (gdm_user_chooser_dialog_set_property), (gdm_user_chooser_dialog_get_property), (gdm_user_chooser_dialog_constructor), (gdm_user_chooser_dialog_dispose): * gui/simple-greeter/gdm-user-chooser-widget.c: (gdm_user_chooser_widget_set_property), (gdm_user_chooser_widget_get_property), (gdm_user_chooser_widget_constructor): * gui/simple-greeter/gdm-user-manager.c: (_get_primary_user_session_id), (_get_login_window_session_id): * gui/simple-greeter/gdm-user.c: * gui/simple-greeter/libnotificationarea/na-tray-manager.c: (na_tray_manager_handle_begin_message): * gui/simple-greeter/libnotificationarea/na-tray.c: * gui/user-switch-applet/applet.c: (prefs_cb), (switch_to_user_session), (display_key_changed), (applet_fill_cb): * gui/user-switch-applet/gdm-user-menu-item.c: * tests/s-common-address.c: (START_TEST): * utils/gdmflexiserver.c: (get_login_window_session_id): Fix a bunch of compiler warnings and remove unused code. Patch from: Kjartan Maraas <kmaraas@broadpark.no> svn path=/trunk/; revision=5800
* Add support for finding and switching to existing greeters.William Jon McCann2008-02-051-37/+486
| | | | | | | | | | | | | | | 2008-02-05 William Jon McCann <jmccann@redhat.com> * utils/gdmflexiserver.c: (create_transient_display), (get_current_session_id), (get_seat_id_for_session), (get_current_seat_id), (activate_session_id), (session_is_login_window), (seat_can_activate_sessions), (get_path_array_from_iter), (seat_get_sessions), (get_login_window_session_id), (goto_login_session), (main): Add support for finding and switching to existing greeters. svn path=/trunk/; revision=5698
* Add gdmflexiserver command for backward compatibility. Only useful forWilliam Jon McCann2008-01-252-0/+276
| | | | | | | | | | | | | | 2008-01-25 William Jon McCann <mccann@jhu.edu> * daemon/gdm-local-display-factory.c: * utils/Makefile.am: * utils/gdmflexiserver.c: (is_program_in_path), (maybe_lock_screen), (calc_pi), (create_transient_display), (main): Add gdmflexiserver command for backward compatibility. Only useful for starting a transient display. svn path=/trunk/; revision=5633
* Remove some more obsolete code. Move common code with unknown copyrightWilliam Jon McCann2007-10-042-149/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-04 William Jon McCann <mccann@jhu.edu> * common/Makefile.am: * common/gdm-common-unknown-origin.c: (gdm_sigchld_block_push), (gdm_sigchld_block_pop), (gdm_sigterm_block_push), (gdm_sigterm_block_pop), (gdm_sigusr2_block_push), (gdm_sigusr2_block_pop), (gdm_safe_fopen_w), (ve_clearenv): * common/gdm-common-unknown-origin.h: * common/gdm-common.c: * common/gdm-common.h: * config/Makefile.am: * config/XKeepsCrashing: * config/default.desktop.in: * config/extract-shell.sh: * config/gdmprefetchlist.in: * config/gettextfoo.h: * config/locale.alias: * config/ssh.desktop.in.in: * configure.ac: * daemon/Makefile.am: * daemon/choose.c: * daemon/choose.h: * daemon/gdm-xdmcp-display-factory.c: (gdm_xdmcp_handle_indirect_query), (gdm_xdmcp_handle_manage), (gdm_xdmcp_handle_managed_forward): * daemon/main.c: (delete_pid): * utils/Makefile.am: * utils/gdm-dmx-reconnect-proxy.c: Remove some more obsolete code. Move common code with unknown copyright status into separate file. Try to identify more copy with unknown copyright status. svn path=/branches/mccann-gobject/; revision=5340
* Remove lots of obsolete code. Organize the configure checks a bit.William Jon McCann2007-10-048-556/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-04 William Jon McCann <mccann@jhu.edu> * common/Makefile.am: * common/gdm-common.c: * common/gdm-common.h: * common/ve-signal.c: * common/ve-signal.h: * config/Makefile.am: * configure.ac: * daemon/Makefile.am: * daemon/auth.c: * daemon/filecheck.c: * daemon/filecheck.h: * daemon/gdm-factory-slave.c: (get_script_environment): * daemon/gdm-greeter-session.c: (get_greeter_environment): * daemon/gdm-product-slave.c: (get_script_environment): * daemon/gdm-server.c: (rotate_logs), (server_child_setup), (gdm_server_start): * daemon/gdm-simple-slave.c: (get_script_environment): * daemon/gdm-xdmcp-display-factory.c: (fd_set_close_on_exec), (open_port), (gdm_xdmcp_handle_request), (gdm_xdmcp_handle_manage): * libgreeter/Makefile.am: * libgreeter/gdmlanguages.c: * libgreeter/gdmlanguages.h: * libgreeter/gdmsession.c: * libgreeter/gdmsession.h: * libgreeter/gdmwm.c: * libgreeter/gdmwm.h: * utils/Makefile.am: * utils/gdm-ssh-session: * utils/gdmmktemp.c: * utils/gdmopen.c: * utils/gdmprefetch.c: * utils/gdmsetup-pam: * utils/gdmsetup-security.in: * utils/gdmtranslate.c: Remove lots of obsolete code. Organize the configure checks a bit. svn path=/branches/mccann-gobject/; revision=5339
* Fix make distcheck.Richard Hughes2007-07-221-1/+1
| | | | | | | | | | | | | | | | 2007-07-22 Richard Hughes <richard@hughsie.com> * common/Makefile.am: * daemon/Makefile.am: * data/Makefile.am: * gui/simple-greeter/Makefile.am: * libgreeter/Makefile.am: * po/POTFILES.in: * po/POTFILES.skip: * utils/Makefile.am: Fix make distcheck. svn path=/branches/mccann-gobject/; revision=5082
* Make the session object talk to the greeter!William Jon McCann2007-06-082-68/+1
| | | | svn path=/branches/mccann-gobject/; revision=4973
* Remove generated files gdm-stop, gdm-restart, and gdm-safe-restart inBrian Cameron2007-04-231-1/+1
| | | | | | | | | 2007-04-23 Brian Cameron <brian.cameron@sun.com> * utils/Makefile.am: Remove generated files gdm-stop, gdm-restart, and gdm-safe-restart in DISTCLEANFILES. svn path=/trunk/; revision=4865
* Remove generated files gdm-stop, gdm-restart, and gdm-safe-restart inBrian Cameron2007-04-231-0/+4
| | | | | | | | | 2007-04-23 Brian Cameron <brian.cameron@sun.com> * utils/Makefile.am: Remove generated files gdm-stop, gdm-restart, and gdm-safe-restart in DISTCLEANFILES. svn path=/trunk/; revision=4864
* Fixes the pid file handling in the gdm-restart/stop/safe-restart scripts.William Jon McCann2007-04-206-3/+90
| | | | | | | | | | | | | | | | | | | | | | | | 2007-04-20 William Jon McCann <mccann@jhu.edu> * Makefile.am: * configure.ac: * gdm-restart.in: * gdm-safe-restart.in: * gdm-stop.in: * gdm.spec.in: * gdmsetup-pam: * gdmsetup-security.in: * utils/Makefile.am: * utils/gdm-restart.in: * utils/gdm-safe-restart.in: * utils/gdm-stop.in: Fixes the pid file handling in the gdm-restart/stop/safe-restart scripts. Moves the scripts to the utils subdir. Moves the gdmsetup stuff from toplevel to utils subdir. Removes gdm.spec. Fixes #431462 svn path=/trunk/; revision=4845
* Add back X_EXTRA_LIBS and X_LIBS to gdm-dmx-reconnect-proxy to fix bugGDM2_2_17_2Brian Cameron2006-11-061-0/+2
| | | | | | | 2006-11-06 Brian Cameron <brian.cameron@sun.com> * utils/Makefile.am: Add back X_EXTRA_LIBS and X_LIBS to gdm-dmx-reconnect-proxy to fix bug #368808.
* Remove X_EXTRA_LIBS and X_LIBS from building of dm_dmx_reconnect_proxyBrian Cameron2006-10-231-2/+0
| | | | | | | | 2006-10-23 Brian Cameron <brian.cameron@sun.com> * utils/Makefile.am: Remove X_EXTRA_LIBS and X_LIBS from building of dm_dmx_reconnect_proxy since these libraries are not needed for building this program.
* Fix autologin Pam service name. Fixes bug #344191. Fix warnings.Brian Cameron2006-06-091-4/+4
| | | | | | | | | | | | 2006-06-09 Brian Cameron <brian.cameron@sun.com> * daemon/verify-pam.c: Fix autologin Pam service name. Fixes bug #344191. * daemon/gdmconfig.c, gui/gdmconfig.c, gui/gdmdynamic.c, gui/gdmsetup.c, gui/greeter/greeter.c, gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_geometry.c gui/greeter/greeter_item_pam.c, gui/greeter/greeter_parser.c, gui/greeter/greeter_system.c, utils/prefetch.c: Fix warnings.
* Add gdm-ssh-session to EXTRA_DIST.Brian Cameron2006-05-121-0/+2
| | | | | | 2006-05-12 Brian Cameron <brian.cameron@sun.com> * utils/Makefile.am: Add gdm-ssh-session to EXTRA_DIST.
* Finally fix bug #340960Brian Cameron2006-05-091-2/+5
| | | | | | | 2006-05-09 Brian Cameron <brian.cameron@sun.com> * config/ssh.desktop.in.in, po/POTFILES.in, utils/Makefile.am: Finally fix bug #340960
* Fix the installation of ssh.desktop and gdm-ssh-session so that theBrian Cameron2006-05-091-1/+1
| | | | | | | | | 2006-05-09 Brian Cameron <brian.cameron@sun.com> * configure.ac, config/Makefile.am, utils/Makefile.am: Fix the installation of ssh.desktop and gdm-ssh-session so that the desktop file is translated and gdm-ssh-session is installed to libexecdir. Fixes bugs #340958 and #340960.
* Now support --with-sysconfsubdir so that GDM can be configured to have theBrian Cameron2006-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Reorganize libraries so that it is easier to build GDM against a testBrian Cameron2006-02-151-0/+1
| | | | | | | | | | 2006-02-15 Brian Cameron <brian.cameron@sun.com> * Makefile.am, gui/Makefile.am, gui/greeter/Makefile.am, utils/gdm-dmx-reconnect-proxy.c: Reorganize libraries so that it is easier to build GDM against a test Xserver. Fixes bug #331226. Patch provided by Sylvain Bertrand <sylvain.bertrand@gmail.com>.
* Add needed glib/gstdio.h include to daemon/fstype.c which fixes a wierdBrian Cameron2006-01-181-2/+1
| | | | | | | | | | | | | | | | | | | | | | 2006-01-18 Brian Cameron <brian.cameron@sun.com> * daemon/auth.c, daemon/choose.c, daemon/cookie.c, daemon/display.c, daemon/errorgui.c, daemon/filecheck.c, daemon/fstype.c, daemon/gdm.c, daemon/gdmconfig.c, daemon/server.c, daemon/slave.c, daemon/verify-crypt.c, daemon/verify-pam.c, daemon/verify-shadow.c, daemon/xdmcp.c, gui/gdmchooser.c, gui/gdmlogin.c, gui/gdmsession.c, gui/gdmsetup.c, gui/misc.c, gui/modules/dwellmouselistener.c, gui/modules/keymouselistener.c, utils/gdm-dmx-reconnect-proxy.c, vicious-extensions/glade-helper.c, vicious-extensions/test-ve-config.c, vicious-extensions/ve-config.c, vicious-extensions/ve-gnome.c, vicious-extensions/ve-misc.c, vicious-extensions/ve-miscui.c, vicious-extensions/ve-nongnome.c, vicious-extensions/ve-signal.c: Add needed glib/gstdio.h include to daemon/fstype.c which fixes a wierd core dumping problem on Ubuntu. Fixes bug #326819. Patch provided by Sebastien Bacher <seb128@debian.org>. Also fixed all the source so that the includes are more consistant with config.h in quotes instead of in "<>" and glib/gtk includes are always listed after system includes.
* Fix Makefile so "make clean" doesn't delete gdm-ssh-session.Brian Cameron2006-01-151-2/+2
| | | | | | 2006-01-15 Brian Cameron <brian.cameron@sun.com> * utils/Makefile.am: Fix Makefile so "make clean" doesn't delete gdm-ssh-session.
* Enhancement patch provided by Dominique Hazael-MassieuxBrian Cameron2006-01-132-0/+9
| | | | | | | | | | | | | 2006-01-13 Brian Cameron <brian.cameron@sun.com> Enhancement patch provided by Dominique Hazael-Massieux <dominique.hazael-massieux@centraliens.net> with some help from me getting the configure/Makefile stuff working. * configure.ac, config/Makefile.am, docs/C/gdm.xml, utils/Makefile.am: Add support for --enable-secureremote * config/ssh.desktop.in, utils/gdm-ssh-session: Added desktop file and gdm-ssh-session script to support secure remote login.
* Fix problem with client not properly counting the number of connections,Brian Cameron2006-01-052-10/+4
| | | | | | | | | | | | | | | | | | | | | | | 2006-01-03 Brian Cameron <brian.cameron@sun.com> * gui/gdmcommon.c: Fix problem with client not properly counting the number of connections, and make logic more robust so when it receives an "ERROR 200 Too many messages" it will close and reopen the connection and try again rather than just fail. * configure.ac, configure/Makefile.am: Add loginpreloadlist * utils/prefetch.c: Now handle comments that start with "#" in the preloadlist file. * daemon/gdm.h, daemon/gdmconfig.c, config/gdm.conf, gui/gdmlogin.c, gui/gdmcommon.[ch], gui/greeter/greeter.c: Now PostDisplayProgram is PreFetchProgram. Fixed some comments in gdm.h. * daemon/gdm.c: Now KEY_PRE_FETCH_PROGRAM is only returned to the first slave that asks for the value, ensuring the prefetch only happens the first time a greeter is displayed. * docs/C/gdm.xml: Rewrote the Introduction section so it is more clear, made improvements to the Accessibility section, and fixed a number of formatting issues. Now a separate Security section. Updated docs to reflect PreFetchProgram change. * gui/gdmflexiserver.c: Clean up the code a little.
* Now use g_ stdio function like g_chmod instead of chmod. Fixes bugBrian Cameron2005-12-221-26/+24
| | | | | | | | | | | | | | | | 2005-12-22 Brian Cameron <brian.cameron@sun.com> * daemon/auth.c, daemon/display.c, daemon/errorgui.c, daemon/filecheck.c, daemon/fstype.c, daemon/gdm-net.c, daemon/gdm.[ch], daemon/gdmconfig.c, daemon/misc.c, daemon/server.c, daemon/slave.c, daemon/verify-pam.c, daemon/xdmcp.c, gui/gdmXnestchooser.c, gui/gdmchooser.c, gui/gdmcommon.c, gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsetup.c, gui/gdmuser.c, utils/gdmprefetch.c, vicious-extensions/ve-config.c, vicious-extensions/ve-gnome.c, vicious-extensions/ve-misc.[ch], vicious-extensions/ve-nongnome.c: Now use g_ stdio function like g_chmod instead of chmod. Fixes bug #310229.
* Adding gdmprefetch to .cvsignore.Brian Cameron2005-12-211-0/+1
|
* Patch by Padraig O'Briain <Padraig.OBriain@sun.com>, modified by myself soBrian Cameron2005-12-212-2/+148
| | | | | | | | | | | | | | | | | | | | | | 2005-12-21 Brian Cameron <brian.cameron@sun.com> Patch by Padraig O'Briain <Padraig.OBriain@sun.com>, modified by myself so it also works with gdmlogin and not just gdmgreeter. Also I integrated his gdmprefetch.c utility into the configure/Makefile system with the --with-prefetch option. * configure.ac: Now support --with-prefetch * daemon/gdm.h, daemon/gdmconfig.c, config/gdm.conf.in: Support new PostDisplayProgram key. * gui/gdmcommon.[ch], gui/gdmlogin.c, gui/greeter/greeter.c: Now support new PostDisplayProgram key. * docs/C/gdm.xml: Add docs for new key. * utils/Makefile.am, utils/gdmprefetch.c: Add new gdmprefetch utility. * config/Makefile.am: Now install gdm.conf file with 444 permissions and always write over the installed gdm.conf after first moving aside the user's gdm.conf file if necessary.
* Remove libgnome dependencies except in gdmflexiserver.c and gdmsetup.c.Brian Cameron2005-12-122-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-12 Brian Cameron <brian.cameron@sun.com> * daemon/misc.c, daemon/server.c, daemon/verify-crypt.c, daemon/verify-pam.c, daemon/verify-shadow.c, daemon/xdmcp.c, gui/gdmXnestchooser.c, gui/gdmchooser.c, gui/gdmcomm.c, gui/gdmcommon.[ch], gui/gdmdynamic.c, gui/gdmlanguages.c, gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsession.c, gui/gdmuser.c, gui/gdmwm.[ch], gui/greeter/greeter.c, gui/greeter/greeter_action_language.c, gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_item.c, gui/greeter/greeter_item_capslock.c, gui/greeter/greeter_item_pam.c, gui/greeter/greeter_item_timed.c, gui/greeter/greeter_item_ulist.c, gui/greeter/greeter_parser.c, gui/greeter/greeter_session.c, gui/greeter/greeter_system.c, gui/misc.c, gui/modules/dwellmouselistener.c, gui/modules/keymouselistener.c, utils/gdm-dmx-reconnect-proxy.c, utils/gdmaskpass.c: Remove libgnome dependencies except in gdmflexiserver.c and gdmsetup.c. Patch provided by Jani Monoses on gdm-list@gnome.org.
* Redesign of daemon configuraton. Now all vicious-extensions logic is inBrian Cameron2005-11-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-03 Brian Cameron <brian.cameron@sun.com> Redesign of daemon configuraton. Now all vicious-extensions logic is in gdmconfig.[ch]. This greatly simplifies how the UPDATE_CONFIG, and GET_CONFIG commands work and makes it easier to update the way GDM handles configuration. Changed ve_setenv/ve_unsetenv to g_setenv/g_unsetenv since GDM requires a newer version of GLIB than could possibly cause the old ve versions to get used. * daemon/gdmconfig.[ch]: New logic for interacting with vicious-extensions. * daemon/gdm.h: Updated comments and changed the #define for many configuration options so the naming is more consistant. Now the #defines more closely match the keys in gdm.conf and more consistantly use the underscore. * daemon/auth.c, daemon/choose.c, daemon/cookie.c, daemon/display.c, daemon/errorgui.c, daemon/gdm-net.c, daemon/gdm.c, daemon/getvt.c, daemon/misc.c, daemon/server.c, daemon/slave.c, daemon/verify-crypt.c, daemon/verify-pam.c, daemon/verify-shadow.c, daemon/xdmcp.c: Reorganized configuration. * daemon/auth.h, daemon/cookie.h, daemon/display.h, daemon/errorgui.h, daemon/filecheck.h, daemon/gdm-net.h, daemon/getvt.h, daemon/misc.h, daemon/server.h, daemon/slave.h, daemon/verify.h, daemon/xdmcp.h: Now include gdmconfig.h instead of vicious.h and changed "Gnome" to "GNOME" in comment. * daemon/Makefile.am: Added new gdmconfig.[ch] * gui/gdmXnestChooser.c, gui/gdmchooser.c, gui/gdmcomm.c, gui/gdmdynamic.c, gui/gdmflexiserver.c, gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsetup.c, gui/greeter/greeter.c, gui/greeter/greeter_item_capslock.c, utils/gdm-dmx-reconnect-proxy.c: Updated to reflect the new configuration #defines.