summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Correct memory leaks. Fixes bug #315388, patch by Ray Strode with minorBrian Cameron2005-09-071-0/+1
| | | | | | | | | | | | | | | | 2005-09-06 Brian Cameron <Brian.Cameron@sun.com> * daemon/auth.c, daemon/gdm.c, daemon/slave.c, daemon/verify-pam.c, gui/gdmchooser.c, gui/gdmcomm.c, gui/gdmdynamic.c, gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsetup.c, gui/greeter/greeter.c, gui/greeter/greeter_canvas_item.c, gui/greeter/greeter_session.c, gui/modules/keymouselistener.c, utils/gdm-dmx-reconnect-proxy.c, vicious-extensions/vc-misc.c: Correct memory leaks. Fixes bug #315388, patch by Ray Strode with minor tweaks by myself.
* Fixed grammar, fixing bug #310958.Brian Cameron2005-07-201-1/+1
| | | | | | | 2005-07-20 Brian Cameron <Brian.Cameron@sun.com> * utils/gdm-dmx-reconnect-proxy.c: Fixed grammar, fixing bug #310958.
* Add the ability to make GDM spawn XDMCP sessions on a local X proxyMark McLoughlin2005-04-223-0/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-22 Mark McLoughlin <mark@skynet.ie> Add the ability to make GDM spawn XDMCP sessions on a local X proxy server. Experimental support for disconnect/reconnect or "session migration" is also implemented using DMX. More details in bug #301602. * configure.in: require glib 2.6.0 and check for DMX. * config/gdm.conf.in: add xdmpc/EnableProxy, xdmcp/ProxyXServer and xdmcp/ProxyReconnect config keys. * docs/C/gdm.xml: document new config keys. * daemon/gdm.h: add TYPE_XDMCP_PROXY server type, add #defines for the new config keys, re-name various xnest related GdmDisplay members to be applicable for all proxy servers, add xdmcp_dispnum GdmDisplay member, modify the format of GDM_SOP_QUERYLOGIN and add GDM_SOP_AUTHFILE and GDM_SOP_MIGRATE. * daemon/gdm.c: read the new config keys, change format of what GDM_SOP_QUERYLOGIN returns, implement GDM_SOP_AUTHFILE and GDM_SOP_MIGRATE. * daemon/xdmcp.h: add gdm_xdmcp_migrate. * daemon/xdmcp.c: when xdmpc/EnableProxy and xdmcp/ProxyXServer, set things up such that a proxy sever (which displays on the requesting X server) is run locally by the slave. Also implement migrating the proxy server from one parent display to another using the xdmcp/ProxyReconnect command. * daemon/server.c: if we're running a proxy server (e.g. Xnest or Xdmx), hold a connection open to the parent display so that it doesn't reset. Run proxy servers with -display rather than setting $DISPLAY. * daemon/slave.c: Once we've successfully logged the user in, send SOP_QUERYLOGIN to the slave - if the result from that indicates that the user is already logged in and that session is migratable (e.g. by reconnecting a proxy server or changing the VT), then migrate to the existing session using SOP_MIGRATE. In the case of an Xdmcp proxy, hold open the connection to the parent display so that it doesn't reset. Exit the slave as soon as that connection closes. * utils/Makefile.am, utils/gdm-dmx-reconnect-proxy.c: implementation of xdmcp/ProxyReconnect for use with Xdmx.
* eek, evil we had GETTEXT_PACKAGE set to gdm-2.4, but we want gdm-2.6George Lebl2004-05-282-0/+18
| | | | | | | | | | | | | | | | | | | | | Fri May 28 11:08:51 2004 George Lebl <jirka@5z.com> * configure.in: eek, evil we had GETTEXT_PACKAGE set to gdm-2.4, but we want gdm-2.6 nowdays * daemon/gdm.c, daemon/misc.c: fix the ConsoleCannotHandle key and cache it as soon as we can and also set UNSAFE_TO_TRANSLATE=yes when forking something and console can't handle the language * daemon/server.c: fix a minor fd leak and print a C locale (don't want to translate this) error to the X log when the X server cannot be exec'ed. * utils/gdmopen.c, utils/gdmtranslate.c, config/XKeepsCrashing: Listen to UNSAFE_TO_TRANSLATE, since running shells in login mode may modify the locale so we must force it to "C" where we can if it is really unsafe (language in ConsoleCannotHandle)
* Ensure proper .ICEauthority permissions, this may fail on NFS, but whoGeorge Lebl2004-05-271-1/+11
| | | | | | | | | | | | | Wed May 26 17:34:51 2004 George Lebl <jirka@5z.com> * daemon/slave.c: Ensure proper .ICEauthority permissions, this may fail on NFS, but who cares, there if it breaks it's beyond our fixage anyway. Should alievate problems from #137345, though that bug is really in libice usage and gnome-session. libice is incredibly evil. * utils/gdmtranslate.c: fix with the forte compiler, patch fromn Brian Cameron, fixes #137600
* Updates. Added new icons for gdmflexiserver -xnest and gdmsetup. The oldJames M. Cape2004-05-131-0/+1
| | | | | | | | | | | | Wed May 12 20:36:33 2004 James M. Cape <jcape@ignore-your.tv> * */.cvsignore: Updates. * configure.in, pixmaps/Makefile.am, pixmaps/*/*: Added new icons for gdmflexiserver -xnest and gdmsetup. The old pixmaps stay in pixmaps because they are not "themed-icons" per-se. * pixmaps/gdm.png: Removed the old icon. * gui/gdmsetup.desktop.in, gui/gdmflexiserver*.desktop.in: Use the new icons.
* add a little color to the logout message, correctly set the fonts here.George Lebl2003-09-251-10/+20
| | | | | | | | | | | | | Thu Sep 25 15:38:38 2003 George Lebl <jirka@5z.com> * daemon/gdm.c, daemon/getvt.c: add a little color to the logout message, correctly set the fonts here. remove the stupid /bin/clear hack and the /bin/chvt hack and replace it with actual code. Plus a teeny bit of cleanup * utils/gdmopen.c: some minor cleanup * configure.in: raise version
* update the documentation a lot and install the docs. Yay! We have actualGeorge Lebl2003-07-193-4/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sat Jul 19 16:33:19 2003 George Lebl <jirka@5z.com> * docs/C/gdm.xml, configure.in, docs/C/Makefile.am, docs/Makefile.am, xmldocs.make, omf.make: update the documentation a lot and install the docs. Yay! We have actual documentation now!!! * daemon/misc.c: add sys/time.h and sys/resource.h includes (from looking at the FreeBSD patches) * daemon/slave.c: pass LOGIN_SETENV as well to setusercontext (from looking at the FreeBSD patches) * gui/gdmsetup.c: fix gccism, and look for the chown/chmod command (from looking at the FreeBSD patches) * gui/gdmphotosetup.c: add signal.h include (from looking at the FreeBSD patches) * configure.in, utils/Makefile.am: When the security/pam_misc.h is available also test for where the misc_conv function is as it seems to be sometimes compiled into the main libpam (FreeBSD for example) (from looking at the FreeBSD patches) * config/Default.in, config/Xsession.in, config/(Pre|Post)Session.in, config/XKeepsCrashing: don't use command -v and use which properly. And avoid stderr from which * utils/gdmaskpass.c: use GETTEXT_PACKAGE here * configure.in, utils/gdmtranslate.c, utils/Makefile.am, config/XKeepsCrashing, config/Xsession.in, config/Makefile.am: Add gdmtranslate libexec proggie since gettext command is not always installed apparently (non-developer machines) so we can't rely on it existing. Also do translations from the Xsession script * gui/gdmlogin.c, gui/greeter/greeter_system.c: Fix #117504 by changing the tooltip to be more informative * gui/greeter/greeter_system.c: Fix warnings when not all system dialog possibilities are present * Makefile.am, greeter.c, greeter.dtd, greeter_configuration.h, greeter_item.[ch], greeter_item_customlist.[ch], greeter_parser.[ch], greeter_system.c: Add listitem (proposed as customitem to the release-team) tags that can be inside a list and thus create custom widgetry. At this point all custom widgetry that can be done is a list to pick from but this should be possible to extend for some future releases. This custom info is then written to a per display file to use from login scripts or elsewhere. While I was there I fixed leaks and crashes when the parser would find parse errors. * docs/C/gdmconfig/*, docs/C/gdm.sgml, docs/C/gdm-manual.txt: remove everything here as it was old and unused and outdated.
* using /tmp as failsafe for HOME seems on second thought patently bad forGeorge Lebl2003-07-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Jul 11 14:31:20 2003 George Lebl <jirka@5z.com> * daemon/errorgui.c, daemon/server.c, daemon/slave.c: using /tmp as failsafe for HOME seems on second thought patently bad for security. Use ServAuthDir for gdm processes and / again for user and server. * daemon/errorgui.c: Use GtkTextView for the details file display. this be much nicer to CPU/network traffic if the details file is big (GtkLabel is BAD for displaying 500 lines of text quite apparently). Also fixup encoding conversion issues, and use checkbox instead of a button. * gui/greeter/greeter.[ch], gui/greeter/greeter_item_pam.c: update the use of login protocol to sync with gdmlogin * daemon/misc.[ch], daemon/auth.c, daemon/gdm.c, daemon/slave.c: be extra careful even in users home dir and in ServAuthDir when opening files. Not a huge deal but prevents some possible damage if someone gains the gdm user access somehow. * daemon/misc.c: fix minor memleak on conversion errors * gui/modules/dwellmouselistener.c, gui/modules/keymouselistener.c: fix compiler warnings. * daemon/server.c: support XFree86 version 4 logfile format * config/XKeepsCrashing: For XFree86 v4 it's possible that X puts its log not on the command line but into a file, so ask if that should be viewed as well. * daemon/gdm.c: whack the stored_path stuff and just restore to the initial env before re execing, also restore env when we launch XKeepsCrashing * utils/gdmopen.c: on linux set TERM=linux otherwise the fonts just may not work right * NEWS: update
* whack gdmmktemp since it wasn't being used, move gdmaskpass and gdmopen toGeorge Lebl2003-06-031-7/+8
| | | | | | | | | | | | | | | | | | | | | 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).
* added Malaylam, Marathi and Oriya languagesGeorge Lebl2003-05-171-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fri May 16 20:46:43 2003 George Lebl <jirka@5z.com> * gui/gdmlanguages.c, config/locale.alias: added Malaylam, Marathi and Oriya languages * gui/gdmlogin.c, gui/greeter/greeter_system.c: fix #105923 by changing the "Configure..." item to "Configure the login manager..." * utils/gdmopen.c: fix the -l option to actually work right * daemon/slave.c: fix Redhat #91031 by prepending the dash to the command rather then replacing the command with a dash when running the shell. This was contributed by mlblandf@sedona.intel.com (Michael Blandford) * config/gdm.conf.in, daemon/gdm.h: change PingInterval to PingIntervalSeconds * daemon/gdm.[ch], daemon/slave.c: update DisallowTCP properly * daemon/slave.c: set GDMSESSION before running PreSession * daemon/misc.c: fixed warnings and an uninitialized var use
* when more then 50 users don't put them all in the combo boxes, this is aGeorge Lebl2003-05-131-11/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue May 13 12:22:45 2003 George Lebl <jirka@5z.com> * gui/gdmsetup.c: when more then 50 users don't put them all in the combo boxes, this is a semi-solution to #111830 * daemon/verify-shadow.c: Apply patch from cschelcher@free.fr to fall back to standard password when shadow is not available. Apparently fixes NIS stuff, but I really think people should be using pam, but I digress. Fixes #109765 * daemon/auth.c, daemon/misc.c, daemon/server.c, daemon/slave.c: use strerror instead of g_strerror as that returns always UTF-8 and we want current locale. We already assume strerror is on the system so this is not a portability issue anyway. Fixes #106655 * utils/gdmopen.c: apply patch from Owen Taylor to fix #106656 by not deallocating the vt after we are done as apparently this is what open does and the kernel has a fit otherwise anyway. It's braindead, but oh well, this is the way it apparently works right. * daemon/gdm.c: apply patch from Owen Taylor to fix #106656 by setting TEXTDOMAIN to GETTEXT_PACKAGE rather then PACKAGE before running scripts * utils/gdmopen.c, daemon/misc.c: Apply patch from Owen Taylor to fix #106658, but fix it portably by adding the -l option to gdmopen as suggested by Owen. So all gdmopens we do are now using login shells which makes me wonder if we should just build that into gdmopen, since it's a special purpose utility anyhow.