1. 07 Nov, 2015 1 commit
    • Ray Strode's avatar
      Xsession: get rid of "custom" session · 0bb8a777
      Ray Strode authored
      custom is a magic name we used to allow
      for having the user decide their session by
      a ~/.xsession file.  We no longer support that
      construct and haven't for many years. Instead,
      users who want that functionality can just add
      a xsession file to accomplish it.
      
      This commit just removes some left over cruft that
      never got cleaned up.
      0bb8a777
  2. 16 Dec, 2013 1 commit
  3. 19 Oct, 2011 1 commit
  4. 12 Aug, 2010 1 commit
  5. 12 Jan, 2010 1 commit
  6. 17 Jul, 2009 1 commit
    • Martin Pitt's avatar
      Don't invoke cpp with xrdb · 22590328
      Martin Pitt authored
      In order to improve startup speed, call xrdb with -nocpp.  cpp
      is a pretty heavy beast, and the number of users which have
      preprocessor directives in their ~/.Xresources is probably a
      single digit (as is the number of users who still use
      ~/.Xresources with GNOME in the first place).
      22590328
  7. 11 Feb, 2009 1 commit
    • Brian Cameron's avatar
      config/Makefile.am, config/Xsession.common, config/Xsession.in Backout · 5f18cc07
      Brian Cameron authored
      2009-02-11 Brian Cameron <brian.cameron@sun.com>
      
              * config/Makefile.am, config/Xsession.common, config/Xsession.in
                Backout change for bug #509141.  This is no longer needed on
                Solaris since the code was reworked to make use of more
                general /etc/X11/xinit/xinitrc.d scripts.  Better to keep distro
                specific code out of the upstream GDM.  Fixes bug #571319.  Patch by
                Takao Fujiwara <Takao.Fujiwara@sun.com>.
              * config/Xsession.solaris, config/Xsession.common: Removed.
      
      svn path=/trunk/; revision=6696
      5f18cc07
  8. 21 Aug, 2008 1 commit
    • Brian Cameron's avatar
      Simplify the Solaris OS checks. Make it easy to insert Distribution · 56dc1e79
      Brian Cameron authored
      2008-08-20  Brian Cameron  <brian.cameron@sun.com>
      
              * configure.ac: Simplify the Solaris OS checks.
              * data/Makefile.am, data/Xsession.in: Make it easy to insert
                Distribution specific scripting into the Xsession script.
              * data/Xsession.common, data/Xsession.solaris: Provide Solaris
                and default script.  Patch by Takao Fujiwara <Takao.Fujiwara@sun.com>
                and Brian Cameron <Brian.Cameron@sun.com>.  Fixes bugs #509141
                and #547549.
      
      svn path=/trunk/; revision=6400
      56dc1e79
  9. 01 Nov, 2007 1 commit
    • William Jon McCann's avatar
      Move stuff from config to data. · c478401c
      William Jon McCann authored
      2007-11-01  William Jon McCann  <mccann@jhu.edu>
      
      	* config/Init.in:
      	* config/Makefile.am:
      	* config/PostLogin:
      	* config/PostSession.in:
      	* config/PreSession.in:
      	* config/Xsession.in:
      	* config/gdm:
      	* config/gdm-autologin:
      	* config/gdm.conf-custom.in:
      	* configure.ac:
      	* data/Makefile.am:
      	Move stuff from config to data.
      
      
      svn path=/trunk/; revision=5483
      c478401c
  10. 20 Mar, 2007 2 commits
    • Brian Cameron's avatar
      Normalize all LC_* settings to LANG and starts input methods (IIIM->XIM) · 11e3bf5d
      Brian Cameron authored
      2006-03-20  Brian Cameron  <brian.cameron@sun.com>
      
              * config/Xsession.in, daemon/gdm.c, daemon/slave.c,
                gui/gdmlanguages.c:  Normalize all LC_* settings to LANG and
                starts input methods (IIIM->XIM) and starts up XIM if available.
                Avoid calling setlocale() in gdmlanguages and sets locale in
                the daemon instead.  Fixes bug #412997.  Patches originally
                written by Hidetoshi Tajima <Hidetoshi.Tajima@sun.com> aside
                from the gui/gdmlanguages.c modification by Chookij Vanatham
                <Chookij.Vanatham@sun.com>.
      
      svn path=/trunk/; revision=4687
      11e3bf5d
    • Brian Cameron's avatar
      Call xrdb -merge /etc/X11/Xresources in the Init script so that the GDM · 6dd3ece7
      Brian Cameron authored
      2006-03-20  Brian Cameron  <brian.cameron@sun.com>
      
              * config/Init.in: Call xrdb -merge /etc/X11/Xresources in the Init
                script so that the GDM GUI is properly configured with xft
                resources.
              * config/Xsession.in: Minor cleanup.
      
      svn path=/trunk/; revision=4686
      6dd3ece7
  11. 28 Nov, 2006 3 commits
  12. 29 Mar, 2006 1 commit
  13. 28 Mar, 2006 1 commit
    • Julio M. Merino Vidal's avatar
      Removed a C99 local variable definition that breaks the build with gcc · 7ad2d48f
      Julio M. Merino Vidal authored
      006-03-28  Julio M. Merino Vidal  <jmmv@NetBSD.org>
      
              * daemon/xdmcp.c: Removed a C99 local variable definition that
                breaks the build with gcc 2.95 (e.g. under NetBSD 1.6).  Fixes
                bug #336368.
      
      2006-03-28  Julio M. Merino Vidal  <jmmv@NetBSD.org>
      
              * daemon/gdmconfig.c, daemon/server.c: Include sys/resource.h,
                needed to use setpriority(2) and its associated definitions.
                Fixes the build under NetBSD, closing bug #336369.
      
      2006-03-28  Julio M. Merino Vidal  <jmmv@NetBSD.org>
      
              * Makefile.am, README.install, acconfig.h, configure.ac,
                gdmsetup-security.in, config/Makefile.am, config/Xsession.in,
                config/gdm.conf.in, daemon/Makefile.am, daemon/gdm.c, daemon/gdm.h,
                daemon/gdm.in, daemon/gdmconfig.c, daemon/misc.c, daemon/server.c,
                daemon/slave.c, docs/C/gdm.xml, gui/Makefile.am, gui/gdmphotosetup.c,
                gui/gdmsetup.c, gui/gdmsetup.desktop.in, gui/greeter/Makefile.am,
                gui/greeter/gdmthemetester.in, gui/greeter/greeter.c,
                gui/modules/Makefile.am: Get rid of all EXPANDED_* variables from
                the build procedure.  Directory-related variables must only be
                expanded from the Makefiles so that they can be easily overriden
                during the installation phase.  Fixes bug #336364.
      7ad2d48f
  14. 15 Feb, 2006 2 commits
  15. 13 Feb, 2006 1 commit
  16. 19 Jul, 2005 1 commit
    • Tommi Vainikainen's avatar
      Cleanup terminology, and fix many strings. See bug #310453. Also fixes bug · 4bd89e59
      Tommi Vainikainen authored
      2005-07-19  Tommi Vainikainen  <thv@iki.fi>
      
      	* config/XKeepsCrashing, config/Xsession.in, daemon/display.c,
      	daemon/gdm.c, daemon/slave.c, docs/C/gdm.xml,
      	gui/gdmXnestchooser.c, gui/gdmchooser.c, gui/gdmcomm.c,
      	gui/gdmlogin.c, gui/gdmphotosetup.c, gui/gdmsetup.c,
      	gui/gdmsetup.glade, gui/greeter/greeter.c,
      	gui/greeter/greeter_session.c, gui/greeter/greeter_system.c:
      	Cleanup terminology, and fix many strings. See bug #310453.
      	Also fixes bug #308287. List of the most important string changes:
      	machine -> computer
      	program -> application or command
      	superuser -> root
      	gdm, Gdm -> GDM
      	See the Language chapter in GNOME HIG for more information.
      4bd89e59
  17. 25 May, 2005 1 commit
    • Brian Cameron's avatar
      Now allow xevie to be turned on for server-Standard. This is for better · c0aa384a
      Brian Cameron authored
      2005-05-25  Brian Cameron  <brian.cameron@sun.com>
      
              * acconfig.h, configure.in, config/gdm.conf.in,
                config/Xsession.in, README.install: Now allow xevie to
                be turned on for server-Standard.  This is for better
                a11y support.  Now use /bin/ksh for Xsession shell if
                on Solaris instead of /bin/sh.  This is needed to
                support Solaris users who are using ksh or bash as
                their $HOME shell.
      c0aa384a
  18. 03 Feb, 2005 1 commit
  19. 02 Aug, 2004 1 commit
  20. 28 May, 2004 1 commit
    • Jiri (George) Lebl's avatar
      Don't use which but our own private shell version since solaris which is · 15e1d4cb
      Jiri (George) Lebl authored
      
      Fri May 28 12:53:42 2004  George Lebl <jirka@5z.com>
      
      	* config/XKeepsCrashing, config/PreSession.in,
      	  config/PostSession.in, config/Xsession.in, config/Default.in:
      	  Don't use which but our own private shell version since solaris
      	  which is broken when there is no TTY.  Fixes #133245, partly
      	  based on a patch by Brian Cameron
      15e1d4cb
  21. 29 Sep, 2003 1 commit
    • Jiri (George) Lebl's avatar
      Be more careful with shell stuff and quote whatever we can, should fix rh · 4a1f1b22
      Jiri (George) Lebl authored
      
      Mon Sep 29 14:32:18 2003  George Lebl <jirka@5z.com>
      
      	* config/PreSession.in, config/PostSession.in, config/XKeepsCrashing,
      	  config/Xsession.in:  Be more careful with shell stuff and quote
      	  whatever we can, should fix rh #105858.
      
      	* daemon/misc.c, config/XKeepsCrashing: Don't use gdialog as it's
      	  nowdays just a wrapper on zenity
      4a1f1b22
  22. 18 Aug, 2003 1 commit
    • Jiri (George) Lebl's avatar
      To prevent a possible DoS attack where an app might spit out too many · e16ac247
      Jiri (George) Lebl authored
      
      Mon Aug 18 11:02:38 2003  George Lebl <jirka@5z.com>
      
      	* daemon/slave.c, daemon/gdm.h, daemon/server.c, daemon/xdmcp.c:
      	  To prevent a possible DoS attack where an app might spit out
      	  too many warnings on stdout/stderr and thus fill up the users
      	  home dir (or when an app is buggy), the output of the session
      	  no longer goes directly into .xsession-errors but in fact
      	  through an internal pipe.  This way we can just cap the file
      	  at some size (currently 80*2500 bytes, which should be long
      	  enough for actual use in debugging but it's short enough to
      	  prevent a DoS attack)
      
      	* docs/C/gdm.xml: note about the above
      
      	* daemon/cookie.c: skip the first 16megs of /dev/mem only on
      	  i386
      
      	* daemon/xdmcp.c, daemon/gdm.[ch], daemon/server.c, daemon/slave.c,
      	  daemon/cookie.c: some cleanup with the IGNORE_EINTR macro
      e16ac247
  23. 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
  24. 21 Jul, 2003 1 commit
    • Jiri (George) Lebl's avatar
      eek, it's /dev/null, not dev/null · 14b750ef
      Jiri (George) Lebl authored
      
      Mon Jul 21 12:24:01 2003  George Lebl <jirka@5z.com>
      
      	* config/Xsession.in: eek, it's /dev/null, not dev/null
      
      	* daemon/misc.[ch], daemon/gdm.c, daemon/slave.c:
      	  Fix #117527, get the root user name from the passwd info
      	  rather then assuming it's "root".
      
      	* configure.in: fix #117895, when --with-xinerama=no, don't
      	  do the xinerama checks and just don't use xinerama
      
      	* daemon/slave.c:  Fix counting bugs in gdm_in_signal to
      	  fix hangs
      
      	* daemon/slave.c: Fix the waiting for notify when
      	  inside the usr2 signal handler.
      
      	* daemon/gdm.c, daemon/slave.c: Redo the waitpid mess and
      	  just use a pipe and select kind of stuff.  Also remove
      	  the greeter restarts from within signal handlers as we
      	  can just do it now by popping out of the select and doing
      	  it there.  This fixes a bunch of races and hangs related
      	  to doing too many things from signal handlers.  Also
      	  don't do waitpid from the main daemon for slaves children
      	  as it won't work anyway and kill the entire process groups.
      
      	* daemon/slave.c: fix the waiting code in focus_first_x_window
      
      	* gui/gdmlogin.c: fix the clock sensitivity issues by twiddling
      	  the sensitive flags on the clock menuitem directly.  Should
      	  fix theme ugliness issues with the clock.
      
      	* config/Xsession.in: Apply patch from Steve Chaplin
      	  <stevech1097@yahoo.com.au> to fix #117898 to add $0
      	  to all the echo messages in this file to make debugging
      	  easier.
      14b750ef
  25. 19 Jul, 2003 1 commit
    • Jiri (George) Lebl's avatar
      update the documentation a lot and install the docs. Yay! We have actual · 19e695b9
      Jiri (George) Lebl authored
      
      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.
      19e695b9
  26. 10 Jun, 2003 3 commits
    • Jiri (George) Lebl's avatar
      Change the argument to the Xsession to be the Exec= line of the .desktop · c14a6887
      Jiri (George) Lebl authored
      Tue Jun 10 15:57:39 2003  George Lebl <jirka@5z.com>
      
      	* daemon/slave.c, config/Xsession.in: Change the argument to the
      	  Xsession to be the Exec= line of the .desktop and not the .desktop,
      	  that was kind of silly in retrospect.  We still pass the desktop,
      	  but it's kind of secret since I don't want people to depend on this
      	  second argument.  Also update the comments inside the Xsession
      	  to reflect what's really going on.
      c14a6887
    • Jiri (George) Lebl's avatar
      Apparently I can't read. The original discussion actually mentioned what I · 53266a3f
      Jiri (George) Lebl authored
      Tue Jun 10 09:23:16 2003  George Lebl <jirka@5z.com>
      
      	* config/Default.desktop.in, config/Xsession.in, config/Makefile.am:
      	  Apparently I can't read.  The original discussion actually
      	  mentioned what I thought "Xclients" are and named it "default".
      	  Also there is the "custom" type, but there is no .desktop for that
      
      	* daemon/slave.c: actually compile
      53266a3f
    • Jiri (George) Lebl's avatar
      use $HOME/.face by default · 360ab4ae
      Jiri (George) Lebl authored
      Mon Jun 09 17:01:27 2003  George Lebl <jirka@5z.com>
      
      	* daemon/slave.c, gui/gdmphotosetup.c: use $HOME/.face by default
      
      	* daemon/slave.c: when no home dir, try /tmp as the home and not /
      
      	* config/*, daemon/gdm.[ch], gui/gdmlogin.c,
      	  gui/greeter/greeter.c, gui/greeter/greeter_action_language.c,
      	  gui/greeter/greeter_configuration.h,
      	  gui/greeter/greeter_session.[ch]:  Rework the session setup as
      	  discussed with Oswald Buddenhagen, the kdm maintainer.   Now the
      	  sessions are .desktop files and we have one happy Xsession file
      	  which parses that .desktop file and runs the appropriate command.
      	  Also store preferences such as last session and language in .dmrc.
      	  The session desktops are now in /etc/X11/dm/Sessions since they can
      	  be shared by kdm as well in the future.  The setup needs a bit
      	  more tuning I think and it's not all tested.
      360ab4ae
  27. 07 Aug, 2002 1 commit
    • Jiri (George) Lebl's avatar
      overwrite gnomerc and create .orig as with the other scripts · d6d92a4e
      Jiri (George) Lebl authored
      Wed Aug 07 14:10:57 2002  George Lebl <jirka@5z.com>
      
      	* config/Makefile.am: overwrite gnomerc and create .orig as with the
      	  other scripts
      
      	* daemon/slave.c: don't set GDM_LANG unless the user actually
      	  selected something.  This should make things nicer on system
      	  langauge sensing things.
      
      	* config/Gnome.in, config/Xsession.in: normalize langauge stuff in
      	  case the user selected a language.  whack LC_ALL, LANGUAGE and
      	  LINGUAS if they differ from GDM_LANG if this was set (if not
      	  using 'System default' language setting).  Should fix #89970
      d6d92a4e
  28. 05 Aug, 2002 1 commit
  29. 23 Jul, 2002 2 commits
    • Jiri (George) Lebl's avatar
      prefer the gnome-session in PATH, fix some startup stuff add · 721347ac
      Jiri (George) Lebl authored
      Tue Jul 23 11:20:56 2002  George Lebl <jirka@5z.com>
      
      	* config/gnomerc.in, config/Makefile.am, config/Xsesssion.in,
      	  config/Gnome.in:  prefer the gnome-session in PATH, fix some
      	  startup stuff add gnome-volume-control init to gnomerc,
      	  whack the redhat specific setup, and copy parts of the redhat's
      	  Xsession file to our own and if switchdesk is installed make
      	  Xsession the default, so now all the good stuff happens on
      	  redhat even if you leave the default session.  And this Xsession
      	  file should work on other systems just as well.
      
      	* config/gdm.conf.in, config/PreSession, daemon/gdm.h:  My gf doesn't
      	  like those ugly green backgrounds so change the color to what
      	  ximian uses as I kind of like that, (and did I mention that
      	  this way it's not green?).  Also set the background in PreSession
      	  so that you get it for all sessions as default.
      
      	* daemon/gdm.c: fix error handling of bad reboot/suspend/halt,
      	  add chdir ("/") from the hpux ximain patches, in the signal_notify
      	  add a main loop wakeup function which may fix some issues possibly
      	  the freebsd issues and should make this work on hpux just like the
      	  complicated and mostly weird ximian patch.
      721347ac
    • Jiri (George) Lebl's avatar
      read the xdm Xresources file as well since that's where it is in rh · a2dfd16f
      Jiri (George) Lebl authored
      Tue Jul 23 07:47:11 2002  George Lebl <jirka@5z.com>
      
      	* config/Gnome.in, config/Xsession: read the xdm Xresources file as
      	  well since that's where it is in rh nowdays as it seems.
      a2dfd16f
  30. 21 May, 2002 1 commit
    • Jiri (George) Lebl's avatar
      check for setresuid · 7bef5408
      Jiri (George) Lebl authored
      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
      7bef5408
  31. 28 Jun, 2001 1 commit
    • Jiri (George) Lebl's avatar
      use /bin/sh and not /bin/bash · 3171e6a3
      Jiri (George) Lebl authored
      Thu Jun 28 13:44:40 2001  George Lebl <jirka@5z.com>
      
      	* config/Gnome.in, config/Xsession.in: use /bin/sh and not /bin/bash
      
      	* gui/gdmconfig.c: fix crash when reading long session files
      
      	* daemon/slave.c: s/editting/editing/
      3171e6a3
  32. 12 May, 2001 1 commit
  33. 06 May, 2001 1 commit