| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* acconfig.h, configure.in: add check for fbconsole (fallback
(console)
* daemon/server.c: add call to start fbconsole (if present)
after the Xserver starts.
|
|
|
|
|
|
|
|
|
| |
Mon Jul 28 10:36:52 2003 George Lebl <jirka@5z.com>
* confiugure.in, acconfig.h, daemon/slave.c, daemon/gdm.c: check
for sched_yield in the standard lib and then in -lrt, and don't
use it if we can't find it. Also remove its usage from places
where we're going to yield the processor very soon anyway.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Jul 24 14:58:23 2003 George Lebl <jirka@5z.com>
* daemon/gdm.c, daemon/slave.c, daemon/auth.c: change some
g_strconcat's to g_build_filename's to address #118040.
still more need to be converted
* gdm.spec.in, daemon/gdm.h, config/gdm.conf.in, config/Makefile.am,
configure.in: By default use logdir of /var/log/gdm just
like redhat does it
* daemon/gdm.c: check logdir to exist and if not set it to
ServAuthDir
* gdm.spec.in, daemon/gdm.c, config/Makefile.am: Make the
ServAuthDir permissions to be 1770 with owenership root.gdm.
That makes it impossible for the gdm user to run DoS attacks
against the gdm daemon (though without any process limits set
it can still somewhat do that)
* daemon/slave.c, daemon/display.c, daemon/gdm.c, daemon/misc.c,
daemon/server.c: Hunt more races and hangs. Make sure we really
don't do anything bad in signal handlers by making a setjmp
at the beginning of the slave_start function and returning
there from signal handlers to do final cleanup kind of stuff.
Also when we are receiving TERM signals while waiting on stuff
to die, be very un-nice to things and SIGKILL them. Also stop
using sleep if we might be using alarm at the same time.
* daemon/display.c: whack non-useful signal block push on unmanage,
and if we get a TERM signal while waiting on the slave, then send
a TERM signal to the slave again.
* daemon/errorgui.c: set USER, USERNAME and LOGNAME to "gdm" so that
they don't end up root by some mistake
* daemon/slave.c: Use home of root rather then /root for the home
directory of gdmsetup. Also if we can't change to the home
directory chdir to / instead of leaving it at servauthdir.
Be anal about COOKIEs in the logfile. Also when things go
just a bit wrong and not completely whacko, don't ABORT but
just REMANAGE, the toplevel loop of death will handle things
for us correctly. And setsid a very close to the start of
the session to avoid a race ABORTing a display by mistake.
* daemon/slave.c: make the PostLogin behave just like PostSession
with respect to the return value
* daemon/verify-pam.c: avoid races on termination with the
verify_cleanup and handle some cases where crashes may (but
should not) occur.
* daemon/gdm.c: whack unneeded signal blockers (the main daemon
is all async with a nice mainloop)
* gui/gdmchooser.c: handle HUP gracefully, when one of the
config options we care about changes just restart self
instead of
* gui/gdmlogin.c, gui/greeter/greeter_item_ulist.c: make
the username bold
* docs/C/gdm.xml: update the PostLogin behaviour and the permissions
on the ServAuthDir
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Jun 11 16:04:02 2003 George Lebl <jirka@5z.com>
* configure.in, daemon/gdm.h, config/gdm.conf.in: Sync defaults into
with the header file. Add comment about the gtk modules stuff
and make it default to what you'd normally have for accessibility
(though it doesn't add them by default). The gdm.h defaults to
no modules though. Also if we can't find an X server, default
to the Linux setup so that the beast at least builds.
* docs/Makefile.am: actually include the theme document, DUH!
|
|
|
|
|
|
|
|
|
| |
Sun Jun 08 23:49:28 2003 George Lebl <jirka@5z.com>
* configure.in, acconfig.h, daemon/verify-pam.c: Add patch
from Brian Cameron to fix #106537 (at lest the default/login
thing). That is read some solaris preference file when logging
in.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
| |
* acconfig.h, configure.in: Detect Xsun xinerama and Xdmcp on Solaris. Patch
by Brian Cameron (Brian.Cameron@Sun.COM)
* config/gdm.conf.in: set Xserver paths correctly for both XFree86 and Xsun
Patch by Brian Cameron (Brian.Cameron@Sun.COM)
* daemon/slave.c, gui/Makefile.am gui/gdmwm.c: added Xinerama support for
Solaris/Xsun platforms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Jul 08 20:01:23 2002 George Lebl <jirka@5z.com>
* configure.in, acconfig.h, daemon/misc.c, gui/gdmchooser.c:
if available include <sys/sockio.h>. Should fix first
part of #86679
* gui/Makefile.am: link gdmsetup and gdmflexiserver with -lXau,
should fix second part of #86679
* gui/gdmwm.c: Fix #86620, don't set up the wm stuff if the
substructureredirect selection fails on the root window.
* daemon/slave.c: don't clear the env for chooser, greeter and
config. I suppose it was fairly foolish to do so anyway.
Should fix #87387 partly
* configure.in, daemon/gdm.in, daemon/Makefile.am: rename
gdm to gdm-binary and install a new script called gdm
which calls gdm-binary. This way the standard env is
read in and other good stuff can happen. Should fix #87387
completely
* gui/gdmchooser.c, gui/gdmlogin.c: properly center windows
* gui/gdmchooser.c: don't die on every minor problem, and
fix querying the interfaces
* gui/gdmchooser.c, gui/gdmsetup.c: fix crashes and the event
fixup function
* gui/gdmchooser.glade: fix signal connections so that we can
actually select some host
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue May 21 15:12:51 2002 George Lebl <jirka@5z.com>
* configure.in, accconfig.h: check for setresuid
* daemon/errorgui.c, daemon/misc.[ch]: use setresuid to really
get rid of setuidiness
* gui/gdmlogin.c: fix accelerators. Since now we have nice
visible accelerators (mnemonics) we no longer need the Esc one
which wasn't working anyway
* daemon/gdm.c, daemon/slave.c, gui/gdmphotosetup.c: Don't init
gnome. This only breaks the getting of the gnome pixmap dir, so
whack the places where this is done. It's not a big deal really.
And not initting things really helps a lot in both init speed,
random crashes, hangs, and security.
* daemon/slave.c, daemon/errorgui.[ch], config/Xsession: Now
we open the .xsession-errors file early on, in fact for all
non-failsafe sessions. If the session is less then 10 seconds
long warn the user of possible errors and let him view the
.xsession-errors file.
* daemon/slave.c, daemon/auth.c: give error output when we can't
setup the authentication file.
* daemon/slave.c, daemon/errorgui.c: fix focus issues, fix crash
for the error gui boxes
* daemon/verify-pam.c: fix typo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri May 17 16:10:15 2002 George Lebl <jirka@5z.com>
* daemon/misc.c, daemon/slave.c, configure.in, acconfig.h: Use BSD's
setusercontext if found. If language is unset and there is no
saved preference then if we're using setusercontext don't reset
LANG so that the users login.conf preference takes over
* daemon/gdm.h, gui/gdmlogin.c, gui/gdmsetup.c: Add a new key
greeter/MinimalUID which sets the minimal uid which is needed
to show up in the browser or the dropdown list in gdmsetup
* daemon/gdmlogin.c: whack the "*" checking in the password field,
since we may get it normally
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Jan 21 19:14:28 2002 George Lebl <jirka@5z.com>
* acconfig.h, configure.in: use GETTEXT_PACKAGE
* daemon/gdm.c, daemon/misc.[ch], daemon/verify-pam.c,
daemon/server.c, daemon/slave.c, daemon/display.c:
When displaying something on a console display it only
when the console is UTF-8, which is only true if
"gdmopen vt-is-UTF8 -q" returns 0 status. Else don't
actually translate anything and just print out the english/ASCII
version.
* daemon/verify-pam.c: Better check for existance of the pam
gdm configuration
* daemon/gdm.c, gui/gdmXnestchooser.c, gui/gdmchooser.c,
gui/gdmconfig.c, gui/gdmflexiserver.c, gui/gdmlogin.c,
gui/gdmphotosetup.c: property bind gettext stuff and make
sure we correctly set it up for UTF-8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Jun 03 04:55:49 2001 George Lebl <jirka@5z.com>
* daemon/gdm.h: remove unused opcode (GDM_STOP)
* daemon/slave.c, gui/gdmlogin.c: On GDM_QUIT the login will make
sure to quickly quit and in the slave we no longer kill it to
avoid a possible race, also try to avoid other races todo with
killing things. Also fclose the greeter channel to avoid a leak.
* daemon/gdm.h, daemon/slave.c: get the size of the screen from
xinerama and center error dialog stuff.
|
|
|
|
|
|
|
|
|
| |
Tue May 08 16:38:02 2001 George Lebl <jirka@5z.com>
* gui/gdmlogin.c: Actually make the xinerama scaling thing work.
Also limit the dragging to within xinerama screens and avoid
dead space. Allow jumping in between xinerama screens when
dragging as well.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Apr 23 22:04:24 2001 George Lebl <jirka@5z.com>
* configure.in, acconfig.h, daemon/auth.c, daemon/misc.[ch],
daemon/slave.c, daemon/verify.h,
daemon/verify-(pam|crypt|shadow).h: Fixup enviroment issues.
Clear the environment before running a session and before launching
the greeter (taking care to save the localisation vars). Also
don't set user env on the slave and leave it, if we set it it's
only temporary. Also fix one possible crash by strduping the
pam env since that will go away and putenv doesn't strdup.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Feb 01 17:05:54 2001 George Lebl <jirka@5z.com>
* Apply an port a patch from <tim.jansen@systembureau.com>,
furhter modified default config (config/gdm.conf.in) and the
configuratior (gui/gdmconfig.c) to include the screen option
* gui/gdmlogin.c, configure.in: added support for Xinerama,
the new key greeter/XineramaScreen selects on which screen the
greeter will be centered
|
|
|
|
|
|
|
|
| |
1999-08-16 <mkp@mkp.net>
* docs/C/gdm.sgml: SGML-ified manual. Only bare bones so far.
* configure.in: Check whether crypt.h exists. Gnome bug #1925.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-08-11 <mkp@mkp.net>
* daemon/auth.c: Nailed down the bug that has been haunting me the
past couple of days. gdm no longer corrupts ~user/.Xauthority if
it contains ``foreign'' cookies.
1999-08-08 <mkp@mkp.net>
Finally merged the Ottawa megapatch:
* daemon/auth.c: Real XAuth implementation. Doesn't rely on
/usr/bin/X11/xauth anymore.
* gui/gdmlogin.c: Implemented browser functionality.
* gui/gdmconfig.c: First shot at a graphical configuration tool.
* gui/gdmface.c: Face selector capplet.
1999-08-07 <mkp@mkp.net>
* Replaced gdm_putenv() with calls to setenv() as putenv() is
broken by specification.
1999-08-02 <mkp@mkp.net>
* md5.c, md5.h, cookie.c: Fixed MD5 endianness problem (Reported
by <gewrgiou@imbc.gr>, bugzilla 3898).
|
|
|