1. 28 Jul, 2003 1 commit
    • Jiri (George) Lebl's avatar
      Fix #118404, we don't need TCP Wrappers if compiling without XDMCP · 3c93a08c
      Jiri (George) Lebl authored
      Mon Jul 28 09:19:38 2003  George Lebl <jirka@5z.com>
      
      	* configure.in: Fix #118404, we don't need TCP Wrappers if compiling
      	  without XDMCP
      
      	* gui/gdmlogin.c, gui/greeter/greeter_item_timed.c: Apply patch from
      	  Steve Chaplin to fix use of some deprecated functions #118361
      
      	* config/Xsession.in: remove the 'no zenity' message and add an echo
      	  when starting the failsafe session, even though in that case it's
      	  unlikely there is a .xsession-errors unless something went wrong
      3c93a08c
  2. 27 Jul, 2003 4 commits
  3. 26 Jul, 2003 8 commits
    • Christophe Merlet's avatar
      Updated French translation. · e335e9ef
      Christophe Merlet authored
      e335e9ef
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 4e735f82
      Duarte Loreto authored
      2003-07-26  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      4e735f82
    • Jiri (George) Lebl's avatar
      the waitpid function doesn't work as I expected with respect to signals so · 64efa9ef
      Jiri (George) Lebl authored
      Sat Jul 26 01:47:40 2003  George Lebl <jirka@5z.com>
      
      	* daemon/display.c, daemon/gdm.c: the waitpid function doesn't work
      	  as I expected with respect to signals so emulate it with either
      	  sleep or pause and then a WNOHANG waitpid.  Also kill the
      	  XKeepsCrashing thing if we get a SIGTERM, SIGINT or SIGHUP,
      	  just like with the slaves.  The slaves are now killed at least
      	  once in 10 seconds in case they are hanging somewhere.
      
      	* daemon/gdm.c: set up a TERM/INT handler for the first few moments,
      	  which will kill the extra process if any in addition to exiting.
      
      	* daemon/misc.c: fix the gdm_signal_default to use SIG_DFL and
      	  not SIG_IGN, doh! and fix extra_process check a little
      
      	* daemon/server.c, daemon/slave.c: fix server start race that
      	  could result in the USR1 to not set SERVER_RUNNING, and fix
      	  slave not to try to open the display again if the server
      	  is gone.
      64efa9ef
    • Christian Neumair's avatar
      Updated German translation. · 21ac6191
      Christian Neumair authored
      21ac6191
    • Jiri (George) Lebl's avatar
      minor cleanup of main · d09895cc
      Jiri (George) Lebl authored
      Fri Jul 25 19:01:11 2003  George Lebl <jirka@5z.com>
      
      	* daemon/gdm.c: minor cleanup of main
      
      	* daemon/gdm.c, daemon/server.c, daemon/misc.c, daemon/slave.c,
      	  gui/gdmlogin.c, gui/greeter/greeter.c, gui/gdmchooser.c:
      	  unification of some error messages to make translations simpler,
      	  plus fixing bug #56654 finally hopefully by removing programmer
      	  references from translatable strings
      
      	* daemon/slave.c, daemon/misc.[ch], daemon/gdm.c: new functions
      	  for ingoring or reseting to DFL of signals using sigaction.
      	  In the main daemon ignore SIGPIPE and SIGUSR1, in the slave
      	  ignore SIGPIPE and SIGUSR1 and set the mask before the setjmp.
      	  also we just unmask some signals now instead of masking
      	  everything.
      
      	* daemon/slave.c: accept DISPLAY_GREETERFAILED from a greeter
      
      	* gui/gdmlogin.c, gui/greeter/greeter.c: return DISPLAY_GREETERFAILED
      	  on bad failures.
      d09895cc
    • Jiri (George) Lebl's avatar
      fix C99/C++ism that gcc no longer warns about, anywhere declarations C++ · 8743c666
      Jiri (George) Lebl authored
      Fri Jul 25 17:46:11 2003  George Lebl <jirka@5z.com>
      
      	* daemon/slave.c: fix C99/C++ism that gcc no longer warns about,
      	  anywhere declarations C++ style
      
      	* daemon/gdm.c: when reading with %02x use unsigned int
      
      	* daemon/gdm-net.[ch]: the connection close_notify should be of
      	  type GDestroyNotify
      8743c666
    • George Lebl's avatar
      Added legal.xml which we were referencing. Well at least the tarballs · 5774d008
      George Lebl authored
      were working
      -George
      5774d008
    • Jiri (George) Lebl's avatar
      apparently pam can is on crack and so the best and apparently most · 1a833d5d
      Jiri (George) Lebl authored
      Fri Jul 25 17:09:52 2003  George Lebl <jirka@5z.com>
      
      	* daemon/verify-pam.c: apparently pam can is on crack and so the
      	  best and apparently most portable way of handling the face browser
      	  is by reseting the pam handle after a user has been selected.
      	  This works just as well and we dump any possibly dangerous
      	  state from the pam handle's previous invocation of
      	  pam_authenticate
      1a833d5d
  4. 25 Jul, 2003 6 commits
    • Jiri (George) Lebl's avatar
      Fix updating the gdm_main_pid, which fixes gdm_fail that is done after · f9ccdb5f
      Jiri (George) Lebl authored
      
      Fri Jul 25 16:31:24 2003  George Lebl <jirka@5z.com>
      
      	* daemon/gdm.c:  Fix updating the gdm_main_pid, which fixes gdm_fail
      	  that is done after daemonification.
      
      	* daemon/gdm.c, daemon/misc.c, daemon/verify-pam.c: Fix debian bug
      	  194613 by adding an option --no-console which ignores the [servers]
      	  section.  An empty [servers] section implies --no-console.  In this
      	  mode the console will not be used (so no opening of text dialogs on
      	  virtual terminals which just screws up XDMCP only headless servers)
      
      	* daemon/slave.c: always send XPID after server_stop unless of course
      	  we're just about to exit
      
      	* docs/C/gdm.xml: add documentation of command line options
      f9ccdb5f
    • Jiri (George) Lebl's avatar
      if child crashed (died of a signal) then log the signal if debug is on · ae0953b5
      Jiri (George) Lebl authored
      Fri Jul 25 13:06:49 2003  George Lebl <jirka@5z.com>
      
      	* daemon/display.c, daemon/gdm.c: if child crashed (died of a signal)
      	  then log the signal if debug is on
      
      	* daemon/gdm.h, daemon/server.c, daemon/slave.[ch]:  The X server
      	  quite apparently emits a USR1 on reinit so catch that (apparently
      	  I was not seeing this before as USR1 seems to have been blocked
      	  during the fun times.)
      
      	* demon/server.c: on exit from an XDMCP display whack all clients
      	  to support broken X terminals
      
      	* daemon/slave.c: whack the \n's from some of the GUI messages as
      	  that's not needed anymore with gtk2 and in fact sometimes
      	  can look like crap.
      
      	* daemon/slave.c: run session_stop before the 10 second session
      	  warning and don't run the warning if the server is dead
      
      	* daemon/veriy-pam.c: don't return uninit value if we don't
      	  open session or delete secred, return PAM_SUCCESS
      
      	* daemon/gdmthemetester: add -terminate to command line so that
      	  I don't keep getting thousands of Xnest windows on my screen
      ae0953b5
    • Christian Neumair's avatar
      Updated German translation. · 30f9f785
      Christian Neumair authored
      30f9f785
    • Jiri (George) Lebl's avatar
      whack unneeded block pushes, when killing child rekill if we get a · 45df58b2
      Jiri (George) Lebl authored
      Fri Jul 25 03:32:48 2003  George Lebl <jirka@5z.com>
      
      	* daemon/display.c: whack unneeded block pushes, when killing child
      	  rekill if we get a SIGTERM, if the slave crashes during unmanage
      	  kill its children.
      
      	* daemon/gdm.c, daemon/slave.c: use sched_yield at the right places
      	  where we expect the other process to do work.
      
      	* daemon/gdm.c, daemon/slave.c, daemon/server.c, daemon/misc.c:
      	  handle interrupts on writes/reads and use PIPE_BUF to limit
      	  size of buffer to send in run_pictures and fix a fd leak
      
      	* daemon/server.c: fix select call usage
      
      	* daemon/slave.c, daemon/server.c: reset the SIGUSR1 to SIG_IGN
      	  rather then to default to avoid a crash when the server sends
      	  SIGUSR1 on reinit
      
      	* daemon/slave.c: avoid XIOErrors when possible by properly closing
      	  the display on normal quick exits.  Also set session_started much
      	  later in the session_start as we don't really need it until
      	  quite a bit later
      
      	* daemon/verify-pam.c: have flags for did_setcred and opened_session
      	  so that we only delete credentials and close session if we have
      	  set credentials and opened session respectively
      
      	* gui/greeter/greeter_item_ulist.c: split the doubleclick message
      	  onto two lines as it's quite long and looks messy as one line.
      45df58b2
    • Artur Flinta's avatar
      Updated Polish translation. · bf622400
      Artur Flinta authored
      2003-07-25  Artur Flinta  <aflinta@cvs.gnome.org>
      
      	* pl.po: Updated Polish translation.
      bf622400
    • Jiri (George) Lebl's avatar
      fix build on systems without PIPE_BUF but with _PC_PIPE_BUF · 235f9c32
      Jiri (George) Lebl authored
      Thu Jul 24 17:40:09 2003  George Lebl <jirka@5z.com>
      
      	* gui/gdmgreeter.c: fix build on systems without PIPE_BUF
      	  but with _PC_PIPE_BUF
      235f9c32
  5. 24 Jul, 2003 5 commits
    • Jiri (George) Lebl's avatar
      update the version information on top · 542d6bad
      Jiri (George) Lebl authored
      Thu Jul 24 16:41:25 2003  George Lebl <jirka@5z.com>
      
      	* docs/C/gdm.xml: update the version information on top
      
      	* configure.in: bump version number
      542d6bad
    • Jiri (George) Lebl's avatar
      fixed comment so that it shows up for the translators · bbf187a1
      Jiri (George) Lebl authored
      Thu Jul 24 16:40:07 2003  George Lebl <jirka@5z.com>
      
      	* gui/gdmlogin.c, gui/greeter/greeter.c: fixed comment so that it
      	  shows up for the translators
      
      	* docs/C/gdm.xml: fixed the art.gnome.org link added a link to the
      	  GDM website, ran through a spellchecker, whacked the last vestiges
      	  of iconification feature mentions and added MinimalUID mention
      	  next to Exclude in the overview.
      
      	* README: update a bit
      bbf187a1
    • Jiri (George) Lebl's avatar
      change some g_strconcat's to g_build_filename's to address #118040. still · 405013a3
      Jiri (George) Lebl authored
      
      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
      405013a3
    • Kostas Papadimas's avatar
      Updated the Greek translation · 38ad2d1c
      Kostas Papadimas authored
      38ad2d1c
    • Dafydd Harries's avatar
      Updated Welsh translation. · 69ac6f07
      Dafydd Harries authored
      69ac6f07
  6. 23 Jul, 2003 5 commits
    • Jiri (George) Lebl's avatar
      Release 2.4.2.98 · 0bc45d76
      Jiri (George) Lebl authored
      
      Wed Jul 23 15:13:33 2003  George Lebl <jirka@5z.com>
      
      	* Release 2.4.2.98
      
      	* docs/Makefile.am: fix for distcheck
      0bc45d76
    • Jiri (George) Lebl's avatar
      whack some debug messages · 92790530
      Jiri (George) Lebl authored
      
      Wed Jul 23 14:29:53 2003  George Lebl <jirka@5z.com>
      
      	* gui/greeter/greeter.c: whack some debug messages
      
      	* daemon/display.c, daemon/gdm.[ch], daemon/slave.c: open a pipe
      	  for the internal message connection rather then using the fifo.
      	  Use the fifo only as backup.  This way we 1) reduce damage gdm
      	  user can cause 2) make things faster, no need to open
      	  and close the fifo on disk 20 times for each login.
      
      	* daemon/gdm.c: add close notifies for the main connections and
      	  NULL the connection pointer when that happens
      
      	* daemon/display.c, daemon/slave.c, daemon/server.c,
      	  daemon/misc.[ch], daemon/errorgui.c: The close_all_descriptors
      	  now takes 2 exception arguments, since we need to keep 2 fd's
      	  open for slaves now.
      
      	* daemon/gdm-net.c: fix gdm_connection_open_fd (some copy/paste
      	  typos were present)
      
      	* daemon/slave.c: don't run session_stop unless we already ran
      	  session_start, and cleanup send_chosen_host to use gdm_slave_send,
      	  also wrap the xioerror in gdm_in_signal as it could be
      92790530
    • Jiri (George) Lebl's avatar
      raise the cache time of gethostbyaddr/name to 60 seconds and catch · c2377b30
      Jiri (George) Lebl authored
      Wed Jul 23 11:41:16 2003  George Lebl <jirka@5z.com>
      
      	* daemon/misc.c: raise the cache time of gethostbyaddr/name to 60 seconds
      	  and catch TERM/HUP/INT signals during this time and whack the host
      	  resolution when we catch these.  This way it is possible to SIGTERM
      	  the gdm daemon during a hanging resolution call.  Fixes issues from
      	  #109331
      c2377b30
    • Christian Neumair's avatar
      Updated German translation. · b80cc121
      Christian Neumair authored
      b80cc121
    • Jiri (George) Lebl's avatar
      use pause() instead of select with all zero arguments. Also fix select · 0c82c7fe
      Jiri (George) Lebl authored
      Tue Jul 22 18:15:51 2003  George Lebl <jirka@5z.com>
      
      	* daemon/slave.c: use pause() instead of select with all
      	  zero arguments.  Also fix select usage in loop in
      	  slave_waitpid
      
      	* daemon/gdm.[ch], daemon/slave.c, gui/gdmlogin.c
      	  gui/greeter/greeter.c, gui/greeter/greeter_configuration.h,
      	  gui/greeter/greeter_item_pam.c, gui/greeter/greeter_session.[ch]:
      	  Remove the commented out gnome session chooser stuff
      
      	* gui/gdmlogin.c, gui/greeter/greeter_item_pam.c,
      	  gui/greeter/greeter_item_timed.[ch],
      	  gui/greeter/greeter_session.c:  Fix running timed login
      	  on empty enter.
      0c82c7fe
  7. 22 Jul, 2003 8 commits
    • Jiri (George) Lebl's avatar
      set justification according to the anchor. If the anchor centers the text, · 70a93333
      Jiri (George) Lebl authored
      
      Tue Jul 22 15:05:41 2003  George Lebl <jirka@5z.com>
      
      	* gui/greeter/greeter_canvas_item.c: set justification according to
      	  the anchor.  If the anchor centers the text, center it, etc...
      70a93333
    • Jiri (George) Lebl's avatar
      Set XAUTHORITY to GDM_AUTHFILE always for root processes. Also make sure · e0e338c6
      Jiri (George) Lebl authored
      Tue Jul 22 14:31:25 2003  George Lebl <jirka@5z.com>
      
      	* daemon/auth.c, daemon/slave.c, daemon/server.c:
      	  Set XAUTHORITY to GDM_AUTHFILE always for root processes.
      	  Also make sure not to set it if it's NULL already.
      
      	* daemon/auth.[ch], daemon/slave.c, daemon/server.c: use
      	  XSetAuthority instead of XAUTHORITY env var as that is
      	  more failsafe
      
      	* daemon/errorgui.c: set the DISPLAY and use XSetAuthority
      	  instead of relying on XAUTHORITY/DISPLAY being set right
      	  (which they not always are).  Also cleanup the dialog
      	  startup a bit.
      
      	* daemon/slave.c, daemon/errorgui.c: chmod the authfile
      	  to 640 before a session and back to 644 afterwards.  This
      	  reduces the risk from gdm user breakage.  In case someone
      	  breaks the gdm user they can't connect to existing
      	  user sessions, only new ones.
      
      	* daemon/misc.h, daemon/server.c, daemon/slave.c: redo the
      	  reinit stuff.  Don't close the display before we reinit
      	  and then do a nice setjmp hack to notice when the server
      	  got reinited.  This avoids races, avoids an extra process
      	  for figuring out the reinit and as icing on the cake it
      	  is also about 4-5 seconds faster to reinit not (and the
      	  server is reinited just once instead of thrice which
      	  might have been causing some X server whackiness)
      
      	* daemon/server.c: be careful in the log directory as well
      	  when opening files and do safer moves there as well
      	  for the rotation.
      
      	* daemon/slave.c: whack the stupid extra XOpenDisplay,
      	  this is apparently only a workaround for some whacky
      	  streams X server connection which we don't support.
      	  And this takes up quite a bit of time on startup
      	  it turns out.  Also related we'll set the cursor
      	  to pointer before we fork so that we don't need to
      	  do yet another XOpenDisplay.  This speeds up startup
      	  yet some more.
      
      	* daemon/slave.c: when reading the session .desktop file
      	  _get it rather then _new it so that we do less reading/parsing
      	  on session startup.
      
      	* daemon/slave.c: some cleanup of session ends
      e0e338c6
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 0b5502a6
      Duarte Loreto authored
      2003-07-22  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      0b5502a6
    • Kang Jeong-Hee's avatar
      ko.po updated · 53507abd
      Kang Jeong-Hee authored
      53507abd
    • Danilo Šegan's avatar
      Updated Serbian translation by Serbian team (Prevod.org). · 97f07db0
      Danilo Šegan authored
      2003-07-22  Danilo Šegan  <dsegan@gmx.net>
      
      	* sr.po, sr@Latn.po: Updated Serbian translation by Serbian team
      	(Prevod.org).
      97f07db0
    • Christian Neumair's avatar
      Updated German translation. · 5e9b32ec
      Christian Neumair authored
      5e9b32ec
    • Vincent van Adrighem's avatar
      Dutch translation updated. · b3074d1a
      Vincent van Adrighem authored
      2003-07-22  Vincent van Adrighem  <V.vanAdrighem@dirck.mine.nu>
      
      	* nl.po: Dutch translation updated.
      b3074d1a
    • Miloslav Trmac's avatar
      Update Czech translation · 97a3fdb2
      Miloslav Trmac authored
      97a3fdb2
  8. 21 Jul, 2003 3 commits