summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* gdm-runtime-config: end lines in outputPaper2021-07-141-2/+2
|
* utils: change gdm-disable-wayland to gdm-runtime-configJian-Hong Pan2020-11-032-8/+30
| | | | | | | | | | | | | | | | | | | | We can disable Wayland in runtime by invoking gdm-disable-wayland. However, we may also want to enable Wayland in runtime for some reasons. This idea is extended to modify more options/configurations in runtime. This commit renames gdm-disable-wayland to gdm-runtime-config and unlocks the feature to modify more gdm configurations in runtime. The new command format will be: gdm-runtime-config set <group> <key> <value> The configurable items refer to gdm.schemas. "<group>/<key>" combination is the key in gdm.schemas. For example, the original "gdm-disable-wayland" is replaced by "gdm-runtime-config set daemon WaylandEnable false". Link: https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/115#note_944907
* Drop autogoo goo gooRay Strode2020-04-301-70/+0
| | | | | | Our turkey has freezer burn, so I'm dropping it. https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/96
* data: switch gdm.service.in to use cmake formatNiels De Graef2020-04-301-0/+41
| | | | | | | | | | We're going to be switching to meson, and meson doesn't deal too well with an @ in the configuration file that's not part of a substitution variable. This commit switches the gdm service over to use a cmake style of substitution variables, so we can later tell meson to use configure in cmake mode and workaround the @ confusion.
* utils: add new gdm-disable-wayland binaryRay Strode2018-05-212-0/+67
| | | | | | | | | | | | | We currently disable wayland for cirrus by calling printf from a udev rule. This works, but it's a little too open coded to easily write SELinux policy for. This commit introduces a new program, gdm-disable-wayland, that does the same thing, but in a dedicated binary. A future commit will change the udev rule to use the binary. https://bugzilla.gnome.org/show_bug.cgi?id=796315
* utils: Don't use deprecated gdk_cursor_unrefRobert Ancell2017-12-051-1/+1
|
* utils: Don't use deprecated gdk_cursor_newRobert Ancell2017-12-051-1/+1
|
* Use standard exit codes.Robert Ancell2017-10-032-4/+4
| | | | | | | | | Use EXIT_ defines for readibility. There were some exit codes > 1, but they don't seem to be checked by any of the parent process code. This does mean that the logs might have changed, but modern logging techniques have probably made this obsolete. https://bugzilla.gnome.org/show_bug.cgi?id=788307
* Use Unicode in translatable stringsPiotr Drąg2017-06-221-1/+1
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772203
* daemon: add wrapper for launching X sessionRay Strode2015-02-181-3/+2
| | | | | | | | | | | | | | | | This commit adds a utility for launching an X server and session together. This utility works a lot like xinit, but makes use of modern X features (like -displayfd) and has GDM specific integration (like reading from gdm configuration, and optionally running through /etc/gdm/Xsession) The eventual idea is to get the main GDM code out of the X server launching business and instead farm the logic off to an unprivileged helper that gets run within the logind session of the user. https://bugzilla.gnome.org/show_bug.cgi?id=744764
* daemon: add wrapper for launching wayland sessionRay Strode2015-02-181-1/+0
| | | | | | | | This wrapper makes sure the wayland session is registered with the display manager, and that the wayland session gets a dbus-daemon that's automatically cleaned up when the session goes away. https://bugzilla.gnome.org/show_bug.cgi?id=744764
* gdmflexiserver: Remove unused error quarkJasper St. Pierre2014-02-191-12/+0
|
* flexiserver: don't open a displayRay Strode2014-02-071-30/+1
| | | | | | | The only reason it uses gtk is to show some awful dialogs in the case of failure. Drop that code. Now gdmflexiserver can be run from the command line.
* utils: move login screen jumping code to commonRay Strode2014-02-072-544/+4
| | | | | | flexiserver has a bunch of complicated logic i want to use in the worker. Move that code to the common library and make flexiserver link against the common library.
* flexiserver: Remove a dead branchJasper St. Pierre2014-02-071-4/+0
|
* flexiserver: don't look at pam service name to find login screenRay Strode2013-09-201-17/+3
| | | | | It changed a long time ago and we neglected to update it here, and checking the class is good enough anyway.
* build: Fix srcdir != builddir issues with previous commitColin Walters2013-04-011-2/+4
| | | | We need top_srcdir.
* Fix checks for logindMartin Pitt2013-03-291-2/+3
| | | | | | | | | | | | It is possible to build systemd without logind or run logind without systemd init, in both cases testing for systemd init is wrong. Check for /run/systemd/seats in the parts which talk to logind instead, as recommended by systemd upstream. For details, see: <https://mail.gnome.org/archives/desktop-devel-list/2013-March/msg00092.html> https://bugzilla.gnome.org/show_bug.cgi?id=696266
* utils: reintroduce gdmflexiserverTim Lunn2012-10-092-0/+791
| | | | | | | Partial revert of 920b38e2aac1f79100ed86a0296bbcaf4fecabd9 to reinstroduce gdmflexiserver since gnome-screensaver depends on it. https://bugzilla.gnome.org/show_bug.cgi?id=685622
* Trivial: Update FSF Address.Dominique Leuenberger2012-09-061-1/+1
| | | | Fix bug 683383.
* remove the .cvsignore filesAdrian Bunk2012-08-301-10/+0
| | | | | | No longer needed after the switch to git. https://bugzilla.gnome.org/show_bug.cgi?id=682976
* Replace gdmflexiserver with a libgdm methodGiovanni Campagna2012-08-162-762/+0
| | | | | | | | gdmflexiserver used to a be a generic interface to GDM, but now it only does fast user switching. Move that functionality to libgdm and kill the utility. https://bugzilla.gnome.org/show_bug.cgi?id=681827
* gdmflexiserver: Port to GDBusGiovanni Campagna2012-07-171-447/+195
| | | | | | | | | | | | gdmflexiserver is the program that handles initiating user switch requests. Ultimately, we don't want any part of GDM using dbus-glib, including gdmflexiserver. This commit moves gdmflexiserver over to GDBus. https://bugzilla.gnome.org/show_bug.cgi?id=622888
* user-switching: don't bail if login screen isn't runningRay Strode2012-03-191-8/+3
| | | | | | | It's okay if no login screen is running, we can just launch one. https://bugzilla.gnome.org/show_bug.cgi?id=655380
* user-switching: fix seat id confusionRay Strode2012-03-191-2/+2
| | | | | | | | | | There's a few places in the code that was hardcoding consolekit paths still. This commit does some small changes to make that more systemd compatible. https://bugzilla.gnome.org/show_bug.cgi?id=655380
* gdmflexiserver: s/or or/ orRay Strode2012-02-141-1/+1
| | | | | | | This commit addresses a typo introduced in the last messages fix up. Spotted by Ihar Hrachyshka
* gdmflexiserver: fix up error messagesRay Strode2012-02-131-3/+3
| | | | | | | | | | The existin error messages are vague, hard to read, and even harder to translate. This commit changes a few of them to hopefully help the situation a bit. http://bugzilla.gnome.org/show_bug.cgi?id=669902
* gdmflexiserver: port gdmflexiserver to libsystemd-logindLennart Poettering2012-02-072-20/+239
| | | | | Port over gdmflexiserver to use native systemd calls with a fallback on CK.
* 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