summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/.cvsignore19
-rwxr-xr-xconfig/CDE.desktop.in8
-rw-r--r--config/Init.in83
-rw-r--r--config/Makefile.am261
-rwxr-xr-xconfig/PostLogin8
-rwxr-xr-xconfig/PostSession.in27
-rwxr-xr-xconfig/PreSession.in84
-rwxr-xr-xconfig/XKeepsCrashing194
-rwxr-xr-xconfig/Xsession.in251
-rw-r--r--config/default.desktop.in11
-rwxr-xr-xconfig/extract-shell.sh6
-rw-r--r--config/gdm8
-rw-r--r--config/gdm-autologin8
-rw-r--r--config/gdm.conf-custom.in80
-rw-r--r--config/gdm.conf.in680
-rw-r--r--config/gdmprefetchlist.in43
-rw-r--r--config/gettextfoo.h16
-rw-r--r--config/gnome.desktop.in.in9
-rw-r--r--config/locale.alias145
-rw-r--r--config/ssh.desktop.in.in6
20 files changed, 0 insertions, 1947 deletions
diff --git a/config/.cvsignore b/config/.cvsignore
deleted file mode 100644
index a60488ef..00000000
--- a/config/.cvsignore
+++ /dev/null
@@ -1,19 +0,0 @@
-libtool
-confdefs.h
-Makefile.in
-Gnome
-gdm.conf
-gnomerc
-Xsession
-Makefile
-PreSession
-PostSession
-Default
-gnome.desktop
-Default.desktop
-CDE.desktop
-default.desktop
-Init
-gdmprefetchlist
-ssh.desktop
-ssh.desktop.in
diff --git a/config/CDE.desktop.in b/config/CDE.desktop.in
deleted file mode 100755
index 87a58462..00000000
--- a/config/CDE.desktop.in
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-_Name=CDE
-_Comment=This session logs you into CDE
-Exec=/usr/dt/bin/Xsession
-# no icon yet, only the top three are currently used
-Icon=
-Type=Application
diff --git a/config/Init.in b/config/Init.in
deleted file mode 100644
index a1c10294..00000000
--- a/config/Init.in
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-# Stolen from the debian kdm setup, aren't I sneaky
-# Plus a lot of fun stuff added
-# -George
-
-PATH=@X_PATH@:$PATH
-OLD_IFS=$IFS
-
-gdmwhich () {
- COMMAND="$1"
- OUTPUT=
- IFS=:
- for dir in $PATH
- do
- if test -x "$dir/$COMMAND" ; then
- if test "x$OUTPUT" = "x" ; then
- OUTPUT="$dir/$COMMAND"
- fi
- fi
- done
- IFS=$OLD_IFS
- echo "$OUTPUT"
-}
-
-
-sysmodmap=/etc/X11/Xmodmap
-
-XMODMAP=`gdmwhich xmodmap`
-if [ x$XMODMAP != x ] ; then
- if [ x$GDM_PARENT_DISPLAY = x ]; then
- if [ -f $sysmodmap ]; then
- $XMODMAP $sysmodmap
- fi
- else
- ( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY $XMODMAP -pke ) | $XMODMAP -
- fi
-
- #
- # Switch Sun's Alt and Meta mod mappings
- #
-
- UNAME=`gdmwhich uname`
- PROCESSOR=`$UNAME -p`
- if [ x$PROCESSOR = xsparc ]; then
- if $XMODMAP | /usr/bin/grep mod4 | /usr/bin/grep Alt > /dev/null 2>/dev/null
- then
- $XMODMAP -e "clear Mod1" \
- -e "clear Mod4" \
- -e "add Mod1 = Alt_L" \
- -e "add Mod1 = Alt_R" \
- -e "add Mod4 = Meta_L" \
- -e "add Mod4 = Meta_R"
- fi
- fi
-fi
-
-SETXKBMAP=`gdmwhich setxkbmap`
-if [ x$SETXKBMAP != x ] ; then
- # FIXME: is this all right? Is this completely on crack?
- # What this does is move the xkb configuration from the GDM_PARENT_DISPLAY
- # FIXME: This should be done in code. Or there must be an easier way ...
- if [ -n "$GDM_PARENT_DISPLAY" ]; then
- XKBSETUP=`( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY $SETXKBMAP -v )`
- if [ -n "$XKBSETUP" ]; then
- XKBKEYMAP=`echo "$XKBSETUP" | grep '^keymap' | awk '{ print $2 }'`
- XKBTYPES=`echo "$XKBSETUP" | grep '^types' | awk '{ print $2 }'`
- XKBCOMPAT=`echo "$XKBSETUP" | grep '^compat' | awk '{ print $2 }'`
- XKBSYMBOLS=`echo "$XKBSETUP" | grep '^symbols' | awk '{ print $2 }'`
- XKBGEOMETRY=`echo "$XKBSETUP" | grep '^geometry' | awk '{ print $2 }'`
- if [ -n "$XKBKEYMAP" ]; then
- $SETXKBMAP -keymap "$XKBKEYMAP"
- elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" -a -n "$XKBGEOMETRY" ]; then
- $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS" -geometry "$XKBGEOMETRY"
- elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" ]; then
- $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS"
- elif [ -n "$XKBSYMBOLS" ]; then
- $SETXKBMAP -symbols "$XKBSYMBOLS"
- fi
- fi
- fi
-fi
-
-exit 0
diff --git a/config/Makefile.am b/config/Makefile.am
deleted file mode 100644
index 1833bc3e..00000000
--- a/config/Makefile.am
+++ /dev/null
@@ -1,261 +0,0 @@
-pixmapdir = $(datadir)/pixmaps
-confdir = $(gdmconfdir)
-gdmlocaledir = $(gdmconfdir)
-bisessdir = $(datadir)/gdm/BuiltInSessions
-instsessdir = $(datadir)/xsessions
-initdir = $(gdmconfdir)/Init
-authdir = $(localstatedir)/gdm
-logdir = $(localstatedir)/log/gdm
-gnomercdir = $(gdmconfdir)
-postdir = $(gdmconfdir)/PostSession
-predir = $(gdmconfdir)/PreSession
-postlogindir = $(gdmconfdir)/PostLogin
-
-noinst_DATA = gdm.conf
-
-DESKTOP_FILES = default.desktop CDE.desktop gnome.desktop @SSHDESKTOP@
-
-EXTRA_DIST = \
- gdm.conf.in \
- gdm.conf-custom.in \
- $(DESKTOP_FILES) \
- default.desktop.in \
- gnome.desktop.in.in \
- CDE.desktop.in \
- ssh.desktop.in.in \
- Xsession.in \
- gdm \
- gdm-autologin \
- locale.alias \
- Init.in \
- PreSession.in \
- PostSession.in \
- PostLogin \
- XKeepsCrashing \
- gettextfoo.h \
- gdmprefetchlist.in \
- extract-shell.sh
-
-CLEANFILES = Xsession gdm.conf gdm.conf-custom default.desktop gnome.desktop CDE.desktop ssh.desktop Init PreSession PostSession gdmprefetchlist
-
-Xsession: $(srcdir)/Xsession.in
- sed -e 's,[@]XSESSION_SHELL[@],$(XSESSION_SHELL),g' \
- -e 's,[@]libexecdir[@],$(libexecdir),g' \
- <$(srcdir)/Xsession.in >Xsession
-
-gdm.conf: $(srcdir)/gdm.conf.in
- sed -e 's,[@]GDMPREFETCHCMD[@],$(GDMPREFETCHCMD),g' \
- -e 's,[@]GDM_CUSTOM_CONF[@],$(GDM_CUSTOM_CONF),g' \
- -e 's,[@]GDM_USER_PATH[@],$(GDM_USER_PATH),g' \
- -e 's,[@]HALT_COMMAND[@],$(HALT_COMMAND),g' \
- -e 's,[@]REBOOT_COMMAND[@],$(REBOOT_COMMAND),g' \
- -e 's,[@]SOUND_PROGRAM[@],$(SOUND_PROGRAM),g' \
- -e 's,[@]SUSPEND_COMMAND[@],$(SUSPEND_COMMAND),g' \
- -e 's,[@]XEVIE_OPTION[@],$(XEVIE_OPTION),g' \
- -e 's,[@]X_CONFIG_OPTIONS[@],$(X_CONFIG_OPTIONS),g' \
- -e 's,[@]X_SERVER[@],$(X_SERVER),g' \
- -e 's,[@]X_XNEST_CONFIG_OPTIONS[@],$(X_XNEST_CONFIG_OPTIONS),g' \
- -e 's,[@]X_XNEST_PATH[@],$(X_XNEST_PATH),g' \
- -e 's,[@]authdir[@],$(authdir),g' \
- -e 's,[@]datadir[@],$(datadir),g' \
- -e 's,[@]dmconfdir[@],$(dmconfdir),g' \
- -e 's,[@]gdmconfdir[@],$(gdmconfdir),g' \
- -e 's,[@]libdir[@],$(libdir),g' \
- -e 's,[@]libexecdir[@],$(libexecdir),g' \
- -e 's,[@]gdmlocaledir[@],$(gdmlocaledir),g' \
- -e 's,[@]logdir[@],$(logdir),g' \
- -e 's,[@]pixmapdir[@],$(pixmapdir),g' \
- -e 's,[@]sbindir[@],$(sbindir),g' \
- <$(srcdir)/gdm.conf.in >gdm.conf
-
-gdm.conf-custom: $(srcdir)/gdm.conf-custom.in
- sed -e 's,[@]GDM_DEFAULTS_CONF[@],$(GDM_DEFAULTS_CONF),g' \
- <$(srcdir)/gdm.conf-custom.in >gdm.conf-custom
-
-gettextfoo.h: XKeepsCrashing Xsession.in
- cat $^ | $(srcdir)/extract-shell.sh > gettextfoo.h
-
-@INTLTOOL_DESKTOP_RULE@
-
-clean-local:
- rm -f $(DESKTOP_FILES)
-
-uninstall-hook:
- rm -f $(DESTDIR)$(bisessdir)/gnome.desktop \
- $(DESTDIR)$(bisessdir)/default.desktop \
- $(DESTDIR)$(bisessdir)/CDE.desktop \
- $(DESTDIR)$(instsessdir)/gnome.desktop \
- $(DESTDIR)$(instsessdir)/default.desktop \
- $(DESTDIR)$(instsessdir)/ssh.desktop \
- $(DESTDIR)$(instsessdir)/CDE.desktop \
- $(DESTDIR)$(GDM_DEFAULTS_CONF) \
- $(DESTDIR)$(GDM_CUSTOM_CONF) \
- `dirname $(DESTDIR)$(GDM_DEFAULTS_CONF)`/factory-`basename $(DESTDIR)$(GDM_DEFAULTS_CONF)` \
- $(DESTDIR)$(confdir)/XKeepsCrashing \
- $(DESTDIR)$(confdir)/Xsession \
- $(DESTDIR)$(confdir)/gdmprefetchlist \
- $(DESTDIR)$(gdmlocaledir)/locale.alias \
- $(DESTDIR)$(initdir)/Default \
- $(DESTDIR)$(postlogindir)/Default.sample \
- $(DESTDIR)$(predir)/Default \
- $(DESTDIR)$(postdir)/Default
-
-install-data-hook: gdm.conf gdm.conf-custom Xsession Init PostSession PreSession $(DESKTOP_FILES) $(GDMPREFETCHLIST)
- if test '!' -d $(DESTDIR)$(confdir); then \
- $(mkinstalldirs) $(DESTDIR)$(confdir); \
- chmod 755 $(DESTDIR)$(confdir); \
- fi
- if test '!' -d $(DESTDIR)$(dmconfdir); then \
- $(mkinstalldirs) $(DESTDIR)$(dmconfdir); \
- chmod 755 $(DESTDIR)$(dmconfdir); \
- fi
- if test '!' -d `dirname $(DESTDIR)$(GDM_DEFAULTS_CONF)`; then \
- $(mkinstalldirs) `dirname $(DESTDIR)$(GDM_DEFAULTS_CONF)`; \
- chmod 755 `dirname $(DESTDIR)$(GDM_DEFAULTS_CONF)`; \
- fi
- if test '!' -d `dirname $(DESTDIR)$(GDM_CUSTOM_CONF)`; then \
- $(mkinstalldirs) `dirname $(DESTDIR)$(GDM_CUSTOM_CONF)`; \
- chmod 755 `dirname $(DESTDIR)$(GDM_CUSTOM_CONF)`; \
- fi
- if test -f $(DESTDIR)$(confdir)/gdm.conf; then \
- if ! cmp -s $(DESTDIR)$(confdir)/gdm.conf $(DESTDIR)$(confdir)/factory-gdm.conf > /dev/null 2>&1 ; then \
- if test '!' -f $(DESTDIR)$(GDM_CUSTOM_CONF); then \
- mv -f $(DESTDIR)$(confdir)/gdm.conf $(DESTDIR)$(GDM_CUSTOM_CONF); \
- else \
- mv -f $(DESTDIR)$(confdir)/gdm.conf $(DESTDIR)$(GDM_DEFAULTS_CONF).org; \
- fi; \
- fi; \
- fi
- $(INSTALL_DATA) gdm.conf $(DESTDIR)$(GDM_DEFAULTS_CONF)
- chmod 444 $(DESTDIR)$(GDM_DEFAULTS_CONF)
- if test '!' -f $(DESTDIR)$(GDM_CUSTOM_CONF); then \
- $(INSTALL_DATA) gdm.conf-custom $(DESTDIR)$(GDM_CUSTOM_CONF); \
- chmod 644 $(DESTDIR)$(GDM_CUSTOM_CONF); \
- fi
- $(INSTALL_DATA) gdm.conf `dirname $(DESTDIR)$(GDM_DEFAULTS_CONF)`/factory-`basename $(DESTDIR)$(GDM_DEFAULTS_CONF)`
-
- $(INSTALL_SCRIPT) $(srcdir)/XKeepsCrashing $(DESTDIR)$(confdir)/XKeepsCrashing
- $(INSTALL_SCRIPT) Xsession $(DESTDIR)$(confdir)/Xsession
-
- -if test -f $(DESTDIR)$(gdmlocaledir)/locale.alias; then \
- cp -f $(DESTDIR)$(gdmlocaledir)/locale.alias $(DESTDIR)$(gdmlocaledir)/locale.alias.orig; \
- fi
- $(INSTALL_DATA) $(srcdir)/locale.alias $(DESTDIR)$(gdmlocaledir)/locale.alias
-
- if test '!' -d $(DESTDIR)$(bisessdir); then \
- $(mkinstalldirs) $(DESTDIR)$(bisessdir); \
- chmod 755 $(DESTDIR)$(bisessdir); \
- fi
-
- if test '!' -d $(DESTDIR)$(instsessdir); then \
- $(mkinstalldirs) $(DESTDIR)$(instsessdir); \
- chmod 755 $(DESTDIR)$(instsessdir); \
- fi
-
- -if test -f $(DESTDIR)$(bisessdir)/Default.desktop; then \
- mv -f $(DESTDIR)$(bisessdir)/Default.desktop $(DESTDIR)$(bisessdir)/Default.desktop.orig; \
- fi
- -if test -f $(DESTDIR)$(bisessdir)/default.desktop; then \
- cp -f $(DESTDIR)$(bisessdir)/default.desktop $(DESTDIR)$(bisessdir)/default.desktop.orig; \
- fi
- $(INSTALL_DATA) default.desktop $(DESTDIR)$(bisessdir)/default.desktop
- chmod 644 $(DESTDIR)$(bisessdir)/default.desktop
-
- -if test -f $(DESTDIR)$(bisessdir)/gnome.desktop; then \
- mv -f $(DESTDIR)$(bisessdir)/gnome.desktop $(DESTDIR)$(bisessdir)/gnome.desktop.orig; \
- fi
- -if test -f $(DESTDIR)$(instsessdir)/gnome.desktop; then \
- cp -f $(DESTDIR)$(instsessdir)/gnome.desktop $(DESTDIR)$(instsessdir)/gnome.desktop.orig; \
- fi
- $(INSTALL_DATA) gnome.desktop $(DESTDIR)$(instsessdir)/gnome.desktop
- chmod 644 $(DESTDIR)$(instsessdir)/gnome.desktop
-
- -if test -f /usr/dt/bin/Xsession; then \
- if test -f $(DESTDIR)$(bisessdir)/CDE.desktop; then \
- mv -f $(DESTDIR)$(bisessdir)/CDE.desktop $(DESTDIR)$(bisessdir)/CDE.desktop.orig; \
- fi; \
- if test -f $(DESTDIR)$(instsessdir)/CDE.desktop; then \
- cp -f $(DESTDIR)$(instsessdir)/CDE.desktop $(DESTDIR)$(instsessdir)/CDE.desktop.orig; \
- fi; \
- $(INSTALL_DATA) CDE.desktop $(DESTDIR)$(instsessdir)/CDE.desktop; \
- fi
-
- if test '!' -d $(DESTDIR)$(initdir); then \
- $(mkinstalldirs) $(DESTDIR)$(initdir); \
- chmod 755 $(DESTDIR)$(initdir); \
- fi
- -if test -f $(DESTDIR)$(initdir)/Default; then \
- cp -f $(DESTDIR)$(initdir)/Default $(DESTDIR)$(initdir)/Default.orig; \
- fi
- $(INSTALL_SCRIPT) Init $(DESTDIR)$(initdir)/Default
-
- if test '!' -d $(DESTDIR)$(postlogindir); then \
- $(mkinstalldirs) $(DESTDIR)$(postlogindir); \
- chmod 755 $(DESTDIR)$(postlogindir); \
- fi
- $(INSTALL_SCRIPT) $(srcdir)/PostLogin $(DESTDIR)$(postlogindir)/Default.sample
-
- if test '!' -d $(DESTDIR)$(predir); then \
- $(mkinstalldirs) $(DESTDIR)$(predir); \
- chmod 755 $(DESTDIR)$(predir); \
- fi
- -if test -f $(DESTDIR)$(predir)/Default; then \
- cp -f $(DESTDIR)$(predir)/Default $(DESTDIR)$(predir)/Default.orig; \
- fi
- $(INSTALL_SCRIPT) PreSession $(DESTDIR)$(predir)/Default
-
- if test '!' -d $(DESTDIR)$(postdir); then \
- $(mkinstalldirs) $(DESTDIR)$(postdir); \
- chmod 755 $(DESTDIR)$(postdir); \
- fi
- -if test -f $(DESTDIR)$(postdir)/Default; then \
- cp -f $(DESTDIR)$(postdir)/Default $(DESTDIR)$(postdir)/Default.orig; \
- fi
- $(INSTALL_SCRIPT) PostSession $(DESTDIR)$(postdir)/Default
-
- if test '!' -d $(DESTDIR)$(gnomercdir); then \
- $(mkinstalldirs) $(DESTDIR)$(gnomercdir); \
- chmod 755 $(DESTDIR)$(gnomercdir); \
- fi
-
- if test '!' -d $(DESTDIR)$(logdir); then \
- $(mkinstalldirs) $(DESTDIR)$(logdir); \
- chmod 755 $(DESTDIR)$(logdir); \
- chown root:root $(DESTDIR)$(logdir) || : ; \
- fi
-
- if test '!' -d $(DESTDIR)$(authdir); then \
- $(mkinstalldirs) $(DESTDIR)$(authdir); \
- chmod 1770 $(DESTDIR)$(authdir); \
- chown root:gdm $(DESTDIR)$(authdir) || : ; \
- fi
-
- system=`uname`; \
- if test -f /usr/include/security/pam_appl.h; then \
- if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
- $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
- chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
- fi; \
- if test $$system = Linux && test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm; then \
- $(INSTALL_DATA) gdm $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm; \
- fi; \
- if test $$system = Linux && test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm-autologin; then \
- $(INSTALL_DATA) gdm-autologin $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm-autologin; \
- fi; \
- if test $$system = SunOS; then \
- echo "Please add PAM authentication for gdm and gdm-autologin in $(PAM_PREFIX)/pam.conf!"; \
- fi; \
- fi
-
- if test "x$(GDMPREFETCHLIST)" != "x"; then \
- $(INSTALL_DATA) gdmprefetchlist $(DESTDIR)$(confdir)/gdmprefetchlist; \
- fi
-
- if test "x$(SSHDESKTOP)" != "x"; then \
- if test -f $(DESTDIR)$(instsessdir)/ssh.desktop; then \
- cp -f $(DESTDIR)$(instsessdir)/ssh.desktop $(DESTDIR)$(instsessdir)/ssh.desktop.orig; \
- fi; \
- $(INSTALL_SCRIPT) ssh.desktop $(DESTDIR)$(instsessdir)/ssh.desktop; \
- chmod 644 $(DESTDIR)$(instsessdir)/ssh.desktop; \
- fi
-
diff --git a/config/PostLogin b/config/PostLogin
deleted file mode 100755
index efc6394c..00000000
--- a/config/PostLogin
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-# Note: this is a sample and will not be run as is. Change the name of this
-# file to <gdmconfdir>/PostLogin/Default for this script to be run. This
-# script will be run before any setup is run on behalf of the user and is
-# useful if you for example need to do some setup to create a home directory
-# for the user or something like that. $HOME, $LOGIN and such will all be
-# set appropriately and this script is run as root.
diff --git a/config/PostSession.in b/config/PostSession.in
deleted file mode 100755
index ace52ecd..00000000
--- a/config/PostSession.in
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-PATH="@X_PATH@:$PATH:/bin:/usr/bin"
-OLD_IFS=$IFS
-
-gdmwhich () {
- COMMAND="$1"
- OUTPUT=
- IFS=:
- for dir in $PATH
- do
- if test -x "$dir/$COMMAND" ; then
- if test "x$OUTPUT" = "x" ; then
- OUTPUT="$dir/$COMMAND"
- fi
- fi
- done
- IFS=$OLD_IFS
- echo "$OUTPUT"
-}
-
-SESSREG=`gdmwhich sessreg`
-if [ "x$SESSREG" != "x" ] ; then
- "$SESSREG" -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l "$DISPLAY" "$USER"
-fi
-
-exit 0
diff --git a/config/PreSession.in b/config/PreSession.in
deleted file mode 100755
index 5ab7248a..00000000
--- a/config/PreSession.in
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-#
-# Note that any setup should come before the sessreg command as
-# that must be 'exec'ed for the pid to be correct (sessreg uses the parent
-# pid)
-#
-# Note that output goes into the .xsession-errors file for easy debugging
-#
-PATH="@X_PATH@:$PATH:/bin:/usr/bin"
-OLD_IFS=$IFS
-
-gdmwhich () {
- COMMAND="$1"
- OUTPUT=
- IFS=:
- for dir in $PATH
- do
- if test -x "$dir/$COMMAND" ; then
- if test "x$OUTPUT" = "x" ; then
- OUTPUT="$dir/$COMMAND"
- fi
- fi
- done
- IFS=$OLD_IFS
- echo "$OUTPUT"
-}
-
-# Set background color
-XSETROOT=`gdmwhich xsetroot`
-if [ "x$XSETROOT" != "x" ] ; then
-
- CHECKBACKCOLOR="OK"
- if [ "x$GDM_GREETER_TYPE" = "xTHEMED" ]; then
- BACKCOLOR=`gdmflexiserver --command="GET_CONFIG greeter/GraphicalThemedColor $DISPLAY"`
-
- CHECKBACKCOLOR=`echo $BACKCOLOR | sed 's/^\([^ ]*\) .*$/\1/'`
- if [ "x$CHECKBACKCOLOR" = "xOK" ]; then
- BACKCOLOR=`echo $BACKCOLOR | sed 's/^.* \(.*\)$/\1/'`
- else
- BACKCOLOR=""
- fi
- fi
-
- # If we tried to load the themed backgroundcolor, but failed, then try loading plain color
- if [ "x$CHECKBACKCOLOR" != "xOK" ] || [ "x$GDM_GREETER_TYPE" = "xPLAIN" ]; then
-
- # Background type can be 0=None, 1=Image & Color, 2=Color, or 3=Image
- BACKTYPE=`gdmflexiserver --command="GET_CONFIG greeter/BackgroundType $DISPLAY"`
-
- # Skip if background type does not include a color
- if [ "x$BACKTYPE" = "xOK 1" ] || [ "x$BACKTYPE" = "xOK 2" ]; then
- BACKCOLOR=`gdmflexiserver --command="GET_CONFIG greeter/BackgroundColor $DISPLAY"`
-
- CHECKBACKCOLOR=`echo $BACKCOLOR | sed 's/^\([^ ]*\) .*$/\1/'`
- if [ "x$CHECKBACKCOLOR" = "xOK" ]; then
- BACKCOLOR=`echo $BACKCOLOR | sed 's/^.* \(.*\)$/\1/'`
- else
- BACKCOLOR=""
- fi
- fi
- fi
-
- # Default value
- if [ "x$BACKCOLOR" = "x" ]; then
- BACKCOLOR="#76848F"
- fi
-
- "$XSETROOT" -cursor_name left_ptr -solid "$BACKCOLOR"
-fi
-
-
-SESSREG=`gdmwhich sessreg`
-if [ "x$SESSREG" != "x" ] ; then
- # some output for easy debugging
- echo "$0: Registering your session with wtmp and utmp"
- echo "$0: running: $SESSREG -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" -l \"$DISPLAY\" \"$USER\""
-
- exec "$SESSREG" -a -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l "$DISPLAY" "$USER"
- # this is not reached
-fi
-
-# some output for easy debugging
-echo "$0: could not find the sessreg utility, cannot update wtmp and utmp"
-exit 0
diff --git a/config/XKeepsCrashing b/config/XKeepsCrashing
deleted file mode 100755
index 5b7c4a88..00000000
--- a/config/XKeepsCrashing
+++ /dev/null
@@ -1,194 +0,0 @@
-#!/bin/sh
-
-if test "x$UNSAFE_TO_TRANSLATE" = "xyes" ; then
- LANG=C
- unset LC_ALL
- unset LC_MESSAGES
-fi
-
-if test -x "$LIBEXECDIR/gdmtranslate" ; then
- GDMTRANSLATE="$LIBEXECDIR/gdmtranslate"
-else
- GDMTRANSLATE=
-fi
-
-gettextfunc () {
- if test "x$GDMTRANSLATE" != "x" ; then
- "$GDMTRANSLATE" "$1"
- else
- echo "$1"
- fi
-}
-
-OLD_IFS=$IFS
-
-gdmwhich () {
- COMMAND="$1"
- OUTPUT=
- IFS=:
- for dir in $PATH
- do
- if test -x "$dir/$COMMAND" ; then
- if test "x$OUTPUT" = "x" ; then
- OUTPUT="$dir/$COMMAND"
- fi
- fi
- done
- IFS=$OLD_IFS
- echo "$OUTPUT"
-}
-
-MSG3=`gettextfunc "Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. You will need to log in on a console and reconfigure the X server. Then restart GDM."`
-MSG4=`gettextfunc "Would you like to try to configure the X server? Note that you will need the root password for this."`
-MSG5=`gettextfunc "Please type in the root (privileged user) password."`
-MSG6=`gettextfunc "Trying to restart the X server."`
-MSG7=`gettextfunc "The X server is now disabled. Restart GDM when it is configured correctly."`
-MSG8=`gettextfunc "Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?"`
-MSG9=`gettextfunc "Would you like to view the detailed X server output as well?"`
-
-# there are some env vars defined:
-# XLOG = the log file for the X server
-# BINDIR = location of gdm binaries
-# SBINDIR = location of gdm system binaries
-# LIBEXECDIR = location of gdm libexec binaries (gdmaskpass, gdmopen)
-
-# return values are
-# 0 = try again, runs this server again
-# 1 = abort this display, removes this server from the list
-# 32 = something went very wrong, things will just get logged.
-# this means this script didnt work so do alternative things
-# to tell the user if possible
-
-#
-# First see if we can find an X configuration program
-# (first one in the list will be used)
-#
-XCONFIGURATOR=
-for n in \
- /usr/bin/system-config-display \
- /usr/bin/redhat-config-xfree86 \
- /usr/sbin/XFdrake \
- /usr/bin/X11/XF86Setup \
- /usr/bin/X11/Xconfigurator \
- /usr/bin/X11/xf86cfg \
- ; do
- # standard shell test has no or and loops have no breaks, eek
- if test "x$XCONFIGURATOR" = "x" ; then
- if test -x "$n" ; then
- XCONFIGURATOR="$n"
- fi
- fi
-done
-
-#
-# Now we check for dialog and gdmaskpass
-#
-DIALOG=`gdmwhich dialog`
-if test "x$DIALOG" = "x" ; then
- DIALOG=`gdmwhich whiptail`
-fi
-if test -x "$LIBEXECDIR/gdmaskpass" ; then
- ASKPASS="$LIBEXECDIR/gdmaskpass"
-else
- ASKPASS=
-fi
-
-#
-# If this is a mouse problem try mouseconfig and modify some
-# messages
-#
-if grep '^\(Cannot open mouse\|No core pointer\)' "$XLOG" 2> /dev/null ; then
-
- MSG8=`gettextfunc "Failed to start the X server (your graphical interface). It seems that the pointer device (your mouse) is not set up correctly. Would you like to view the X server output to diagnose the problem?"`
-
- if test -x /usr/sbin/mouseconfig ; then
- XCONFIGURATOR=/usr/sbin/mouseconfig
- # Note: we know this is a mouse problem and yay we have mouseconfig
- MSG4=`gettextfunc "Would you like to try to configure the mouse? Note that you will need the root password for this."`
- fi
-
- if test -x /usr/bin/system-config-mouse ; then
- XCONFIGURATOR=/usr/bin/system-config-mouse
- # Note: we know this is a mouse problem and yay we have system-config-mouse
- MSG4=`gettextfunc "Would you like to try to configure the mouse? Note that you will need the root password for this."`
- fi
-
-fi
-
-# we require 'gdmopen', to open a console, because we really dont
-# have one. Perhaps someone should try to figure out some shell
-# black magic to get this to work on other then linux systems
-if test ! -x "$LIBEXECDIR/gdmopen" ; then
- exit 32
-fi
-
-# when we run ourselves from the open we will pass a -noopen argument
-if test "x$1" = "x-noopen" ; then
- shift
-else
- #
- # We do a lot of work wastefully over again, but oh well,
- # perhaps this needs fixing.
- #
- "$LIBEXECDIR/gdmopen" -l /bin/sh -c "$0 -noopen $@"
- exit $?
-fi
-
-clear
-
-# Note, dialog required, though this script could be fixed to not require it
-# I suppose
-if test "x" = "x$DIALOG" ; then
- echo =======================================================================
- echo
- cat "$XLOG"
- echo
- echo =======================================================================
- echo
- if test -x /usr/bin/fmt ; then
- echo "$MSG3" | /usr/bin/fmt
- else
- echo "$MSG3"
- fi
- echo
- echo =======================================================================
- read
- exit 1
-fi
-
-if "$DIALOG" --yesno "$MSG8" 10 50 ; then
- "$DIALOG" --textbox "$XLOG" 22 76
- # Support XFree86 v4 logfile thingie
- if grep '^(..) Log file: "' "$XLOG" 2> /dev/null ; then
- XLOG_DETAIL=`grep '^(..) Log file: "' "$XLOG" | sed 's/^[^"]*"\([^"]*\)".*$/\1/'`
- if "$DIALOG" --yesno "$MSG9" 10 50 ; then
- "$DIALOG" --textbox "$XLOG_DETAIL" 22 76
- fi
- fi
-fi
-
-if test "x$XCONFIGURATOR" = "x" ; then
- "$DIALOG" --msgbox "$MSG7" 8 50
- exit 1
-fi
-
-if "$DIALOG" --yesno "$MSG4" 10 50 ; then
- clear
- echo
- echo "$MSG5"
- if test "x$ASKPASS" = "x" ; then
- # dirty trick to fool su into asking the root password even if were
- # root
- su nobody -c "su -c $XCONFIGURATOR"
- else
- if "$ASKPASS" ; then
- "$XCONFIGURATOR"
- fi
- fi
- clear
- "$DIALOG" --msgbox "$MSG6" 8 50
- exit 0
-else
- "$DIALOG" --msgbox "$MSG7" 8 50
- exit 1
-fi
diff --git a/config/Xsession.in b/config/Xsession.in
deleted file mode 100755
index dee95ddd..00000000
--- a/config/Xsession.in
+++ /dev/null
@@ -1,251 +0,0 @@
-#!@XSESSION_SHELL@
-#
-# This is SORT OF LIKE an X session, but not quite. You get a command as the
-# first argument (it could be multiple words, so run it with "eval"). As a
-# special case, the command can be:
-# failsafe - Run an xterm only
-# default - Run the appropriate Xclients startup (see the code below)
-# custom - Run ~/.xsession and if that's not available run 'default'
-#
-# (Note that other arguments could also follow, but only the command one is
-# right now relevant and supported)
-#
-# The output is ALREADY redirected to .xsession-errors in GDM. This way
-# .xsession-errors actually gets more output such as if the PreSession script
-# is failing. This also prevents DoS attacks if some app in the users session
-# can be prodded to dump lots of stuff on the stdout/stderr. We wish to be
-# robust don't we? In case you wish to use an existing script for other DM's,
-# you can just not redirect when GDMSESSION is set. GDMSESSION will always
-# be set from gdm.
-#
-# Also note that this is not run as a login shell, this is just executed.
-# This is why we source the profile files below.
-#
-# based on:
-# $XConsortium: Xsession /main/10 1995/12/18 18:21:28 gildea $
-
-command="$@"
-
-if [ -z "$command" ] ; then
- command=failsafe
-fi
-
-# this will go into the .xsession-errors along with all other echo's
-# good for debugging where things went wrong
-echo "$0: Beginning session setup..."
-
-# First read /etc/profile and .profile
-test -f /etc/profile && . /etc/profile
-test -f "$HOME/.profile" && . "$HOME/.profile"
-# Second read /etc/xprofile and .xprofile for X specific setup
-test -f /etc/xprofile && . /etc/xprofile
-test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
-
-# Translation stuff
-if [ -x "@libexecdir@/gdmtranslate" ] ; then
- gdmtranslate="@libexecdir@/gdmtranslate"
-else
- gdmtranslate=
-fi
-
-# Note that this should only go to zenity dialogs which always expect utf8
-gettextfunc () {
- if [ "x$gdmtranslate" != "x" ] ; then
- "$gdmtranslate" --utf8 "$1"
- else
- echo "$1"
- fi
-}
-
-OLD_IFS=$IFS
-
-gdmwhich () {
- COMMAND="$1"
- OUTPUT=
- IFS=:
- for dir in $PATH
- do
- if test -x "$dir/$COMMAND" ; then
- if test "x$OUTPUT" = "x" ; then
- OUTPUT="$dir/$COMMAND"
- fi
- fi
- done
- IFS=$OLD_IFS
- echo "$OUTPUT"
-}
-
-zenity=`gdmwhich zenity`
-
-if [ x"$command" = xfailsafe ] ; then
- if [ -n "$zenity" ] ; then
- disptext=`gettextfunc "This is the failsafe xterm session. Windows now have focus only if you have your cursor above them. To get out of this mode type 'exit' in the window."`
- "$zenity" --info --text "$disptext"
- else
- echo "$0: Starting the failsafe xterm session."
- fi
- exec xterm -geometry 80x24+0+0
-fi
-
-# Note: ~/.xsession-errors is now done in the daemon so that it
-# works for ALL sessions (except ones named 'Failsafe')
-
-# clean up after xbanner
-freetemp=`gdmwhich freetemp`
-if [ -n "$freetemp" ] ; then
- "$freetemp"
-fi
-
-userresources="$HOME/.Xresources"
-usermodmap="$HOME/.Xmodmap"
-userxkbmap="$HOME/.Xkbmap"
-
-sysresources=/etc/X11/Xresources
-sysmodmap=/etc/X11/Xmodmap
-sysxkbmap=/etc/X11/Xkbmap
-
-rh6sysresources=/etc/X11/xinit/Xresources
-rh6sysmodmap=/etc/X11/xinit/Xmodmap
-
-
-# merge in defaults
-if [ -f "$rh6sysresources" ]; then
- xrdb -merge "$rh6sysresources"
-fi
-
-if [ -f "$sysresources" ]; then
- xrdb -merge "$sysresources"
-fi
-
-if [ -f "$userresources" ]; then
- xrdb -merge "$userresources"
-fi
-
-# merge in keymaps
-if [ -f "$sysxkbmap" ]; then
- setxkbmap `cat "$sysxkbmap"`
- XKB_IN_USE=yes
-fi
-
-if [ -f "$userxkbmap" ]; then
- setxkbmap `cat "$userxkbmap"`
- XKB_IN_USE=yes
-fi
-
-#
-# Eeek, this seems like too much magic here
-#
-if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then
- if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then
- xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config`
- if [ -n "$xkbsymbols" ]; then
- setxkbmap -symbols "$xkbsymbols"
- XKB_IN_USE=yes
- fi
- fi
-fi
-
-# xkb and xmodmap don't play nice together
-if [ -z "$XKB_IN_USE" ]; then
- if [ -f "$rh6sysmodmap" ]; then
- xmodmap "$rh6sysmodmap"
- fi
-
- if [ -f "$sysmodmap" ]; then
- xmodmap "$sysmodmap"
- fi
-
- if [ -f "$usermodmap" ]; then
- xmodmap "$usermodmap"
- fi
-fi
-
-unset XKB_IN_USE
-
-# Normalize languages, some places/distros screw us up in /etc/profile,
-# so in case the user did select a language
-if [ -n "$GDM_LANG" ]; then
- LANG="$GDM_LANG"
- export LANG
-
- if [ -n "$LC_ALL" ]; then
- if [ "$LC_ALL" != "$LANG" ]; then
- LC_ALL="$LANG"
- fi
- else
- unset LC_ALL
- fi
-
- if [ -n "$LANGUAGE" ]; then
- if [ "$LANGUAGE" != "$LANG" ]; then
- LANGUAGE="$LANG"
- fi
- else
- unset LANGUAGE
- fi
-
- if [ -n "$LINGUAS" ]; then
- if [ "$LINGUAS" != "$LANG" ]; then
- LINGUAS="$LANG"
- fi
- else
- unset LINGUAS
- fi
-fi
-
-# run all system xinitrc shell scripts.
-if [ -d /etc/X11/xinit/xinitrc.d ]; then
- for i in /etc/X11/xinit/xinitrc.d/* ; do
- if [ -x "$i" ]; then
- . "$i"
- fi
- done
-fi
-
-if [ "x$command" = "xcustom" ] ; then
- if [ -x "$HOME/.xsession" ]; then
- command="$HOME/.xsession"
- else
- echo "$0: Cannot find ~/.xsession will try the default session"
- command="default"
- fi
-fi
-
-if [ "x$command" = "xdefault" ] ; then
- if [ -x "$HOME/.Xclients" ]; then
- command="$HOME/.Xclients"
- elif [ -x /etc/X11/xinit/Xclients ]; then
- command="/etc/X11/xinit/Xclients"
- elif [ -x /etc/X11/Xclients ]; then
- command="/etc/X11/Xclients"
- else
- if [ -n "$zenity" ] ; then
- disptext=`gettextfunc "System has no Xclients file, so starting a failsafe xterm session. Windows will have focus only if the mouse pointer is above them. To get out of this mode type 'exit' in the window."`
- "$zenity" --info --text "$disptext"
- else
- echo "$0: Cannot find Xclients"
- fi
- exec xterm -geometry 80x24+0+0
- fi
-fi
-
-# add ssh-agent if found
-sshagent="`gdmwhich ssh-agent`"
-if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
- command="$sshagent -- $command"
-elif [ -z "$sshagent" ] ; then
- echo "$0: ssh-agent not found!"
-fi
-
-echo "$0: Setup done, will execute: $command"
-
-eval exec $command
-
-echo "$0: Executing $command failed, will run xterm"
-
-if [ -n "$zenity" ] ; then
- disptext=`gettextfunc "Failed to start the session, so starting a failsafe xterm session. Windows will have focus only if the mouse pointer is above them. To get out of this mode type 'exit' in the window."`
- "$zenity" --info --text "$disptext"
-fi
-
-exec xterm -geometry 80x24+0+0
diff --git a/config/default.desktop.in b/config/default.desktop.in
deleted file mode 100644
index 8bed5b3d..00000000
--- a/config/default.desktop.in
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-# The names/descriptions should really be better
-_Name=Run Xclient script
-_Comment=This session runs the Xclients script
-Exec=default
-# The "default" Exec is a very special one and is handled specially in
-# the Xsession script, you could also have "custom" which would just run
-# "~/.xsession" directly
-Icon=
-Type=Application
diff --git a/config/extract-shell.sh b/config/extract-shell.sh
deleted file mode 100755
index 59528e0c..00000000
--- a/config/extract-shell.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-echo "/* DO NOT CHANGE HEADER FILE BY HAND! CHANGE THE extract-shell.sh */"
-echo "/* SCRIPT THIS IS GENERATED. ADD A CHANGELOG ENTRY IF YOU MODIFY */"
-echo "/* THIS SCRIPT. */"
-echo "/* ALWAYS ADD A CHANGELOG OR I WILL PERSONALLY KICK YOUR ASS! */"
-grep gettextfunc | fgrep -v 'gettextfunc ()' | sed 's/^.*gettextfunc[^"]*\("[^"]*"\).*$/const char *foo = N_(\1);/'
diff --git a/config/gdm b/config/gdm
deleted file mode 100644
index 4b2bbaeb..00000000
--- a/config/gdm
+++ /dev/null
@@ -1,8 +0,0 @@
-#%PAM-1.0
-auth required pam_env.so
-auth required pam_stack.so service=system-auth
-auth required pam_nologin.so
-account required pam_stack.so service=system-auth
-password required pam_stack.so service=system-auth
-session required pam_stack.so service=system-auth
-session optional pam_console.so
diff --git a/config/gdm-autologin b/config/gdm-autologin
deleted file mode 100644
index 7f819dac..00000000
--- a/config/gdm-autologin
+++ /dev/null
@@ -1,8 +0,0 @@
-#%PAM-1.0
-auth required pam_env.so
-auth required pam_nologin.so
-auth required pam_permit.so
-account required pam_stack.so service=system-auth
-password required pam_stack.so service=system-auth
-session required pam_stack.so service=system-auth
-session optional pam_console.so
diff --git a/config/gdm.conf-custom.in b/config/gdm.conf-custom.in
deleted file mode 100644
index f79721fb..00000000
--- a/config/gdm.conf-custom.in
+++ /dev/null
@@ -1,80 +0,0 @@
-# GDM Custom Configuration file.
-#
-# This file is the appropriate place for specifying your customizations to the
-# GDM configuration. If you run gdmsetup, it will automatically edit this
-# file for you and will cause the daemon and any running GDM GUI programs to
-# automatically update with the new configuration. Not all configuration
-# options are supported by gdmsetup, so to modify some values it may be
-# necessary to modify this file directly by hand.
-#
-# This file overrides the default configuration settings. These settings
-# are stored in the GDM System Defaults configuration file, which is found
-# at the following location.
-#
-# @GDM_DEFAULTS_CONF@.
-#
-# This file contains comments about the meaning of each configuration option,
-# so is also a useful reference. Also refer to the documentation links at
-# the end of this comment for further information. In short, to hand-edit
-# this file, simply add or modify the key=value combination in the
-# appropriate section in the template below this comment section.
-#
-# For example, if you want to specify a different value for the Enable key
-# in the "[debug]" section of your GDM System Defaults configuration file,
-# then add "Enable=true" in the "[debug]" section of this file. If the
-# key already exists in this file, then simply modify it.
-#
-# Older versions of GDM used the "gdm.conf" file for configuration. If your
-# system has an old gdm.conf file on the system, it will be used instead of
-# this file - so changes made to this file will not take effect. Consider
-# migrating your configuration to this file and removing the gdm.conf file.
-#
-# If you hand edit a GDM configuration file, you can run the following
-# command and the GDM daemon will immediately reflect the change. Any
-# running GDM GUI programs will also be notified to update with the new
-# configuration.
-#
-# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
-#
-# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
-#
-# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
-# re-read the new configuration settings. You can also restart GDM by sending
-# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
-# any user session started by GDM to exit immediately while USR1 behaves like
-# gdm-safe-restart and will wait until all users log out before restarting GDM.
-#
-# For full reference documentation see the gnome help browser under
-# GNOME|System category. You can also find the docs in HTML form on
-# http://www.gnome.org/projects/gdm/
-#
-# NOTE: Lines that begin with "#" are considered comments.
-#
-# Have fun!
-
-[daemon]
-
-[security]
-
-[xdmcp]
-
-[gui]
-
-[greeter]
-
-[chooser]
-
-[debug]
-
-# Note that to disable servers defined in the GDM System Defaults
-# configuration file (such as 0=Standard, you must put a line in this file
-# that says 0=inactive, as described in the Configuration section of the GDM
-# documentation.
-#
-[servers]
-
-# Also note, that if you redefine a [server-foo] section, then GDM will
-# use the definition in this file, not the GDM System Defaults configuration
-# file. It is currently not possible to disable a [server-foo] section
-# defined in the GDM System Defaults configuration file.
-#
diff --git a/config/gdm.conf.in b/config/gdm.conf.in
deleted file mode 100644
index 9a2a00a6..00000000
--- a/config/gdm.conf.in
+++ /dev/null
@@ -1,680 +0,0 @@
-# GDM System Defaults Configuration file.
-#
-# This file should not be updated by hand. Since GDM 2.13.0.4, configuration
-# choices in the GDM Custom Configuration file will override the default
-# values specified in this file. This GDM System Defaults Configuration file
-# may be overwritten on upgrade, so to ensure that your configuration choices
-# are not lost, please make sure that your changes are made only the GDM Custom
-# Configuration file. The GDM Custom Configuration file is found at the
-# following location:
-#
-# @GDM_CUSTOM_CONF@
-#
-# If you were using an older version of GDM, your system may have the the older
-# gdm.conf configuration file on the system. If so, then this file is used
-# instead of the GDM Custom Configuration file for backwards support. If you
-# make changes to the GDM Custom Configuration file and they seem to not be
-# taking effect, this is likely the problem. Consider migrating your
-# configuration to the new configuration file and removing the gdm.conf file.
-#
-# You can use the gdmsetup program to graphically edit the gdm.conf-custom
-# file. Note that gdmsetup does not support every option in this file, just
-# the most common ones that users want to change. If you feel that gdmsetup
-# should support additional configuration options, please file a bug report at
-# http://bugzilla.gnome.org/.
-#
-# If you hand-edit the GDM configuration, you should run the following command
-# to get the GDM daemon to recognize the change. Any running GDM GUI programs
-# will also be notified to update with the new configuration.
-#
-# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
-#
-# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
-#
-# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
-# re-read the new configuration settings. You can also restart GDM by sending
-# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
-# any user session started by GDM to exit immediately while USR1 behaves like
-# gdm-safe-restart and will wait until all users log out before restarting GDM.
-#
-# For full reference documentation see the GNOME help browser under
-# GNOME|System category. You can also find the docs in HTML form on
-# http://www.gnome.org/projects/gdm/
-#
-# NOTE: Some values are commented out, but show their default values. Lines
-# that begin with "#" are considered comments.
-#
-# Have fun!
-
-[daemon]
-# Automatic login, if true the first local screen will automatically logged in
-# as user as set with AutomaticLogin key.
-AutomaticLoginEnable=false
-AutomaticLogin=
-
-# Timed login, useful for kiosks. Log in a certain user after a certain amount
-# of time.
-TimedLoginEnable=false
-TimedLogin=
-TimedLoginDelay=30
-
-# The GDM configuration program that is run from the login screen, you should
-# probably leave this alone.
-#Configurator=@sbindir@/gdmsetup --disable-sound --disable-crash-dialog
-
-# The chooser program. Must output the chosen host on stdout, probably you
-# should leave this alone.
-#Chooser=@libexecdir@/gdmchooser
-
-# The greeter for local (non-xdmcp) logins. Change gdmlogin to gdmgreeter to
-# get the new graphical greeter.
-#Greeter=@libexecdir@/gdmlogin
-
-# The greeter for xdmcp logins, usually you want a less graphically intensive
-# greeter here so it's better to leave this with gdmlogin
-#RemoteGreeter=@libexecdir@/gdmlogin
-
-# Launch the greeter with an additional list of colon separated GTK+ modules.
-# This is useful for enabling additional feature support e.g. GNOME
-# accessibility framework. Only "trusted" modules should be allowed to minimize
-# security holes
-#AddGtkModules=false
-# By default, these are the accessibility modules.
-#GtkModulesList=gail:atk-bridge:@libdir@/gtk-2.0/modules/libdwellmouselistener:@libdir@/gtk-2.0/modules/libkeymouselistener
-
-# Default path to set. The profile scripts will likely override this value.
-# This value will be overridden with the value from /etc/default/login if it
-# contains "ROOT=<pathvalue>".
-#DefaultPath=@GDM_USER_PATH@
-# Default path for root. The profile scripts will likely override this value.
-# This value will be overridden with the value from /etc/default/login if it
-# contains "SUROOT=<pathvalue>".
-#RootPath=/sbin:/usr/sbin:@GDM_USER_PATH@
-
-# If you are having trouble with using a single server for a long time and want
-# GDM to kill/restart the server, turn this on. On Solaris, this value is
-# always true and this configuration setting is ignored.
-#AlwaysRestartServer=false
-
-# User and group used for running GDM GUI applicaitons. By default this is set
-# to user "gdm" and group "gdm". This user/group should have very limited
-# permissions and access to ony the gdm directories and files.
-User=gdm
-Group=gdm
-
-# To try to kill all clients started at greeter time or in the Init script.
-# does not always work, only if those clients have a window of their own.
-#KillInitClients=true
-LogDir=@logdir@
-# You should probably never change this value unless you have a weird setup.
-PidFile=/var/run/gdm.pid
-
-# Note that a post login script is run before a PreSession script. It is run
-# after the login is successful and before any setup is run on behalf of the
-# user.
-PostLoginScriptDir=@gdmconfdir@/PostLogin/
-PreSessionScriptDir=@gdmconfdir@/PreSession/
-PostSessionScriptDir=@gdmconfdir@/PostSession/
-DisplayInitDir=@gdmconfdir@/Init
-# Distributions: If you have some script that runs an X server in say VGA
-# mode, allowing a login, could you please send it to me?
-#FailsafeXServer=
-# if X keeps crashing on us we run this script. The default one does a bunch
-# of cool stuff to figure out what to tell the user and such and can run an X
-# configuration program.
-XKeepsCrashing=@gdmconfdir@/XKeepsCrashing
-# Reboot, Halt and suspend commands, you can add different commands separated
-# by a semicolon. GDM will use the first one it can find.
-#RebootCommand=@REBOOT_COMMAND@
-#HaltCommand=@HALT_COMMAND@
-#SuspendCommand=@SUSPEND_COMMAND@
-# Probably should not touch the below this is the standard setup.
-ServAuthDir=@authdir@
-# This is our standard startup script. A bit different from a normal X
-# session, but it shares a lot of stuff with that. See the provided default
-# for more information.
-BaseXsession=@gdmconfdir@/Xsession
-# This is a directory where .desktop files describing the sessions live. It is
-# really a PATH style variable since 2.4.4.2 to allow actual interoperability
-# with KDM. Note that <dmconfdir>/Sessions is there for backwards
-# compatibility reasons with 2.4.4.x.
-#SessionDesktopDir=/etc/X11/sessions/:@dmconfdir@/Sessions/:@datadir@/gdm/BuiltInSessions/:@datadir@/xsessions/
-# This is the default .desktop session. One of the ones in SessionDesktopDir
-#DefaultSession=gnome.desktop
-# Better leave this blank and HOME will be used. You can use syntax ~/ below
-# to indicate home directory of the user. You can also set this to something
-# like /tmp if you don't want the authorizations to be in home directories.
-# This is useful if you have NFS mounted home directories. Note that if this
-# is the home directory the UserAuthFBDir will still be used in case the home
-# directory is NFS, see security/NeverPlaceCookiesOnNFS to override this
-# behavior.
-UserAuthDir=
-# Fallback directory for writing authorization file if user's home directory
-# is not writable.
-UserAuthFBDir=/tmp
-UserAuthFile=.Xauthority
-# The X server to use if we can't figure out what else to run.
-StandardXServer=@X_SERVER@
-# The maximum number of flexible X servers to run.
-#FlexibleXServers=5
-# And after how many minutes should we reap the flexible server if there is no
-# activity and no one logged on. Set to 0 to turn off the reaping. Does not
-# affect Xnest flexiservers.
-#FlexiReapDelayMinutes=5
-# The X nest command.
-Xnest=@X_XNEST_PATH@/Xnest @X_XNEST_CONFIG_OPTIONS@
-# Automatic VT allocation. Right now only works on Linux. This way we force
-# X to use specific vts. turn VTAllocation to false if this is causing
-# problems.
-#FirstVT=7
-#VTAllocation=true
-# Should double login be treated with a warning (and possibility to change VT's
-# on Linux and FreeBSD systems for console logins)
-#DoubleLoginWarning=true
-# Should a second login always resume the current session and switch VT's on
-# Linux and FreeBSD systems for console logins
-#AlwaysLoginCurrentSession=true
-
-# If true then the last login information is printed to the user before being
-# prompted for password. While this gives away some info on what users are on
-# a system, it on the other hand should give the user an idea of when they
-# logged in and if it doesn't seem kosher to them, they can just abort the
-# login and contact the sysadmin (avoids running malicious startup scripts).
-#DisplayLastLogin=false
-
-# Program used to play sounds. Should not require any 'daemon' or anything
-# like that as it will be run when no one is logged in yet.
-#SoundProgram=@SOUND_PROGRAM@
-
-# These are the languages that the console cannot handle because of font
-# issues. Here we mean the text console, not X. This is only used when there
-# are errors to report and we cannot start X.
-# This is the default:
-#ConsoleCannotHandle=am,ar,az,bn,el,fa,gu,hi,ja,ko,ml,mr,pa,ta,zh
-
-# This determines whether GDM will honor requests DYNAMIC requests from the
-# gdmdynamic command.
-#DynamicXServers=false
-
-# This determines whether GDM will send notifications to the console.
-#ConsoleNotify=true
-
-# How long gdm should wait before it assumes a started Xserver is defunct and
-# kills it. 10 seconds should be long enough for X, but Xgl may need 20 or 25.
-GdmXserverTimeout=10
-
-[security]
-# Allow root to login. It makes sense to turn this off for kiosk use, when
-# you want to minimize the possibility of break in.
-AllowRoot=true
-# Allow login as root via XDMCP. This value will be overridden and set to
-# false if the /etc/default/login file exists and contains
-# "CONSOLE=/dev/login", and set to true if the /etc/default/login file exists
-# and contains any other value or no value for CONSOLE.
-AllowRemoteRoot=false
-# This will allow remote timed login.
-AllowRemoteAutoLogin=false
-# 0 is the most restrictive, 1 allows group write permissions, 2 allows all
-# write permissions.
-RelaxPermissions=0
-# Check if directories are owned by logon user. Set to false, if you have, for
-# example, home directories owned by some other user.
-CheckDirOwner=true
-# If your HOME is managed by automounter, set to true
-SupportAutomount=false
-# Number of seconds to wait after a failed login
-#RetryDelay=1
-# Maximum size of a file we wish to read. This makes it hard for a user to DoS
-# us by using a large file.
-#UserMaxFile=65536
-# If true this will basically append -nolisten tcp to every X command line, a
-# good default to have (why is this a "negative" setting? because if it is
-# false, you could still not allow it by setting command line of any particular
-# server). It's probably better to ship with this on since most users will not
-# need this and it's more of a security risk then anything else.
-# Note: Anytime we find a -query or -indirect on the command line we do not add
-# a "-nolisten tcp", as then the query just wouldn't work, so this setting only
-# affects truly local sessions.
-#DisallowTCP=true
-# By default never place cookies if we "detect" NFS. We detect NFS by
-# detecting "root-squashing". It seems bad practice to place cookies on things
-# that go over the network by default and thus we do not do it by default.
-# Sometimes you can however use safe remote filesystems where this is OK and
-# you may want to have the cookie in your home directory.
-#NeverPlaceCookiesOnNFS=true
-# Will cause PAM_DISALLOW_NULL_AUTHTOK to be passed as a flag to
-# pam_authenticate and pam_acct_mgmt, disallowing NULL password. This setting
-# will only take effect if PAM is being used by GDM. This value will be
-# overridden with the value from /etc/default/login if it contains
-# "PASSREQ=[YES|NO]"
-#PasswordRequired=false
-# Specifies the PAM Stack to use, "gdm" by default.
-PamStack=gdm
-
-# XDMCP is the protocol that allows remote login. If you want to log into GDM
-# remotely (I'd never turn this on on open network, use ssh for such remote
-# usage that). You can then run X with -query <thishost> to log in, or
-# -indirect <thishost> to run a chooser. Look for the 'Terminal' server type
-# at the bottom of this config file.
-[xdmcp]
-# Distributions: Ship with this off. It is never a safe thing to leave out on
-# the net. Setting up /etc/hosts.allow and /etc/hosts.deny to only allow local
-# access is another alternative but not the safest. Firewalling port 177 is
-# the safest if you wish to have xdmcp on. Read the manual for more notes on
-# the security of XDMCP.
-Enable=false
-# Honor indirect queries, we run a chooser for these, and then redirect the
-# user to the chosen host. Otherwise we just log the user in locally.
-#HonorIndirect=true
-# Maximum pending requests.
-#MaxPending=4
-#MaxPendingIndirect=4
-# Maximum open XDMCP sessions at any point in time.
-#MaxSessions=16
-# Maximum wait times.
-#MaxWait=15
-#MaxWaitIndirect=15
-# How many times can a person log in from a single host. Usually better to
-# keep low to fend off DoS attacks by running many logins from a single host.
-# This is now set at 2 since if the server crashes then GDM doesn't know for
-# some time and wouldn't allow another session.
-#DisplaysPerHost=2
-# The number of seconds after which a non-responsive session is logged off.
-# Better keep this low.
-#PingIntervalSeconds=15
-# The port. 177 is the standard port so better keep it that way.
-#Port=177
-# Willing script, none is shipped and by default we'll send hostname system id.
-# But if you supply something here, the output of this script will be sent as
-# status of this host so that the chooser can display it. You could for
-# example send load, or mail details for some user, or some such.
-#Willing=@gdmconfdir@/Xwilling
-
-[gui]
-# The specific gtkrc file we use. It should be the full path to the gtkrc that
-# we need. Unless you need a specific gtkrc that doesn't correspond to a
-# specific theme, then just use the GtkTheme key.
-#GtkRC=@datadir@/themes/Default/gtk-2.0/gtkrc
-
-# The GTK+ theme to use for the GUI.
-#GtkTheme=Default
-# If to allow changing the GTK+ (widget) theme from the greeter. Currently
-# this only affects the standard greeter as the graphical greeter does not yet
-# have this ability.
-#AllowGtkThemeChange=true
-# Comma separated list of themes to allow. These must be the names of the
-# themes installed in the standard locations for gtk themes. You can also
-# specify 'all' to allow all installed themes. These should be just the
-# basenames of the themes such as 'Thinice' or 'LowContrast'.
-#GtkThemesToAllow=all
-
-# Maximum size of an icon, larger icons are scaled down.
-#MaxIconWidth=128
-#MaxIconHeight=128
-
-[greeter]
-# The following options for setting titlebar and setting window position are
-# only useful for the standard login (gdmlogin) and are not used by the
-# themed login (gdmgreeter).
-#
-# The standard login has a title bar that the user can move.
-#TitleBar=true
-# Don't allow user to move the standard login window. Only makes sense if
-# TitleBar is on.
-#LockPosition=false
-# Set a position for the standard login window rather then just centering the
-# window. If you enter negative values for the position it is taken as an
-# offset from the right or bottom edge.
-#SetPosition=false
-#PositionX=0
-#PositionY=0
-
-# Enable the Face browser. Note that the Browser key is only used by the
-# standard login (gdmlogin) program. The Face Browser is enabled in
-# the Graphical greeter by selecting a theme that includes the Face
-# Browser, such as happygnome-list. The other configuration values that
-# affect the Face Browser (MinimalUID, DefaultFace, Include, Exclude,
-# IncludeAll, GlobalFaceDir) are used by both the Standard and Themed
-# greeter.
-Browser=false
-# The default picture in the browser.
-#DefaultFace=@pixmapdir@/nobody.png
-# User ID's less than the MinimalUID value will not be included in the face
-# browser or in the gdmselection list for Automatic/Timed login. They will not
-# be displayed regardless of the settings for Include and Exclude.
-#MinimalUID=100
-# Users listed in Include will be included in the face browser and in the
-# gdmsetup selection list for Automatic/Timed login. Users should be separated
-# by commas.
-#Include=
-# Users listed in Exclude are excluded from the face browser and from the
-# gdmsetup selection list for Automatic/Timed login. Excluded users will still
-# be able to log in, but will have to type their username. Users should be
-# separated by commas.
-#Exclude=bin,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,gdm,postgres,pvm,rpm,nfsnobody,pcap
-# By default, an empty include list means display no users. By setting
-# IncludeAll to true, the password file will be scanned and all users will be
-# displayed except users excluded via the Exclude setting and user ID's less
-# than MinimalUID. Scanning the password file can be slow on systems with
-# large numbers of users and this feature should not be used in such
-# environments. The setting of IncludeAll does nothing if Include is set to a
-# non-empty value.
-#IncludeAll=false
-# If user or user.png exists in this dir it will be used as his picture.
-#GlobalFaceDir=@datadir@/pixmaps/faces/
-
-# File which contains the locale we show to the user. Likely you want to use
-# the one shipped with GDM and edit it. It is not a standard locale.alias
-# file, although GDM will be able to read a standard locale.alias file as well.
-#LocaleFile=@gdmlocaledir@/locale.alias
-# Logo shown in the standard greeter.
-#Logo=@pixmapdir@/gdm-foot-logo.png
-# Logo shown on file chooser button in gdmsetup (do not modify this value).
-#ChooserButtonLogo=@pixmapdir@/gdm-foot-logo.png
-# The standard greeter should shake if a user entered the wrong username or
-# password. Kind of cool looking
-#Quiver=true
-
-# The Actions menu (formerly system menu) is shown in the greeter, this is the
-# menu that contains reboot, shutdown, suspend, config and chooser. None of
-# these is available if this is off. They can be turned off individually
-# however.
-#SystemMenu=true
-# Configuration is available from the system menu of the greeter.
-#ConfigAvailable=false
-# Should the chooser button be shown. If this is shown, GDM can drop into
-# chooser mode which will run the xdmcp chooser locally and allow the user to
-# connect to some remote host. Local XDMCP does not need to be enabled,
-# however.
-#ChooserButton=true
-
-# Welcome is for all console logins and RemoteWelcome is for remote logins
-# (through XDMCP).
-# DefaultWelcome and DefaultRemoteWelcome set the string for Welcome to
-# "Welcome" and for DefaultWelcome to "Welcome to %n", and properly translate
-# the message to the appropriate language. Note that %n gets translated to the
-# hostname of the machine. These default values can be overridden by setting
-# DefaultWelcome and/or DefaultRemoteWelcome to false, and setting the Welcome
-# and DefaultWelcome values as desired. Just make sure the strings are in
-# utf-8 Note to distributors, if you wish to have a different Welcome string
-# and wish to have this translated you can have entries such as
-# "Welcome[cs]=Vitejte na %n".
-DefaultWelcome=true
-DefaultRemoteWelcome=true
-#Welcome=Welcome
-#RemoteWelcome=Welcome to %n
-
-# Xinerama screen we use to display the greeter on. Not for true multihead,
-# currently only works for Xinerama.
-#XineramaScreen=0
-# Background settings for the standard greeter:
-# Type can be 0=None, 1=Image & Color, 2=Color, 3=Image
-#BackgroundType=2
-#BackgroundImage=
-#BackgroundScaleToFit=true
-# The Standard greeter (gdmlogin) uses BackgroundColor as the background
-# color, while the themed greeter (gdmgreeter) uses GraphicalThemedColor
-# as the background color.
-BackgroundColor=#76848F
-GraphicalThemedColor=#76848F
-# XDMCP session should only get a color, this is the sanest setting since you
-# don't want to take up too much bandwidth
-#BackgroundRemoteOnlyColor=true
-
-# Program to run to draw the background in the standard greeter. Perhaps
-# something like an xscreensaver hack or some such.
-#BackgroundProgram=
-# If this is true then the background program is run always, otherwise it is
-# only run when the BackgroundType is 0 (None).
-#RunBackgroundProgramAlways=false
-# Delay before starting background program
-#BackgroundProgramInitialDelay=30
-# Should the background program be restarted if it is exited.
-#RestartBackgroundProgram=true
-# Delay before restarting background program
-#BackgroundProgramRestartDelay=30
-
-# Show the Failsafe sessions. These are much MUCH nicer (focus for xterm for
-# example) and more failsafe then those supplied by scripts so distros should
-# use this rather then just running an xterm from a script.
-#ShowGnomeFailsafeSession=true
-#ShowXtermFailsafeSession=true
-# Normally there is a session type called 'Last' that is shown which refers to
-# the last session the user used. If off, we will be in 'switchdesk' mode
-# where the session saving stuff is disabled in GDM
-#ShowLastSession=true
-# Always use 24 hour clock no matter what the locale.
-#Use24Clock=auto
-# Use circles in the password field. Looks kind of cool actually, but only
-# works with certain fonts.
-#UseCirclesInEntry=false
-# Do not show any visible feedback in the password field. This is standard for
-# instance in console, xdm and ssh.
-#UseInvisibleInEntry=false
-
-# These two keys are for the themed greeter (gdmgreeter). Circles is the
-# standard shipped theme. If you want GDM to select a random theme from a
-# list then provide a list that is delimited by /: to the GraphicalThemes
-# key and set GraphicalThemeRand to true. Otherwise use GraphicalTheme
-# and specify just one theme.
-#GraphicalTheme=circles
-#GraphicalThemes=circles/:happygnome
-GraphicalThemeDir=@datadir@/gdm/themes/
-GraphicalThemeRand=false
-
-# If InfoMsgFile points to a file, the greeter will display the contents of the
-# file in a modal dialog box before the user is allowed to log in.
-#InfoMsgFile=
-# If InfoMsgFile is present then InfoMsgFont can be used to specify the font to
-# be used when displaying the contents of the file.
-#InfoMsgFont=Sans 24
-
-# If SoundOnLogin is true, then the greeter will beep when login is ready for
-# user input. If SoundOnLogin is a file and the greeter finds the 'play'
-# executable (see daemon/SoundProgram) it will play that file instead of just
-# beeping.
-#SoundOnLogin=true
-#SoundOnLoginFile=
-# If SoundOnLoginSuccess, then the greeter will play a sound (as above) when a
-# user successfully logs in.
-#SoundOnLoginSuccess=false
-#SoundOnLoginSuccessFile=
-# If SoundOnLoginFailure, then the greeter will play a sound (as above) when a
-# user fails to log in.
-#SoundOnLoginFailure=false
-#SoundOnLoginFailureFile=
-
-# Specifies a program to be called by the greeter/login program when the
-# initial screen is displayed. The purpose is to provide a hook where files
-# used after login can be preloaded to speed performance for the user. The
-# program will only be called once only, the first time a greeter is displayed.
-# The gdmprefetch command may be used. This utility will load any libraries
-# passed in on the command line, or if the argument starts with a "@"
-# character, it will process the file assuming it is an ASCII file containing a
-# list of libraries, one per line, and load each library in the file.
-PreFetchProgram=@GDMPREFETCHCMD@
-
-# The chooser is what's displayed when a user wants an indirect XDMCP session,
-# or selects Run XDMCP chooser from the system menu
-[chooser]
-# Default image for hosts.
-#DefaultHostImg=@pixmapdir@/nohost.png
-# Directory with host images, they are named by the hosts: host or host.png.
-HostImageDir=@datadir@/hosts/
-# Time we scan for hosts (well only the time we tell the user we are scanning
-# actually, we continue to listen even after this has expired).
-#ScanTime=4
-# A comma separated lists of hosts to automatically add (if they answer to a
-# query of course). You can use this to reach hosts that broadcast cannot
-# reach.
-Hosts=
-# Broadcast a query to get all hosts on the current network that answer.
-Broadcast=true
-# Set it to true if you want to send a multicast query to hosts.
-Multicast=false
-# It is an IPv6 multicast address.It is hardcoded here and will be replaced
-# when officially registered xdmcp multicast address of TBD will be available.
-#Multicast_Addr=ff02::1
-# Allow adding random hosts to the list by typing in their names.
-#AllowAdd=true
-
-[debug]
-# This will cause GDM to send debugging information to the system log, which
-# will create a LOT of output. It is not recommended to turn this on for
-# normal use, but it can be useful to determine the cause when GDM is not
-# working properly.
-Enable=false
-# This will enable debug messages for accessibilty gesture listeners into the
-# syslog. This includes output about key events, mouse button events, and
-# pointer motion events. This is useful for figuring out the cause of why the
-# gesture listeners may not be working, but is too verbose for general debug.
-Gestures=false
-
-[servers]
-# These are the standard servers. You can add as many you want here and they
-# will always be started. Each line must start with a unique number and that
-# will be the display number of that server. Usually just the 0 server is
-# used.
-0=Standard
-#1=Standard
-# Note the VTAllocation and FirstVT keys on Linux and FreeBSD. Don't add any
-# vt<number> arguments if VTAllocation is on, and set FirstVT to be the first
-# vt available that your gettys don't grab (gettys are usually dumb and grab
-# even a vt that has already been taken). Using 7 will work pretty much for
-# all Linux distributions. VTAllocation is not currently implemented on
-# anything but Linux and FreeBSD. Feel free to send patches. X servers will
-# just not get any extra arguments then.
-#
-# If you want to run an X terminal you could add an X server such as this:
-#0=Terminal -query serverhostname
-# or for a chooser (optionally serverhostname could be localhost):
-#0=Terminal -indirect serverhostname
-#
-# If you wish to run the XDMCP chooser on the local display use the following
-# line
-#0=Chooser
-
-## Note:
-# is your X server not listening to TCP requests? Perhaps you should look at
-# the security/DisallowTCP setting!
-
-# Definition of the standard X server.
-[server-Standard]
-name=Standard server
-command=@X_SERVER@ @X_CONFIG_OPTIONS@ @XEVIE_OPTION@
-flexible=true
-# Indicates that the X server should be started at a different process
-# priority. Values can be any integer value accepted by the setpriority C
-# library function (normally between -20 and 20) with 0 being the default. For
-# highly interactive applications, -5 yields good responsiveness. The default
-# value is 0 and the setpriority function is not called if the value is 0.
-
-#priority=0
-
-# To use this server type you should add -query host or -indirect host to the
-# command line.
-[server-Terminal]
-name=Terminal server
-# Add -terminate to make things behave more nicely
-command=@X_SERVER@ @X_CONFIG_OPTIONS@ -terminate
-# Make this not appear in the flexible servers (we need extra params anyway,
-# and terminate would be bad for xdmcp choosing). You can make a terminal
-# server flexible, but not with an indirect query. If you need flexible
-# indirect query server, then you must get rid of the -terminate and the only
-# way to kill the flexible server will then be by Ctrl-Alt-Backspace.
-flexible=false
-# Not local, we do not handle the logins for this X server.
-handled=false
-
-# To use this server type you should add -query host or -indirect host to the
-# command line.
-[server-Chooser]
-name=Chooser server
-command=@X_SERVER@ @X_CONFIG_OPTIONS@
-# Make this not appear in the flexible servers for now, but if you wish to
-# allow a chooser server then make this true. This is the only way to make a
-# flexible chooser server that behaves nicely.
-flexible=false
-# Run the chooser instead of the greeter. When the user chooses a machine they
-# will get this same server but run with "-terminate -query hostname".
-chooser=true
-
-[customcommand]
-# This section allows you specify up to 10 custom commands. Each of the
-# commands can be defined by the seven parameters listed below. In each of the
-# descriptions of the parameters N can take on any values between 0 and 9,
-# i.e. CustomCommand0=,CustomCommand1=,...,CustomCommand9=. The numbers
-# can have gaps as long as they fit within predefined set of 10, and their
-# placement order within this section and with respect to each other is
-# not important.
-#
-# CustomCommandN, CustomCommandTextN, CustomCommandLabelN,
-# CustomCommandLRLabelN, CustomCommandTooltipN, CustomCommandIsPersistentN
-# and CustomCommandNoRestartN should all be defined for a given integer N,
-# where N can be a number from 0-9 (if not the default values will be
-# assigned except CustomCommandN for which no default exists).
-
-# Custom command to run. Multiple commands may be specified separated by
-# semicolons. GDM will use the first valid command. Examples:
-# /sbin/bootwindoze;/usr/bin/bootwindoze, or
-# /sbin/runupdate;/usr/local/sbin/runupdate
-#
-#CustomCommandN=
-
-# Custom command dialog message that will appear on all warning dialogs.
-# This will vary depending on what you want to do. Examples:
-# Are you sure you want to restart system into Windoze?, or
-# Are you sure you want do do this?
-#CustomCommandTextN=
-
-# Custom command label that will appear as stock label on buttons/menu items.
-# This option can't contain any semicolon characters (i.e. ";").
-# Examples:
-# _Windoze, or
-# _Update Me
-#CustomCommandLabelN=
-
-# Custom command label that will appear as stock label on radio buttons/list
-# items. The underscore indicates the mnemonic used with this item. Examples:
-# Restart into _Windoze
-# Perform system _Update
-#CustomCommandLRLabelN=
-
-# Custom command tooltip. Examples
-# Restarts the computer into Windoze
-# Updates the computer software to the most recent version(s)
-#CustomCommandTooltipN=
-
-# Custom command persistence option. Setting it to true will allow this
-# command to appear outside the login manager, e.g. on the desktop through
-# Log Out/Shut Down dialogs. The default value is false.
-#CustomCommandIsPersistentN=
-
-# Custom command gdm/system restart option. Setting it to true will not
-# restart gdm after command execution. The default commands (reboot, shut
-# down) all reboot the system by default which is why the default setting
-# is true.
-# In addition when corresponding CustomCommandIsPersistentN option is set to
-# true, setting CustomCommandNoRestartN to false will place CustomCommandN
-# in the Shut Down dialog set of actions, setting it to true will place
-# CustomCommandN in the Log Out dialog set of actions.
-#CustomCommandNoRestartN=
-#
-# Example layout for more than one command:
-#CustomCommand0=
-#CustomCommandText0=
-#CustomCommandLabel0=
-#CustomCommandLRLabel0=
-#CustomCommandTooltip0=
-#CustomCommandIsPersistent0=
-#CustomCommandNoRestart0=
-#
-#CustomCommand1=
-#CustomCommandText1=
-#CustomCommandLabel1=
-#CustomCommandLRLabel1=
-#CustomCommandTooltip1=
-#CustomCommandIsPersistent1=
-#CustomCommandNoRestart1=
-#
-# and so on
diff --git a/config/gdmprefetchlist.in b/config/gdmprefetchlist.in
deleted file mode 100644
index 45cbbfc6..00000000
--- a/config/gdmprefetchlist.in
+++ /dev/null
@@ -1,43 +0,0 @@
-# If GDM is built with the --with-prefetch option, then this file
-# is installed on the system, and the gdm.conf PreFetchProgram
-# value should be set properly to cause the first login program
-# managed to preload this list of libraries. It has been shown that
-# preloading these libraries improves first-time login performance
-# for the GNOME desktop.
-#
-# This list of libraries has been optimized for a GNOME session running
-# on Solaris. People who want to contribute alternative lists of
-# libraries for other distributions or desktop environments can
-# contribute them to the "gdm" category in http://bugzilla.gnome.org/,
-# and these can be made available in future releases of GDM.
-#
-/usr/share/icons/hicolor/icon-theme.cache
-/usr/share/icons/blueprint/icon-theme.cache
-/usr/share/icons/gnome/icon-theme.cache
-/usr/bin/nautilus
-/usr/bin/gnome-panel
-/usr/lib/libbonoboui-2.so
-/usr/lib/libwnck-1.so
-/usr/lib/libgnomevfs-2.so
-/usr/bin/metacity
-/usr/lib/libeel-2.so
-/usr/lib/libbonobo-2.so
-/usr/openwin/lib/libXt.so
-/usr/lib/libgnomeui-2.so
-/usr/lib/clock-applet
-/usr/lib/libORBit-2.so
-/usr/X11/lib/libGL.so
-/usr/openwin/lib/X11/fonts/TrueType/VeraMoIt.ttf
-/usr/lib/libgnome-desktop-2.so
-/usr/lib/wnck-applet
-/usr/lib/libgstreamer-0.10.so
-/usr/dt/lib/libXm.so
-/usr/lib/libpoppler.so
-/usr/lib/libgconf-2.so
-/usr/sfw/lib/libcrypto.so
-/usr/lib/nautilus/extensions-1.0/libevince-properties-page.so
-/usr/lib/gnome-vfs-2.0/modules/libmapping.so
-/usr/lib/libpoppler-glib.so
-/usr/lib/libpanel-applet-2.so
-/usr/lib/libstartup-notification-1.so
-/usr/lib/libatk-1.0.so
diff --git a/config/gettextfoo.h b/config/gettextfoo.h
deleted file mode 100644
index 63d4e22f..00000000
--- a/config/gettextfoo.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* DO NOT CHANGE HEADER FILE BY HAND! CHANGE THE extract-shell.sh */
-/* SCRIPT THIS IS GENERATED. ADD A CHANGELOG ENTRY IF YOU MODIFY */
-/* THIS SCRIPT. */
-/* ALWAYS ADD A CHANGELOG OR I WILL PERSONALLY KICK YOUR ASS! */
-const char *foo = N_("Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. You will need to log in on a console and reconfigure the X server. Then restart GDM.");
-const char *foo = N_("Would you like to try to configure the X server? Note that you will need the root password for this.");
-const char *foo = N_("Please type in the root (privileged user) password.");
-const char *foo = N_("Trying to restart the X server.");
-const char *foo = N_("The X server is now disabled. Restart GDM when it is configured correctly.");
-const char *foo = N_("Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?");
-const char *foo = N_("Would you like to view the detailed X server output as well?");
-const char *foo = N_("Failed to start the X server (your graphical interface). It seems that the pointer device (your mouse) is not set up correctly. Would you like to view the X server output to diagnose the problem?");
-const char *foo = N_("Would you like to try to configure the mouse? Note that you will need the root password for this.");
-const char *foo = N_("Would you like to try to configure the mouse? Note that you will need the root password for this.");
-const char *foo = N_("This is the failsafe xterm session. Windows now have focus only if you have your cursor above them. To get out of this mode type 'exit' in the window in the upper left corner");
-const char *foo = N_("Failed to start the session, so starting a failsafe xterm session. Windows will have focus only if the mouse pointer is above them. To get out of this mode type 'exit' in the window in the upper left corner");
diff --git a/config/gnome.desktop.in.in b/config/gnome.desktop.in.in
deleted file mode 100644
index a522fb45..00000000
--- a/config/gnome.desktop.in.in
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-_Name=GNOME
-_Comment=This session logs you into GNOME
-Exec=@GDMGNOMESESSIONCMD@
-TryExec=@GDMGNOMESESSIONCMD@
-# no icon yet, only the top three are currently used
-Icon=
-Type=Application
diff --git a/config/locale.alias b/config/locale.alias
deleted file mode 100644
index 0241e393..00000000
--- a/config/locale.alias
+++ /dev/null
@@ -1,145 +0,0 @@
-# NOTE! This is a broken way to do things. GDM currently reads languages ONLY
-# from this file. This is Broken(tm). This setup will be replaced in some
-# future version to be replaced by some automatic detection of available
-# locales. This file is not really a locale.alias file and the first word
-# is used as a label in case gdm doesn't know this language personally,
-# else it's ignored.
-#
-# The format of this file is SIMILAR (but not the same to the locale.alias
-# format). You could however point gdm at a real locale.alias and it would
-# still concievably work. Note that the first word cannot contain any spaces.
-# The second word can be a comma separated list of locales to try. GDM will
-# try if each locale exists and only if it does will it show that locale. The
-# list is tried in order and the first working one is used.
-#
-# - George
-
-C(POSIX) C,POSIX
-Afrikaans af_ZA.UTF-8,af_ZA
-Albanian sq_AL.UTF-8,sq_AL
-Amharic am_ET.UTF-8,am_ET
-Arabic(Egypt) ar_EG.UTF-8,ar_EG
-Arabic(Lebanon) ar_LB.UTF-8,ar_LB
-Arabic(SaudiArabia) ar_SA.UTF-8,ar_SA
-Armenian hy_AM.UTF-8,hy_AM
-Azerbaijani az_AZ.UTF-8,az_AZ
-Azerbaijani(Iran) az_IR.UTF-8,az_IR
-Basque eu_ES.UTF-8,eu_ES
-Belarusian be_BY.UTF-8,be_BY
-Bengali bn_BD.UTF-8,bn_BD
-Bengali(India) bn_IN.UTF-8,bn_IN
-Bosnian bs_BA.UTF-8,bs_BA
-Breton br_FR.UTF-8,br_FR
-Bulgarian bg_BG.UTF-8,bg_BG
-Catalan ca_ES.UTF-8,ca_ES
-Chinese(ChinaMainland) zh_CN.UTF-8,zh_CN
-Chinese(GB18030) zh_CN.GB18030
-Chinese(Hong-Kong) zh_HK.UTF-8,zh_HK
-Chinese(Singapore) zh_SG.UTF-8,zh_SG
-Chinese(Taiwan) zh_TW.UTF-8,zh_TW
-Croatian hr_HR.UTF-8,hr_HR
-Czech cs_CZ.UTF-8,cs_CZ
-Danish da_DK.UTF-8,da_DK
-Dutch nl_NL.UTF-8,nl_NL
-Dutch(Belgium) nl_BE.UTF-8,nl_BE
-English(Australia) en_AU.UTF-8,en_AU
-English(Canada) en_CA.UTF-8,en_CA
-English(Ireland) en_IE.UTF-8,en_IE
-English(Malta) en_MT.UTF-8,en_MT
-English(NewZealand) en_NZ.UTF-8,en_NZ
-English(SouthAfrica) en_ZA.UTF-8,en_ZA
-English(UK) en_GB.UTF-8,en_GB
-English(USA) en_US.UTF-8,en_US
-Esperanto eo.UTF-8,eo
-Estonian et_EE.UTF-8,et_EE
-Finnish fi_FI.UTF-8,fi_FI
-French fr_FR.UTF-8,fr_FR
-French(Belgium) fr_BE.UTF-8,fr_BE
-French(Canada) fr_CA.UTF-8,fr_CA
-French(Luxembourg) fr_LU.UTF-8,fr_LU
-French(Switzerland) fr_CH.UTF-8,fr_CH
-Galician gl_ES.UTF-8,gl_ES
-German de_DE.UTF-8,de_DE
-German(Austria) de_AT.UTF-8,de_AT
-German(Switzerland) de_CH.UTF-8,de_CH
-German(Luxembourg) de_LU.UTF-8,de_LU
-Greek el_GR.UTF-8,el_GR
-Greek(Cyprus) el_CY.UTF-8,el_CY
-Gujarati gu_IN.UTF-8,gu_IN
-Hebrew he_IL.UTF-8,he_IL
-Hindi hi_IN.UTF-8,hi_IN
-Hungarian hu_HU.UTF-8,hu_HU
-Icelandic is_IS.UTF-8,is_IS
-Indonesian id_ID.UTF-8,id_ID
-Interlingua ia.UTF-8,ia
-Irish ga_IE.UTF-8,ga_IE
-Italian it_IT.UTF-8,it_IT
-Japanese ja_JP.UTF-8,ja_JP
-Kannada kn_IN.UTF-8,kn_IN
-Kinyarwanda rw_RW.UTF-8,rw_RW
-Korean ko_KR.UTF-8,ko_KR
-Latvian lv_LV.UTF-8,lv_LV
-Limburgish li_NL.UTF-8,li_NL
-Limburgish(Belgium) li_BE.UTF-8,li_BE
-Limburgish(Germany) li_DE.UTF-8,li_DE
-Lithuanian lt_LT.UTF-8,lt_LT
-Macedonian mk_MK.UTF-8,mk_MK
-Malayalam ml_IN.UTF-8,ml_IN
-Malay ms_MY.UTF-8,ms_MY
-Maltese mt_MT.UTF-8,mt_MT
-Maori mi_NZ.UTF-8,mi_NZ
-Marathi mr_IN.UTF-8,mr_IN
-Mongolian mn_MN.UTF-8,mn_MN
-Nepali ne_NP.UTF-8,ne_NP
-NorthernSotho nso_ZA.UTF-8,nso_ZA
-Norwegian(bokmal) nb_NO.UTF-8,nb_NO,no_NO.UTF-8,no_NO
-Norwegian(nynorsk) nn_NO.UTF-8,nn_NO
-Oriya or_IN.UTF-8,or_IN
-Persian fa_IR.UTF-8,fa_IR
-Polish pl_PL.UTF-8,pl_PL
-Portuguese(Brazilian) pt_BR.UTF-8,pt_BR
-Portuguese pt_PT.UTF-8,pt_PT
-Punjabi pa_IN.UTF-8,pa_IN
-Romanian ro_RO.UTF-8,ro_RO
-Russian ru_RU.UTF-8,ru_RU
-Serbian sr_CS.UTF-8,sr_CS,sr_YU@cyrillic,sr_YU
-Serbian(Montenegro) sr_ME.UTF-8
-Serbian(Serbia) sr_RS.UTF-8
-Serbian(Bosnia) sh_BA.UTF-8,sh_BA
-Serbian(Latin) sr_CS.UTF-8@Latn,sr_CS@Latn,sr_YU@Latn
-Serbian(Jekavian) sr_CS.UTF-8@ije,sr_CS@ije,sr_YU@ije
-Slovak sk_SK.UTF-8,sk_SK
-Slovenian sl_SI.UTF-8,sl_SI
-Spanish es_ES.UTF-8,es_ES
-Spanish(Argentina) es_AR.UTF-8,es_AR
-Spanish(Bolivia) es_BO.UTF-8,es_BO
-Spanish(Chile) es_CL.UTF-8,es_CL
-Spanish(Colombia) es_CO.UTF-8,es_CO
-Spanish(CostaRica) es_CR.UTF-8,es_CR
-Spanish(Ecuador) es_EC.UTF-8,es_EC
-Spanish(Guatemala) es_GT.UTF-8,es_GT
-Spanish(Mexico) es_MX.UTF-8,es_MX
-Spanish(Nicaragua) es_NI.UTF-8,es_NI
-Spanish(Panama) es_PA.UTF-8,es_PA
-Spanish(Peru) es_PE.UTF-8,es_PE
-Spanish(Paraguay) es_PY.UTF-8,es_PY
-Spanish(ElSalvador) es_SV.UTF-8,es_SV
-Spanish(Uruguay) es_UY.UTF-8,es_UY
-Spanish(Venezuela) es_VE.UTF-8,es_VE
-Swedish(Finland) sv_FI.UTF-8,sv_FI
-Swedish sv_SE.UTF-8,sv_SE
-Tagalog tl_PH.UTF-8,tl_PH
-Tajik tg_TJ.UTF-8,tg_TJ
-Tamil ta_IN.UTF-8,ta_IN
-Telugu te_IN.UTF-8,te_IN
-Thai th_TH.UTF-8,th_TH
-Turkish tr_TR.UTF-8,tr_TR
-Ukrainian uk_UA.UTF-8,uk_UA
-Uzbek uz_UZ.UTF-8,uz_UZ
-Uzbek(Latin) uz_UZ.UTF-8@Latn,uz_UZ@Latn
-Vietnamese vi_VN.UTF-8,vi_VN
-Walloon wa_BE.UTF-8,wa_BE
-Welsh cy_GB.UTF-8,cy_GB
-Xhosa xh_ZA.UTF-8,xh_ZA
-Yiddish yi.UTF-8,yi
-Zulu zu_ZA.UTF-8,zu_ZA
diff --git a/config/ssh.desktop.in.in b/config/ssh.desktop.in.in
deleted file mode 100644
index e2a128fa..00000000
--- a/config/ssh.desktop.in.in
+++ /dev/null
@@ -1,6 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-_Name=Secure Remote connection
-_Comment=This session logs you into a remote host using ssh
-Exec=@GDMSSHSESSIONCMD@
-Type=Application