summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix Solaris build, a patch from Niall Power <Niall.Power@Sun.COM>George Lebl2003-03-051-4/+0
| | | | | | | | | Wed Mar 05 15:11:49 2003 George Lebl <jirka@5z.com> * configure.in, daemon/Makefile.am, gui/Makefile.am, gui/greeter/Makefile.am, utils/Makefile.am, vicious-extensions/Makefile.am, daemon/slave.c, daemon/choose.c: Fix Solaris build, a patch from Niall Power <Niall.Power@Sun.COM>
* Yay! it like all builds and stuffGeorge Lebl2001-11-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Fri Nov 16 12:38:30 2001 George Lebl <jirka@5z.com> Yay! it like all builds and stuff * gui/gdmlogin.c: fix crash for timed logins * config/gdm.conf.in, daemon/gdm.h, gui/gdmlogin.c, gui/gdmconfig.(c|h|glade): Remove the font option, it can now be done by using the pango markup in the welcome message * gui/gdmchooser.h gui/gdmlogin.h, gui/Makefile.am: remove useless header files. * gui/gdmchooser.c: reorganize the code a bit to remove useless forward declarations * gui/gdmchooser.c, gui/gdmlogin.c, gui/gdmconfig.[ch], gui/gdmflexiserver.c, gui/gdmwm.[ch], gui/misc.h: Port to pixbuf and gnome2. * utils/Makefile.am: remove (includedir) to make it not pickup gnome1 headers
* Begin GNOME 2.0 porting. Not complete yet, daemon may 'compile', guiGeorge Lebl2001-11-062-8/+2
| | | | | | | | Mon Nov 05 21:28:43 2001 George Lebl <jirka@5z.com> * configure.in, **/Makefile.am, daemon/*.[ch], utils/*.[ch], gui/*.[ch]: Begin GNOME 2.0 porting. Not complete yet, daemon may 'compile', gui doesn't compile yet
* fix minor issuesGeorge Lebl2001-10-251-0/+5
| | | | | | | | | | | | | | | | | | | Thu Oct 25 01:49:57 2001 George Lebl <jirka@5z.com> * config/XKeepsCrashing: fix minor issues * daemon/gdm.c: set TEXTDOMAIN and TEXTDOMAINDIR for XKeepsCrashing * utils/gdmopen.c: echo \033(K onto the console to make sure that non lat1 fonts get set up * daemon/gdm.h, daemon/server.c, daemon/slave.c: When starting a server consider loss of connection within 5 seconds a crash no matter what. It seems that for example not being able to open a mouse manifests self AFTER server tells us it's ready and we XOpenDisplay. Actually it's 5 seconds from the USR1, which means 5 seconds after it's ready to accept connections.
* Shut up CVS -GeorgeGeorge Lebl2001-10-251-1/+1
| | | | | Shut up CVS -George
* Don't pass extra arguments to XKeepsCrashing, and whack the XGeorge Lebl2001-10-252-8/+15
| | | | | | | | | | | | | | | | | | Wed Oct 24 17:57:03 2001 George Lebl <jirka@5z.com> * daemon/gdm.[ch], gui/gdmconfig.(c|glade), config/gdm.conf.in: Don't pass extra arguments to XKeepsCrashing, and whack the X configurators option since that is now changed by editting the XKeepsCrashing script directly. * config/XKeepsCrashing, config/Makefile.am, config/gettextfoo.h, po/POTFILES.in, config/extract-shell.sh: Rework the XKeepsCrashing script, configurator is found from a list in the script. If the error is a mouse error try the mouseconfig configurator first. Messages are now gotten by gettext -s directly and extracted by a simple stupid script, that needs a tad of work still I think. * docs/C/gdm.sgml: Remove the XKeepsCrashingConfigurators option
* add a small utility for safely making temp filesGeorge Lebl2001-10-243-3/+44
| | | | | | | | | Wed Oct 24 11:02:55 2001 George Lebl <jirka@5z.com> * utils/gdmkstemp.c, utils/Makefile.am: add a small utility for safely making temp files Tue Oct 23 15:17:23 2001 George Lebl <jirka@5z.com>
* set VT_NUMBER env varGeorge Lebl2001-10-201-0/+4
| | | | | | | | | Sat Oct 20 13:31:07 2001 George Lebl <jirka@5z.com> * utils/gdmopen.c: set VT_NUMBER env var * gui/gdmwm.c: Fix a race for MapNotify so that newly created windows are always focused
* Apply patch from Ali Akcaagac <ali.akcaagac@stud.fh-wilhelmshaven.de> forGeorge Lebl2001-10-121-2/+2
| | | | | | | | | | | | Fri Oct 12 12:52:08 2001 George Lebl <jirka@5z.com> * configure.in, daemon/Makefile.am, gui/Makefile.am, utils/Makefile.am: Apply patch from Ali Akcaagac <ali.akcaagac@stud.fh-wilhelmshaven.de> for compatibility with automake 1.5 and autoconf 2.50 * config/locale.alias, gui/languages.c: Make russian use KOI8-R and add ukrainian
* Add two new small sbin utils. gdmopen is like open (based on it) butGeorge Lebl2001-08-224-0/+306
Wed Aug 22 23:01:59 2001 George Lebl <jirka@5z.com> * configure.in, Makefile.am, utils/gdmopen.c, utils/gdmaskpass.c: Add two new small sbin utils. gdmopen is like open (based on it) but better suited for gdm. Exitcode is returned so no temp files are needed. Process is cleaned up on a signal, the new vt is deallocated after use. And unlike openvt this thing actually waits for the child. Gdmaskpass just asks for the root password, for use in the XKeepsCrashing script. Both of these things will only run as root as I'm too paranoid and it doesn't make sense for them to run otherwise for gdm anyway. * configure.in: Fix sbin expansion. * daemon/gdm.c, daemon/misc.[ch], daemon/slave.c, daemon/server.c: Use gdmopen to run dialog and add helper functions for doing this. * daemon/gdm.h, daemon/slave.c, daemon/server.[ch]: When a server is busy, ask the user if we want to run it on a new display number or retry. * daemon/gdm.c, daemon/misc.c, daemon/slave.c: Make sure to whack any extra helper processes we launch when we are killed so that we don't leave things like 'dialog' processes around * daemon/gdm.c, config/XKeepsCrashing: Use gdmaskpass, ask if the user wants to view X logs if X is crashing. And use gdmopen in the script and correctly abort with exit 32. Also make it not use the ugly tempfile stuff (Though a tempfile is still given to the script for now) * gdm.spec.in: raise epoch to 1, people abuse this field, and if they do abuse it again and raise it beyond 1, I'll just max it out since it makes package upgrading not work. * daemon/slave.c, daemon/verify-(pam|crypt|shadow).c: add /sbin/nologin as a thing to test for for disabled logins in addition to /bin/false and /bin/true (it worked, but this adds a nicer message) * daemon/xdmcp.c: fix a warning. * gui/gdmflexiserver.desktop.in: kill TryExec here