summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* 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