diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-21 02:23:03 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-21 02:23:03 -0600 |
commit | 9b58d35185905f8334142bf4988cb784e993aea7 (patch) | |
tree | f83ec30722464f6e4d23d6e7a40201d7ef5b6bf4 /tde-i18n-en_GB/docs/kdebase/kdm | |
download | tde-i18n-9b58d35185905f8334142bf4988cb784e993aea7.tar.gz tde-i18n-9b58d35185905f8334142bf4988cb784e993aea7.zip |
Initial import of extracted KDE i18n tarballs
Diffstat (limited to 'tde-i18n-en_GB/docs/kdebase/kdm')
-rw-r--r-- | tde-i18n-en_GB/docs/kdebase/kdm/Makefile.am | 4 | ||||
-rw-r--r-- | tde-i18n-en_GB/docs/kdebase/kdm/Makefile.in | 635 | ||||
-rw-r--r-- | tde-i18n-en_GB/docs/kdebase/kdm/index.cache.bz2 | bin | 0 -> 28371 bytes | |||
-rw-r--r-- | tde-i18n-en_GB/docs/kdebase/kdm/index.docbook | 1812 | ||||
-rw-r--r-- | tde-i18n-en_GB/docs/kdebase/kdm/kdmrc-ref.docbook | 3221 |
5 files changed, 5672 insertions, 0 deletions
diff --git a/tde-i18n-en_GB/docs/kdebase/kdm/Makefile.am b/tde-i18n-en_GB/docs/kdebase/kdm/Makefile.am new file mode 100644 index 00000000000..d54600f7b69 --- /dev/null +++ b/tde-i18n-en_GB/docs/kdebase/kdm/Makefile.am @@ -0,0 +1,4 @@ +KDE_LANG = en_GB +SUBDIRS = $(AUTODIRS) +KDE_DOCS = kdm +KDE_MANS = AUTO diff --git a/tde-i18n-en_GB/docs/kdebase/kdm/Makefile.in b/tde-i18n-en_GB/docs/kdebase/kdm/Makefile.in new file mode 100644 index 00000000000..1b9e0c2eacc --- /dev/null +++ b/tde-i18n-en_GB/docs/kdebase/kdm/Makefile.in @@ -0,0 +1,635 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# KDE tags expanded automatically by am_edit - $Revision: 483858 $ +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = docs/kdebase/kdm +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +#>- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +#>- html-recursive info-recursive install-data-recursive \ +#>- install-dvi-recursive install-exec-recursive \ +#>- install-html-recursive install-info-recursive \ +#>- install-pdf-recursive install-ps-recursive install-recursive \ +#>- installcheck-recursive installdirs-recursive pdf-recursive \ +#>- ps-recursive uninstall-recursive +#>+ 7 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive nmcheck-recursive bcheck-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +#>+ 1 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +ARTSCCONFIG = @ARTSCCONFIG@ +AUTOCONF = @AUTOCONF@ +AUTODIRS = @AUTODIRS@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CONF_FILES = @CONF_FILES@ +CYGPATH_W = @CYGPATH_W@ +DCOPIDL = @DCOPIDL@ +DCOPIDL2CPP = @DCOPIDL2CPP@ +DCOPIDLNG = @DCOPIDLNG@ +DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@ +DEFS = @DEFS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +GMSGFMT = @GMSGFMT@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@ +KCONFIG_COMPILER = @KCONFIG_COMPILER@ +KDECONFIG = @KDECONFIG@ +KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@ +KDE_RPATH = @KDE_RPATH@ +KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MAKEKDEWIDGETS = @MAKEKDEWIDGETS@ +MCOPIDL = @MCOPIDL@ +MEINPROC = @MEINPROC@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +TOPSUBDIRS = @TOPSUBDIRS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +XMLLINT = @XMLLINT@ +X_RPATH = @X_RPATH@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +#>- bindir = @bindir@ +#>+ 2 +DEPDIR = .deps +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +kde_appsdir = @kde_appsdir@ +kde_bindir = @kde_bindir@ +kde_confdir = @kde_confdir@ +kde_datadir = @kde_datadir@ +kde_htmldir = @kde_htmldir@ +kde_icondir = @kde_icondir@ +kde_kcfgdir = @kde_kcfgdir@ +kde_libs_htmldir = @kde_libs_htmldir@ +kde_libs_prefix = @kde_libs_prefix@ +kde_locale = @kde_locale@ +kde_mimedir = @kde_mimedir@ +kde_moduledir = @kde_moduledir@ +kde_servicesdir = @kde_servicesdir@ +kde_servicetypesdir = @kde_servicetypesdir@ +kde_sounddir = @kde_sounddir@ +kde_styledir = @kde_styledir@ +kde_templatesdir = @kde_templatesdir@ +kde_wallpaperdir = @kde_wallpaperdir@ +kde_widgetdir = @kde_widgetdir@ +kdeinitdir = @kdeinitdir@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +xdg_appsdir = @xdg_appsdir@ +xdg_directorydir = @xdg_directorydir@ +xdg_menudir = @xdg_menudir@ +KDE_LANG = en_GB +#>- SUBDIRS = $(AUTODIRS) +#>+ 1 +SUBDIRS =. +KDE_DOCS = kdm +KDE_MANS = AUTO +#>- all: all-recursive +#>+ 1 +all: docs-am all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) +#>- @for dep in $?; do \ +#>- case '$(am__configure_deps)' in \ +#>- *$$dep*) \ +#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ +#>- && exit 0; \ +#>- exit 1;; \ +#>- esac; \ +#>- done; \ +#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/kdebase/kdm/Makefile'; \ +#>- cd $(top_srcdir) && \ +#>- $(AUTOMAKE) --gnu docs/kdebase/kdm/Makefile +#>+ 12 + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/kdebase/kdm/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu docs/kdebase/kdm/Makefile + cd $(top_srcdir) && perl ../scripts/admin/am_edit -p../scripts/admin docs/kdebase/kdm/Makefile.in +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +#>- distdir: $(DISTFILES) +#>+ 1 +distdir: distdir-nls $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +#>- uninstall: uninstall-recursive +#>+ 1 +uninstall: uninstall-docs uninstall-nls uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +#>- clean: clean-recursive +#>+ 1 +clean: kde-rpo-clean clean-recursive + +#>- clean-am: clean-generic mostlyclean-am +#>+ 1 +clean-am: clean-docs clean-bcheck clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +#>- install-data-am: +#>+ 1 +install-data-am: install-docs install-nls + +install-dvi: install-dvi-recursive + +install-exec-am: + +install-html: install-html-recursive + +install-info: install-info-recursive + +install-man: + +install-pdf: install-pdf-recursive + +install-ps: install-ps-recursive + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ + install-strip + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic ctags \ + ctags-recursive distclean distclean-generic distclean-tags \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ + tags-recursive uninstall uninstall-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: + +#>+ 2 +KDE_DIST=kdmrc-ref.docbook Makefile.in index.docbook Makefile.am index.cache.bz2 + +#>+ 24 +index.cache.bz2: $(srcdir)/index.docbook $(KDE_XSL_STYLESHEET) kdmrc-ref.docbook index.docbook + @if test -n "$(MEINPROC)"; then echo $(MEINPROC) --check --cache index.cache.bz2 $(srcdir)/index.docbook; $(MEINPROC) --check --cache index.cache.bz2 $(srcdir)/index.docbook; fi + +docs-am: index.cache.bz2 + +install-docs: docs-am install-nls + $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm + @if test -f index.cache.bz2; then \ + echo $(INSTALL_DATA) index.cache.bz2 $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm/; \ + $(INSTALL_DATA) index.cache.bz2 $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm/; \ + elif test -f $(srcdir)/index.cache.bz2; then \ + echo $(INSTALL_DATA) $(srcdir)/index.cache.bz2 $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm/; \ + $(INSTALL_DATA) $(srcdir)/index.cache.bz2 $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm/; \ + fi + -rm -f $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm/common + $(LN_S) $(kde_libs_htmldir)/$(KDE_LANG)/common $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm/common + +uninstall-docs: + -rm -rf $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm + +clean-docs: + -rm -f index.cache.bz2 + + +#>+ 13 +install-nls: + $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm + @for base in kdmrc-ref.docbook index.docbook ; do \ + echo $(INSTALL_DATA) $$base $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm/$$base ;\ + $(INSTALL_DATA) $(srcdir)/$$base $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm/$$base ;\ + done + +uninstall-nls: + for base in kdmrc-ref.docbook index.docbook ; do \ + rm -f $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kdm/$$base ;\ + done + + +#>+ 5 +distdir-nls: + for file in kdmrc-ref.docbook index.docbook ; do \ + cp $(srcdir)/$$file $(distdir); \ + done + +#>+ 15 +force-reedit: + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/kdebase/kdm/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu docs/kdebase/kdm/Makefile + cd $(top_srcdir) && perl ../scripts/admin/am_edit -p../scripts/admin docs/kdebase/kdm/Makefile.in + + +#>+ 21 +clean-bcheck: + rm -f *.bchecktest.cc *.bchecktest.cc.class a.out + +bcheck: bcheck-recursive + +bcheck-am: + @for i in ; do \ + if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \ + echo "int main() {return 0;}" > $$i.bchecktest.cc ; \ + echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \ + echo "$$i"; \ + if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \ + rm -f $$i.bchecktest.cc; exit 1; \ + fi ; \ + echo "" >> $$i.bchecktest.cc.class; \ + perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \ + rm -f a.out; \ + fi ; \ + done + + +#>+ 3 +final: + $(MAKE) all-am + +#>+ 3 +final-install: + $(MAKE) install-am + +#>+ 3 +no-final: + $(MAKE) all-am + +#>+ 3 +no-final-install: + $(MAKE) install-am + +#>+ 3 +kde-rpo-clean: + -rm -f *.rpo + +#>+ 3 +nmcheck: +nmcheck-am: nmcheck diff --git a/tde-i18n-en_GB/docs/kdebase/kdm/index.cache.bz2 b/tde-i18n-en_GB/docs/kdebase/kdm/index.cache.bz2 Binary files differnew file mode 100644 index 00000000000..ba71a9916b9 --- /dev/null +++ b/tde-i18n-en_GB/docs/kdebase/kdm/index.cache.bz2 diff --git a/tde-i18n-en_GB/docs/kdebase/kdm/index.docbook b/tde-i18n-en_GB/docs/kdebase/kdm/index.docbook new file mode 100644 index 00000000000..f9cb886ecf9 --- /dev/null +++ b/tde-i18n-en_GB/docs/kdebase/kdm/index.docbook @@ -0,0 +1,1812 @@ +<?xml version="1.0" ?> +<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" +"dtd/kdex.dtd" [ + <!ENTITY kappname "&kdm;"> + <!ENTITY package "kdebase"> + <!ENTITY kdmrc "<filename +>kdmrc</filename +>"> + <!ENTITY XDMCP "<acronym +>XDMCP</acronym +>"> + <!ENTITY xdm "<application +>xdm</application +>"> + <!ENTITY kdmrc-ref SYSTEM "kdmrc-ref.docbook"> + <!ENTITY % addindex "INCLUDE"> + <!ENTITY % British-English "INCLUDE" +> <!-- change language only here --> +]> + +<book lang="&language;"> +<bookinfo> +<title +>The &kdm; Handbook</title> + +<authorgroup> +<author +>&Oswald.Buddenhagen; &Oswald.Buddenhagen.mail; </author +><!-- +<othercredit role="developer"> +&Oswald.Buddenhagen; &Oswald.Buddenhagen.mail; +<contrib +>Developer</contrib> +</othercredit> +<othercredit role="reviewer"> +&Lauri.Watts; &Lauri.Watts.mail; +<contrib +>Reviewer</contrib> +</othercredit +> --> + +<othercredit role="translator" +><firstname +>John</firstname +><surname +>Knight</surname +><affiliation +><address +><email +>anarchist_tomato@herzeleid.net</email +></address +></affiliation +><contrib +>Conversion to British English</contrib +></othercredit +> + +</authorgroup> + +<copyright> +<year +>2000</year> +<holder +>&Neal.Crook;</holder> +</copyright> + +<copyright> +<year +>2002</year> +<holder +>&Oswald.Buddenhagen;</holder> +</copyright> + +<copyright> +<year +>2003</year> +<holder +>&Lauri.Watts;</holder> +</copyright> + +<date +>2003-03-01</date> +<releaseinfo +>0.05.02</releaseinfo> + +<abstract> +<para +>This document describes &kdm; the &kde; Display Manager. &kdm; is also known as the <quote +>Login Manager</quote +>.</para> +</abstract> + +<keywordset> +<keyword +>KDE</keyword> +<keyword +>kdm</keyword> +<keyword +>xdm</keyword> +<keyword +>display manager</keyword> +<keyword +>login manager</keyword> +</keywordset> +</bookinfo> + +<!-- ********************************************************************** --> +<chapter id="introduction"> +<title +>Introduction</title> + +<para +>&kdm; provides a graphical interface that allows you to log in to a system. It prompts for login (username) and password, authenticates the user and starts a <quote +>session</quote +>. &kdm; is superior to &xdm;, the X Display Manager, in a number of ways.</para> + +</chapter> + +<!-- Chapters to write --> +<!-- * Just enough config to get it to run and login to KDE + * Adding more session types (GNOME, etc) + * Adding other customizations to XSession (ssh/gpg-agent, etc) + * Further customization to KDM (via the kcontrol module, and by + hand) + * XDMCP by query + * XDMCP by broadcast + * Sound transparency (if Ade can tell me how!) + * Document all Keys in the Config File + * Pull in all options from the KControl Module + * More resources +--> + +<chapter id="quickstart"> +<title +>Quick Start Guide</title> + +<para +>This is a quick start guide for users who fit the following pattern:</para> + +<itemizedlist> +<listitem> +<para +>X is configured and works with the command <command +>startx</command +> from the commandline.</para> +</listitem> +<listitem> +<para +>Each user will generally only use a single window manager or desktop environment, and does not change this choice very often, or is comfortable editing a single text file in order to change their choice.</para> +</listitem> +</itemizedlist> + +<para +>This scenario will be sufficient for many environments where a single user or several users normally boot the computer and log into their preferred environment.</para> + +<procedure> +<title +>Setting up a Default Session</title> +<step> +<para +>Create or open the file <filename +>~/.xinitrc</filename +></para> +<para +>If you already have a working <filename +>~/.xinitrc</filename +>, go to the next step</para> +</step> +<step> +<para +>If one does not already exist, add a line to the <filename +>~/.xinitrc</filename +> to start your preferred window manager or desktop environment.</para> +<para +>For &kde; you should enter:</para> +<screen +><userinput +>startkde</userinput +></screen> +<para +>For other window managers or desktop environments, you should look in their documentation for the correct command.</para> +</step> +<step +><para +>Make a link as follows:</para> +<screen +><userinput +><command +>ln</command +> <option +>-s</option +> <parameter +>~/.xinitrc ~/.xsession</parameter +></userinput +></screen> +</step> +</procedure> + +<para +>At this point, typing <userinput +><command +>startx</command +></userinput +> on the commandline should start X, with a &kde; session. The next task is to try &kdm;.</para> + +<para +>As <systemitem class="username" +>root</systemitem +>, type <userinput +><command +>kdm</command +></userinput +> at the prompt.</para> + +<para +>You should see a login window, which is described more fully in<xref linkend="login"/>.</para> + +<para +>Typing your normal username and password in the fields provided, and leaving <option +>default</option +> selected as the session type should now open a &kde; session for your user.</para> + +<para +>If you have other users to configure, you should repeat the procedure above for each of them.</para> + +<note> +<para +>This is a quick guide to getting up and running only. You probably will want to customise &kdm; further, for example, to hide the names of the system accounts, to allow further sessions, and much more. Please read through the rest of this manual to find out how to do these things.</para> +</note> + +</chapter> + +<chapter id="login" +> +<title +>The Login Window</title +> + +<para +>The user interface to &kdm; consists of two dialogue boxes. The main dialogue box has these controls:</para> + +<itemizedlist +> +<listitem> +<para +>A <guilabel +>Username:</guilabel +> field for you to enter your username.</para> +</listitem> + +<listitem> +<para +>A <guilabel +>Password:</guilabel +> field for you to enter your password.</para> +</listitem> + +<listitem> +<para +>(Optionally) a graphical image of each user (for example, a digitised photograph). Clicking on an image is equivalent to typing the associated username into the <guilabel +>Username:</guilabel +> field. (This feature is an imitation of the login box on IRIX).</para +> </listitem> + +<listitem> +<para +>A <guilabel +>Menu</guilabel +> drop-down box that allows &kdm; to be used to start sessions with various different window managers or desktop environments installed on the system.</para> +</listitem> + +<listitem> +<para +>(Optionally) a region to the right of the <guilabel +>Username:</guilabel +>, <guilabel +>Password:</guilabel +> and <guilabel +>Session Type:</guilabel +> fields which can be used to display either a static image or an analogue clock.</para> +</listitem> + +<listitem> +<para +>A <guibutton +>Login</guibutton +> button that validates the username/password combination and attempts to start a session of the selected type.</para +> +</listitem> + +<listitem> +<para +>A <guibutton +>Clear</guibutton +> button that clears the text from the <guilabel +>Login</guilabel +> and <guilabel +>Pass</guilabel +> fields.</para> +</listitem +> + +<listitem> +<para +>(Optionally) A <guibutton +>Shutdown</guibutton +> button that displays the <guibutton +>Shutdown</guibutton +> dialogue box.</para> +</listitem> +<listitem> +<para +>A <guibutton +>Menu</guibutton +> button that opens an action menu with the following items:</para> + +<itemizedlist> +<listitem> +<para +>(On local displays) a <guimenuitem +>Restart X Server</guimenuitem +> item that terminates the currently running &X-Server;, starts a new one and displays the login dialogue again. You can use this if the display content seems to be broken somehow.</para> +</listitem> + +<listitem> +<para +>(On remote displays) A <guimenuitem +>Close Connection</guimenuitem +> item that closes the connection to the XDMCP server you are currently connected to. If you got to this server through a host chooser, this will bring you back to the chooser, otherwise it will only reset the &X-Server; and bring up the login dialogue again.</para> +</listitem> + +<listitem> +<para +>(Optionally on local displays) A <guimenuitem +>Console Mode</guimenuitem +> item that terminates the currently running &X-Server; and leaves you alone with a console login. &kdm; will resume the graphical login if nobody is logged in at the console for some time. To make this work, you need to use the local@<console> syntax in the <filename +>Xservers</filename +> file (see comments in that file).</para> +</listitem> +</itemizedlist> +</listitem> + +<listitem> +<para +>(Optionally) A <guibutton +>Shutdown...</guibutton +> button that displays the shutdown dialogue box.</para> +</listitem> +</itemizedlist> + +<para +>The <guilabel +>Shutdown</guilabel +> dialogue box presents a set of radio buttons that allow one of these options to be selected:</para> + +<variablelist> +<varlistentry> +<term +>Shutdown</term> +<listitem +><para +>Shut the system down in a controlled manner, ready for power-down.</para +></listitem> +</varlistentry> +<varlistentry> +<term +>Restart</term> +<listitem +><para +>Shut the system down and reboot. For systems that use <application +>Lilo</application +>, an optional drop-down box allows you to select a particular operating-system kernel to be used for the reboot.</para> +</listitem> +</varlistentry> +<varlistentry> +<term +>Restart X Server</term +> +<listitem> +<para +>Stop and then restart the X-server. Typically, you might need to use this option if you have changed your X11 configuration in some way.</para> +</listitem +> +</varlistentry> +<varlistentry> +<term +>Console Mode</term> +<listitem> +<para +>Stop the &X-Server; and return the system to console mode. This is achieved by bringing the system down to run-level 3. Typically, the system manager might need to use this option before upgrading or re-configuring X11 software.</para> +</listitem +> +</varlistentry> +</variablelist> + +<para +>Pressing the <guibutton +>OK</guibutton +> button initiates the selected action; pressing the <guibutton +>Cancel</guibutton +> button returns to the main &kdm; dialogue box. </para> + +</chapter> + +<!-- *********************************************************************** --> +<chapter id="configuring-kdm"> +<title +>Configuring &kdm;</title> + +<para +>This chapter assumes that &kdm; is already up and running on your system, and that you simply want to change its behaviour in some way.</para> + +<para +>When &kdm; starts up, it reads its configuration from the folder <filename class="directory" +>$KDEDIR/share/config/kdm/</filename +> (this may be <filename class="directory" +>/etc/kde3/kdm/</filename +> or something else on your system).</para> + +<para +>The main configuration file is &kdmrc;; all other files are referenced from there and could be stored under any name anywhere on the system - but usually that would not make much sense for obvious reasons (one particular exception is referencing configuration files of an already installed &xdm; - however when a new &kdm; is installed, it will import settings from those files if it finds an already installed &xdm;).</para> + +<para +>Since &kdm; must run before any user is logged in, it is not associated with any particular user. Therefore, it is not possible to have user-specific configuration files; all users share the common &kdmrc;. It follows from this that the configuration of &kdm; can only be altered by those users that have write access to <filename +>$<envar +>KDEDIR</envar +>/share/config/kdm/kdmrc</filename +> (normally restricted to system administrators logged in as <systemitem class="username" +>root</systemitem +>).</para> + +<para +>You can view the &kdmrc; file currently in use on your system, and you can configure &kdm; by editing this file. Alternatively, you can use the graphical configuration tool provided by the &kcontrolcenter; (under <menuchoice +><guisubmenu +>System Administration</guisubmenu +><guimenuitem +>Login Manager</guimenuitem +></menuchoice +>), which is described in <ulink url="help:/kcontrol/login-manager.html" +>the &kcontrol; help files</ulink +>. </para> + +<para +>The remainder of this chapter describes configuration of &kdm; via the &kcontrol; module, and the <link linkend="kdm-files" +>next chapter</link +> describes the options available in &kdmrc; itself. If you only need to configure for local users, the &kcontrol; module should be sufficient for your needs. If you need to configure remote logins, or have multiple &kdm; sessions running, you will need to read on.</para> + +<sect1 id="kdm-kcontrol-module"> +<sect1info> +<authorgroup> +<author +>&Thomas.Tanghus; &Thomas.Tanghus.mail;</author> +<author +>&Steffen.Hansen; &Steffen.Hansen.mail;</author> +<author +>&Mike.McBride; &Mike.McBride.mail;</author> +<othercredit role="translator" +><firstname +>John</firstname +><surname +>Knight</surname +><affiliation +><address +><email +>anarchist_tomato@herzeleid.net</email +></address +></affiliation +><contrib +>Conversion to British English</contrib +></othercredit +> +</authorgroup> +</sect1info> + +<title +>The Login Manager &kcontrol; Module</title> + +<para +>Using this module, you can configure the &kde; graphical login manager, &kdm;. You can change how the login screen looks, who has access using the login manager and who can shutdown the computer.</para> + +<note +><para +>All settings will be written to the configuration file &kdmrc;, which in it's original state has many comments to help you configure &kdm;. Using this &kcontrol; module will strip these comments from the file. All available options in &kdmrc; are covered in <xref linkend="kdm-files"/>.</para> + +<para +>The options listed in this chapter are cross referenced with their equivalents in &kdmrc;. All options available in the &kcontrol; module are also available directly in &kdmrc; but the reverse is not true.</para +></note> + +<para +>In order to organise all of these options, this module is divided into several sections: <link linkend="kdmconfig-appearance" +><guilabel +>Appearance</guilabel +></link +>, <link linkend="kdmconfig-font" +><guilabel +>Font</guilabel +></link +>, <link linkend="kdmconfig-background" +><guilabel +>Background</guilabel +></link +>, <link linkend="kdmconfig-shutdown" +><guilabel +>Shutdown</guilabel +></link +>, <link linkend="kdmconfig-users" +><guilabel +>Users</guilabel +></link +> and <link linkend="kdmconfig-convenience" +><guilabel +>Convenience</guilabel +></link +>.</para> + +<para +>You can switch between the sections using the tabs at the top of the window.</para> + +<note +><para +>If you are not currently logged in as a superuser, you will need to click the <guibutton +>Administrator Mode</guibutton +> Button. You will then be asked for a superuser password. Entering a correct password will allow you to modify the settings of this module.</para +></note> + +<sect2 id="kdmconfig-appearance"> +<title +>Appearance</title> + +<para +>From this page you can change the visual appearance of &kdm;, &kde;'s graphical login manager.</para> + +<para +>The <guilabel +>Greeting:</guilabel +> is the title of the login screen. Setting this is especially useful if you have many servers users may log in to. You may use various placeholders, which are described along with the corresponding key <link linkend="option-greetstring" +><option +>GreetString</option +></link +> in &kdmrc;. </para> + +<para +>You can then choose to show either the current system time, a logo or nothing special in the login box. Make your choice in the radio buttons labelled <guilabel +>Logo area:</guilabel +>. This corresponds to <link linkend="option-logoarea" +><option +>LogoArea</option +></link +> in &kdmrc;</para> + +<para +>If you chose <guilabel +>Show logo</guilabel +> you can now choose a logo:</para> + +<itemizedlist> +<listitem> +<para +>Drop an image file on the image button.</para> +</listitem> +<listitem> +<para +>Click on the image button and select a new image from the image chooser dialogue.</para> +</listitem> +</itemizedlist> + +<para +>If you do not specify a logo the default <filename +>$<envar +>KDEDIR</envar +>/share/apps/kdm/pics/kdelogo.xpm</filename +> will be displayed.</para> + +<para +>Normally the login box is centred on the screen. Use the <guilabel +>Position:</guilabel +> options if you want it to appear elsewhere on the screen. You can specify the relative position (percentage of the screen size) for the centre of the login window, relative to the top left of the display, in the fields labelled <guilabel +>X:</guilabel +> and <guilabel +>Y:</guilabel +> respectively. These correspond to the key <link linkend="option-greeterpos" +><option +>GreeterPos</option +></link +> in &kdmrc;.</para> + +<para +>While &kde;'s style depends on the settings of the user logged in, the style used by &kdm; can be configured using the <guilabel +>GUI Style:</guilabel +> and <guilabel +>Colour Scheme:</guilabel +> options. These correspond to the keys <link linkend="option-guistyle" +><option +>GUIStyle</option +></link +> and <link linkend="option-colorscheme" +><option +>ColorScheme</option +></link +> in &kdmrc; respectively.</para> + +<para +>Below that, you have a dropdown box to choose the language for your login box, corresponding to setting <option +>Language</option +> in &kdmrc;.</para> + +</sect2> + +<sect2 id="kdmconfig-font"> +<title +>Font</title> + +<para +>From this section of the module you can change the fonts used in the login window. Only fonts available to all users are available here, not fonts you have installed on a per user basis.</para> + +<para +>You can select three different font styles from the drop down box (<guilabel +>General:</guilabel +>, <guilabel +>Failures:</guilabel +>, <guilabel +>Greeting</guilabel +>). When you click on the <guibutton +>Choose...</guibutton +> button a dialogue appears from which you can select the new characteristics for the font style.</para> + +<itemizedlist> +<listitem> +<para +>The <guilabel +>General:</guilabel +> font is used in all other places in the login window.</para> +</listitem> +<listitem> +<para +>The <guilabel +>Failures:</guilabel +> font is used when a login fails.</para> +</listitem> +<listitem> +<para +>The <guilabel +>Greeting:</guilabel +> font is the font used for the title (Greeting String).</para> +</listitem> +</itemizedlist> + +<para +>You can also check the box labelled <guilabel +>Use anti-aliasing for fonts</guilabel +> if you want smoothed fonts in the login dialogue.</para> + +<para +>An example of each font can be seen in the <guilabel +>Example</guilabel +> Box.</para> + +</sect2> + +<sect2 id="kdmconfig-background"> +<title +>Background</title> + +<para +>Here you can change the desktop background which will be displayed before a user logs in. You can have a single colour or an image as a background. If you have an image as the background and select centre, the selected background colour will be used around the image if it is not large enough to cover the entire desktop.</para> + +<para +>The background colours and effects are controlled by the options on the tab labelled <guilabel +>Background</guilabel +> and you select a background image and its placement from the options on the tab labelled <guilabel +>Wallpaper</guilabel +>.</para> + +<para +>To change the default background colour(s) simply click either of the colour buttons and select a new colour.</para> + +<para +>The dropdown box above the colour buttons provides you with several different blend effects. Choose one from the list, and it will be previewed on the small monitor at the top of the window. Your choices are:</para> + +<variablelist> +<varlistentry> +<term +>Flat</term> +<listitem +><para +>By choosing this mode, you select one colour (using the colour button labelled <guibutton +>Colour 1</guibutton +>), and the entire background is covered with this one colour.</para +></listitem> +</varlistentry> +<varlistentry> +<term +>Pattern</term> +<listitem +><para +>By choosing this mode, you select two colours (using both colour buttons). </para +> <para +>You then select a pattern by clicking <guilabel +>Setup</guilabel +>. This opens a new dialogue window, which gives you the opportunity to select a pattern. Simply click once on the pattern of your choice, then click on <guilabel +>OK</guilabel +>, and &kde; will render the pattern you selected using the two colours you selected. For more on patterns, see the section <ulink url="help:/kcontrol/background/index.html#bkgnd-patterns" +>Background: Adding, Removing and Modifying Patterns</ulink +>.</para +></listitem> +</varlistentry> +<varlistentry> +<term +>Background Program</term> +<listitem +><para +>By selecting this option, you can have &kde; use an external program to determine the background. This can be any program of your choosing. For more information on this option, see the section entitled <ulink url="help:/kcontrol/background/index.html#bkgnd-programs" +>Background: Using an external program</ulink +>.</para +></listitem> +</varlistentry> +<varlistentry> +<term +>Horizontal Gradient</term> +<listitem +><para +>By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by <guilabel +>Colour 1</guilabel +> on the left edge of the screen, and slowly transform into the colour selected by <guilabel +>Colour 2</guilabel +> by the time it gets to the right edge of the screen.</para +></listitem> +</varlistentry> +<varlistentry> +<term +>Vertical Gradient</term> +<listitem +><para +>By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by <guilabel +>Colour 1</guilabel +> on the top edge of the screen, and slowly transform into the colour selected by <guilabel +>Colour 2</guilabel +> as it moves to the bottom of the screen.</para +></listitem> +</varlistentry> +<varlistentry> +<term +>Pyramid Gradient</term> +<listitem +><para +>By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by <guilabel +>Colour 1</guilabel +> in each corner of the screen, and slowly transform into the colour selected by <guilabel +>Colour 2</guilabel +> as it moves to the centre of the screen.</para +></listitem +> +</varlistentry> +<varlistentry> +<term +>Pipecross Gradient</term> +<listitem +><para +>By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by <guilabel +>Colour 1</guilabel +> in each corner of the screen, and slowly transform into the colour selected by <guilabel +>Colour 2</guilabel +> as it moves to the centre of the screen. The <quote +>shape</quote +> of this gradient is different then the pyramid gradient.</para +></listitem> +</varlistentry> +<varlistentry> +<term +>Elliptic Gradient</term> +<listitem +><para +>By choosing this mode, you select two colours (using both colour buttons). &kde; will then start with the colour selected by <guilabel +>Colour 2</guilabel +> in the centre of the screen, and slowly transform into the colour selected by <guilabel +>Colour 1</guilabel +> as it moves to the edges, in an elliptical pattern.</para +></listitem +> +</varlistentry> +</variablelist> + +<para +>The setup button is only needed for if you select <guilabel +>Background program</guilabel +> or <guilabel +>Patterns</guilabel +>. In these instances, another window will appear to configure the specifics.</para> +<para +><emphasis +>Wallpaper</emphasis +></para> +<para +>To select a new background image first, click on the <guilabel +>Wallpapers</guilabel +> tab, then you can either select an image from the drop-down list labelled <guilabel +>Wallpaper</guilabel +> or select <guibutton +>Browse...</guibutton +> and select an image file from a file selector.</para> + +<para +>The image can be displayed in six different ways:</para> +<variablelist> +<varlistentry> +<term +>No wallpaper</term +> +<listitem +><para +>No image is displayed. Just the background colours.</para> +</listitem +></varlistentry> +<varlistentry> +<term +>Centred</term +> +<listitem +><para +>The image will be centred on the screen. The background colours will be present anywhere the image does not cover.</para +> </listitem> +</varlistentry> +<varlistentry> +<term +>Tiled</term> +<listitem +><para +>The image will be duplicated until it fills the entire desktop. The first image will be placed in the upper left corner of the screen, and duplicated downward and to the right.</para +> </listitem> +</varlistentry> +<varlistentry> +<term +>Centre Tiled</term> +<listitem +><para +>The image will be duplicated until it fills the entire desktop. The first image will be placed in the centre of the screen, and duplicated upwards, downwards to the right, and to the left.</para +> </listitem> +</varlistentry> +<varlistentry> +<term +>Centred Maxpect</term> +<listitem +><para +>The image will be placed in the centre of the screen. It will be scaled to fit the desktop, but it will not change the aspect ratio of the original image. This will provide you with an image that is not distorted. </para +> </listitem> +</varlistentry> +<varlistentry> +<term +>Scaled</term> +<listitem +><para +>The image will be scaled to fit the desktop. It will be stretched to fit all four corners.</para +> </listitem> +</varlistentry> +</variablelist> + +</sect2> + +<sect2 id="kdmconfig-shutdown"> +<title +><guilabel +>Shutdown</guilabel +></title> + +<para +><guilabel +>Allow Shutdown</guilabel +></para> +<para +>Use these dropdown box to choose who is allowed to shut down:</para> +<itemizedlist> +<listitem> +<para +><guilabel +>Nobody</guilabel +>: No one can shutdown the computer using &kdm;. You must be logged in, and execute a command.</para> +</listitem> +<listitem> +<para +><guilabel +>Everybody</guilabel +>: Everyone can shutdown the computer using &kdm;.</para> +</listitem> +<listitem +><para +><guilabel +>Only Root</guilabel +>: &kdm; requires that the <systemitem +>root</systemitem +> password be entered before shutting down the computer.</para +></listitem +> +</itemizedlist> + +<para +>You can independently configure who is allowed to issue a shutdown command for the <guilabel +>Local:</guilabel +> and <guilabel +>Remote:</guilabel +> users.</para> + +<para +><emphasis +>Commands</emphasis +></para +> <para +>Use these text fields to define the exact shutdown command.</para +> <para +>The <guilabel +>Halt:</guilabel +> command defaults to <command +>/sbin/halt</command +>. The restart command defaults to <command +>/sbin/reboot</command +>.</para> + +<para +>When <guilabel +>Show boot options</guilabel +> is enabled, &kdm; will on reboot offer you options for the lilo boot manager. For this feature to work, you will need to supply the correct paths to your <command +>lilo</command +> command and to lilo's map file.</para> + + +<sect3 id="kdmconfig-sess"> +<title +>Session types</title> + +<para +>Define which session types should be accessible from the login window.</para> + +<para +>For more information on this subject, look at <filename class="directory" +>/etc/X11/xdm/Xsession</filename +> to find your <application +>xdm</application +> setup files. Also review the <ulink url="man:xdm" +>xdm man pages</ulink +>, especially under the SESSION PROGRAM section.</para> + +<para +>To add a session, type its name in the blank entitled <guilabel +>New types</guilabel +>, and click <guibutton +>Add new</guibutton +>. </para> + +<para +>To remove a session, select the session from the list and click <guibutton +>Remove</guibutton +>.</para> + +</sect3> +</sect2> +<sect2 id="kdmconfig-users"> +<title +>Users</title> + +<para +>From here you can change the way users are represented in the login window.</para> + +<para +>You may disable the user list in &kdm; entirely in the <guilabel +>Show Users</guilabel +> section. You can choose from:</para> +<variablelist> +<varlistentry> +<term +><guilabel +>None</guilabel +></term> +<listitem> +<para +>Do not show any users. This is the most secure setting, since an attacker would then have to guess a valid login name as well as a password. It's also the preferred option if you have more than a handful of users to list, or the list itself would become unwieldy.</para> +</listitem> +</varlistentry> +<varlistentry> +<term +><guilabel +>Selected only</guilabel +></term> +<listitem> +<para +>Only show users you have specifically enabled.</para> +</listitem> +</varlistentry> +<varlistentry> +<term +><guilabel +>Not hidden</guilabel +></term> +<listitem> +<para +>Allows you to select a list of users that should <emphasis +>not</emphasis +> be shown, and all other users will be listed.</para> +</listitem> +</varlistentry> +</variablelist> + +<para +>Independently of the users you specify by name, you can use the <guilabel +>System UIDs</guilabel +> to specify a range of valid <acronym +>UID</acronym +>s that are shown in the list. By default user id's under 1000, which are often system or daemon users, and user id's over 65000, are not shown.</para> + +<para +>You can also enable the <guilabel +>Sort users</guilabel +> checkbox, to have the user list sorted alphabetically. If this is disabled, users will appear in the order they are listed in the password file.</para> + +<para +>If you choose to show users, then the login window will show images (which you select), of a list of users. When someone is ready to login, they may select their user name/image, enter their password, and they are granted access. </para> + +<para +>If you permit a user image, then you can configure the source for those images.</para> + +<para +>The available options for the <guilabel +>User Image Source</guilabel +> are:</para> +<!-- user image sources list here --> + +<para +>You can configure the admin picture here, for each user on the system. Depending on the order selected above, users may be able to override your selection.</para> + +<para +>If you choose not to show users, then the login window will be more traditional. Users will need to type their username and password to gain entrance. This is the preferred way if you have many users on this terminal.</para> + +<sect3 id="kdmconfig-showusers"> +<title +>To show (and sort) or not to show users</title> + +<para +>Along the right edge of the window are two check boxes:</para> + +<para +>If <guilabel +>Show users</guilabel +> is selected you have chosen to show images of users, instead of making them type their login name.</para> + +<para +>If <guilabel +>Sort users</guilabel +> is selected, then the list of users will be sorted alphabetically in the login window. If unchecked, users will be listed in the same order as they are on this page. If <guilabel +>Show users</guilabel +> is not checked, this has no effect.</para> + +</sect3> + +<sect3 id="kdmconfig-whichusers"> +<title +>How to determine which users to show and which users to hide</title> + +<para +>Below the user image box, and above the <guilabel +>Show users</guilabel +> check box, is a set of two radio buttions:</para> + +<itemizedlist> +<listitem +><para +>Show only selected users: If this option is selected, only the users contained in the list labelled <guilabel +>Selected Users</guilabel +>, will be displayed in the login window. If <guilabel +>Show users</guilabel +> is not checked, this has no effect.</para +></listitem> +<listitem +><para +>Show all users but no-show users: If this option is selected, all users will be listed, <emphasis +>except</emphasis +> those users contained in the list entitled <guilabel +>No show users</guilabel +>. If <guilabel +>Show users</guilabel +> is not checked, this has no effect. </para +></listitem> +</itemizedlist> + +</sect3> + +<sect3 id="kdmconfig-select"> +<title +>Select users</title> + +<para +>This page contains three listboxes. The large listbox on the left shows all the users on the system which might be a genuine user.</para> + +<para +>The top rightmost listbox shows the selected users and the bottom rightmost listbox shows the users we do not want displayed in the login window.</para> + +<para +>To move a user from one listbox to another you click on the username in the listbox and click <guibutton +>>></guibutton +> to move the user from the leftmost box the the rightmost box or <guibutton +><<</guibutton +> to move the user from the rightmost box to the leftmost box.</para> + +</sect3> + +<sect3 id="kdmconfig-image"> +<title +>Images</title> + +<note +><para +>This section of the manual only applies if <guilabel +>Show users</guilabel +> is selected. If it is not, this image box has no effect.</para +></note> + +<para +>Every user on the system can be represented by an image. The image for each user is kept in a file called <filename +>$<envar +>KDEDIR</envar +>/share/apps/kdm/pics/users/$<envar +>USER</envar +>.xpm</filename +>. If there is no such file for a particular user, the file <filename +>$<envar +>KDEDIR</envar +>/share/apps/kdm/pics/users/default.xpm</filename +> will be used instead.</para> + +<para +>To assign a new image to a user just select the user in one of the listboxes and either drop an imagefile on the image button to the right or click on the image button and select a new image from the image selector.</para> + +<para +>If no user is currently selected you will be asked if you want to change the default image.</para> + +<para +>The replacement is performed by a &konqueror; process so if the imagefile already exists you will be prompted by &konqueror; if you want to replace it. If you confirm the image will be replaced - you will <emphasis +>NOT</emphasis +> have to press the <guibutton +>Apply</guibutton +> button.</para> + +</sect3> +</sect2> + +<sect2 id="kdmconfig-convenience"> +<title +>Convenience</title> + +<para +>In the <guilabel +>convenience</guilabel +> tab you can configure some options that make life easier for lazy people, like automatic login or disabling passwords.</para> + +<important +><para +>Please think more than twice before using these options. Every option in the <guilabel +>Convenience</guilabel +> tab is well-suited to seriously compromise your system security. Practically, these options are only to be used in a completely non-critical environment, ⪚ a private computer at home. </para +></important> + +<sect3 id="loginmanager-convenience-autologin"> +<title +>Automatic Login</title> + +<para +>Automatic login will give anyone access to a certain account on your system without doing any authentication. You can enable it using the option <guilabel +>Enable auto-login</guilabel +>.</para> + +<para +>You can choose the account to be used for automatic login from the list labelled <guilabel +>User:</guilabel +>.</para> + +</sect3> + +<sect3 id="loginmanager-convenience-nopasswd"> +<title +><guilabel +>Password-Less Login</guilabel +></title> + +<para +>Using this feature, you can allow certain users to login without having to provide their password. Enable this feature using the <guilabel +>Enable password-less logins</guilabel +> option.</para> + +<para +>Below this option you'll see a list of users on the system. Enable password-less login for specific users by checking the checkbox next to the login names. By default, this feature is disabled for all users.</para> + +<important +><para +>Again, this option should only be used in a safe environment. If you enable it on a rather public system you should take care that only users with heavy access restrictions are granted password-less login, ⪚ <systemitem +>guest</systemitem +>.</para +></important> + +<para +>The <guilabel +>Automatically login after X server crash</guilabel +> option allows you to skip the authentication procedure when your X server accidentally crashed.</para> + +<para +>You can also choose which user is <quote +>preselected</quote +> when &kdm; starts. The default is <guilabel +>None</guilabel +>, but you can choose <guilabel +>Previous</guilabel +> to have &kdm; default to the last successfully logged in user, or you can <guilabel +>Specify</guilabel +> a particular user to always be selected from the list. You can also have &kdm; set the focus to the password field, so that when you reach the &kdm; login screen, you can type the password immediately.</para> + +</sect3> + +</sect2> + +</sect1> + +</chapter> + +&kdmrc-ref; + +<!-- ************************************************************ --> +<chapter id="configuring-your-system-for-kdm"> +<title +>Configuring your system to use &kdm;</title> + +<para +>This chapter assumes that your system is already configured to run the X Window System, and that you only need to reconfigure it to allow graphical login.</para> + +<sect1 id="setting-up-kdm"> +<title +>Setting up &kdm;</title> + +<para +>The fundamental thing that controls whether your computer boots to a terminal prompt (console mode) or a graphical login prompt is the default runlevel. The runlevel is set by the program <application +> <ulink url="man:init" +>/sbin/init</ulink +></application +> under the control of the configuration file <filename +>/etc/inittab</filename +>. The default runlevels used by different &UNIX; systems (and different &Linux; distributions) vary, but if you look at <filename +>/etc/inittab</filename +> the start of it should be something like this:</para> + +<screen +># Default runlevel. The runlevels used by RHS are: +# 0 - halt (Do NOT set initdefault to this) +# 1 - Single user mode +# 2 - Multiuser, without NFS +# 3 - Full multiuser mode +# 4 - unused +# 5 - X11 +# 6 - reboot (Do NOT set initdefault to this) + +id:3:initdefault: +</screen> + +<para +>All but the last line of this extract are comments. The comments show that runlevel 5 is used for X11 and that runlevel 3 is used for multi-user mode without X11 (console mode). The final line specifies that the default runlevel of the system is 3 (console mode). If your system currently uses graphical login (for example, using &xdm;) its default runlevel will match the runlevel specified for X11.</para> + +<para +>The runlevel with graphical login (&xdm;) for some common &Linux; distributions are:</para> + +<itemizedlist> +<listitem +><para +>5 for &RedHat; 3.x and later, and for &Mandrake;</para +></listitem> +<listitem +><para +>4 for Slackware</para +></listitem> +<listitem +><para +>3 for &SuSE;. 4.x and 5.x</para +></listitem> +</itemizedlist> + +<para +>The first step in configuring your system is to ensure that you can start &kdm; from the command line. Once this is working, you can change your system configuration so that &kdm; starts automatically each time you reboot your system.</para> + +<para +>To test &kdm;, you must first bring your system to a runlevel that does not run &xdm;. To do so, issue a command like this:</para> + +<screen +><command +>/sbin/init <option +>3</option +></command +></screen> + +<para +>Instead of the number <option +>3</option +> you should specify the appropriate runlevel for console mode on your system.</para> + +<para +>If your system uses Pluggable Authentication Modules (<abbrev +>PAM</abbrev +>), which is normal with recent &Linux; and Solaris systems, you should check that your <abbrev +>PAM</abbrev +> configuration permits login through the service named <literal +>kde</literal +>. If you previously used &xdm; successfully, you should not need to make any changes to your <abbrev +>PAM</abbrev +> configuration in order to use &kdm;. <filename +>/etc/pam.conf</filename +> or <filename +>/etc/pam.d/kde</filename +>. Information on configuring <abbrev +>PAM</abbrev +> is beyond the scope of this handbook, but <abbrev +>PAM</abbrev +> comes with comprehensive documentation (try looking in <filename +>/usr/share/doc/*pam*/html/</filename +>).</para> + +<para +>Now it's time for you to test &kdm; by issuing the following command:</para> + +<screen +><command +>kdm <option +>-nodaemon</option +></command +> +</screen> + +<para +>If you get a &kdm; login dialogue and you are able to log in, things are going well. The main thing that can go wrong here is that the run-time linker might not find the shared &Qt; or &kde; libraries. If you have a binary distribution of the &kde; libraries, make sure &kdm; is installed where the libraries believe &kde; is installed and try setting some environment variables to point to your &kde; and &Qt; libraries.</para> + +<para +>For example:</para> + +<screen +><command +>export +<option +>KDEDIR=<replaceable +>/opt/kde</replaceable +></option +></command> +<command +>export +<option +>QTDIR=<replaceable +>/usr/lib/qt2</replaceable +></option +></command> +<command +>export +<option +>PATH=<replaceable +>$KDEDIR/bin:$QTDIR/bin:$PATH</replaceable +></option +></command> +<command +>export +<option +>LD_LIBRARY_PATH=<replaceable +>$KDEDIR/lib:$QTDIR/lib</replaceable +></option +></command +> +</screen> + +<para +>If you are still unsuccessful, try starting &xdm; instead, to make sure that you are not suffering from a more serious X configuration problem.</para> + +<para +>When you are able to start &kdm; successfully, you can start to replace &xdm; by &kdm;. Again, this is distribution-dependent.</para> + +<itemizedlist> +<listitem> +<para +>For &RedHat;, edit <filename +>/etc/inittab</filename +>, look for the string xdm and replace it with &kdm; (including all paths).</para> +</listitem> +<listitem> +<para +>For &Mandrake;, the X11 runlevel in <filename +>/etc/inittab</filename +> invokes the shell script <filename +>/etc/X11/prefdm</filename +>, which is set up to select from amongst several display managers, including &kdm;. Make sure that all the paths are correct for your installation.</para +> +</listitem> +<listitem> +<para +>For &SuSE;, edit <filename +>/sbin/init.d/xdm</filename +> to add a first line:</para> + +<screen +>. /etc/rc.config +DISPLAYMANAGER=kdm +export DISPLAYMANAGER</screen> +</listitem> +<listitem +><para +>For FreeBSD, edit <filename +>/etc/ttys</filename +> and find the line like this: <screen +>ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure</screen +> and edit it to this: <screen +>ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure</screen> +</para> +</listitem> + +<listitem +><para +>Most other distributions are a variation of one of these.</para +></listitem> +</itemizedlist> + +<para +>At this stage, you can test &kdm; again by bringing your system to the runlevel that should now run &kdm;. To do so, issue a command like this:</para> + +<screen +><command +>/sbin/init <option +>5</option +></command +> +</screen> + +<para +>Instead of the number <option +>5</option +> you should specify the appropriate runlevel for running X11 on your system.</para> + +<para +>The final step is to edit the <parameter +>initdefault</parameter +> entry in <filename +>/etc/inittab</filename +> to specify the appropriate runlevel for X11.</para> + +<warning +><para +>Before you make this change, ensure that you have a way to reboot your system if a problem occurs. This might be a <quote +>rescue</quote +> floppy-disk provided by your operating system distribution or a specially-designed <quote +>rescue</quote +> floppy-disk, such as <literal +>tomsrtbt</literal +>. Ignore this advice at your peril.</para +></warning> + +<para +>When you reboot your system, you should end up with the graphical &kdm; login dialogue.</para> + +<para +>If this step is unsuccessful the most likely problem is that the environment used at boot time differs from the environment that you used for testing at the command line. If you are trying to get two versions of KDE to co-exist, be particularly careful that the settings you use for your <envar +>PATH</envar +> and <envar +>LD_LIBRARY_PATH</envar +> environment variables are consistent, and that the startup scripts are not over-riding them in some way.</para> + +</sect1> + +</chapter> + +<chapter id="different-window-managers-with-kdm"> +<title +>Supporting multiple window managers</title> + +<para +>The main dialogue box for &kdm; includes a <guilabel +>Session Type:</guilabel +> drop-down box, which allows you to select a window manager to use for your session. This chapter describes the changes that you must make to your configuration files in order to support this feature.</para> + +<para +>The options that appear in the <guilabel +>Session Type:</guilabel +> drop-down box are <ulink url="KDM" +>configured</ulink +> by entries in the <literal +>KDM</literal +> section of &kdmrc;.</para> + +<para +>When you log in using &kdm;, the shell script <filename +>Xsession</filename +> is executed. The session type that you select is passed as a command-line argument. (<filename +>Xsession</filename +> can be found in <filename +>/etc/X11/xdm/</filename +> for Redhat and Mandrake, and in <filename +>/usr/X11R6/lib/X11/xdm/</filename +> for S.u.S.E.). Whilst debugging, you might find it helpful to add this line to <filename +>Xsession</filename +>:</para> + +<screen +>echo "$0 || $1 || $2" +> $HOME/.Xsession_args </screen> + +<para +>How you proceed now depends upon how your system usually starts up window managers. Here are two different approaches, with examples of the changes that you must make:</para> + +<itemizedlist> + +<listitem +><para +>The window manager is started by commands within <filename +>Xsession</filename +>. In this case, you can add a case statement to start the appropriate window manager. Linux Mandrake uses this approach; here is an extract from <filename +>Xsession</filename +>:</para> + +<screen +># now, we see if xdm/gdm/kdm has asked for a specific environment +case $# in +1) + case $1 in + kde) + source /opt/kde2/bin/kde1 + exec startkde + ;; + kde2) + source /opt/kde2/bin/kde2 + exec startkde + ;; + failsafe) + exec xterm -geometry 80x24-0-0 + ;; + default) + ;; + *) + exec /bin/sh -c "$(/usr/sbin/chksession -x=$1)" + ;; + esac +esac +</screen> +</listitem> + +<listitem +><para +>The window manager is started by another script that is invoked by <filename +>Xsession</filename +>. In this case you must ensure that the parameter passed to <filename +>Xsession</filename +> is passed on to that other script. For example, if the window manager is started like this:</para> + +<screen +><command +>exec <option +>$startup</option +></command +></screen> + +<para +>you would need to change it to:</para> + +<screen +><command +>exec <option +>$startup</option +><option +>$@</option +></command +></screen> + +<para +>Having made this change, you must trace your way through the startup to find the place where the window manager is started. One approach uses <filename +>xinitrc</filename +> to start the window manager; this allows a system-wide file <filename +>/etc/X11/xinit/xinitrc</filename +> or a user-specific file <filename +>$HOME/.xinitrc</filename +> to be used. If you edit <filename +>$HOME/.xinitrc</filename +>, you may want to save a copy in <filename +>/etc/skel</filename +>, so that it will be automatically generated in every user account you create from now on. Here is an example <filename +>xinitrc</filename +> for a system using this approach:</para> + +<screen +>#!/bin/bash +# +# .xsession/.xinitrc +# +# choose a window manager +# + +defaultwm=kde +#set the window manager to $1 if it was supplied +windowmgr=${1:-$defaultwm} + +#start the respective window managers +case ${windowmgr} in + kde|kwm|kdestart) + WINDOWMANAGER=startkde + ;; + fvwm|fvwm2) + WINDOWMANAGER=fvwm2 + ;; + + fvwm95) + WINDOWMANAGER=fvwm95 + ;; + + *) WINDOWMANAGER=windowmgr # default for unknown wm's + +esac + +# +# load resources +# + +if [ -f /usr/X11R6/lib/X11/Xmodmap ]; then + xmodmap /usr/X11R6/lib/X11/Xmodmap +fi + +if [ -f ~/.Xmodmap ]; then + xmodmap ~/.Xmodmap +fi + +if [ -f ~/.Xdefaults ]; then + xrdb -merge ~/.Xdefaults +fi + +if [ -f ~/.Xresources ]; then + xrdb -merge ~/.Xresources +fi +# +# finally start the window manager +# +exec $WINDOWMANAGER +</screen> + +</listitem> +</itemizedlist> + + +</chapter> + +<chapter id="xdmcp-with-kdm"> +<title +>Using &kdm; for Remote Logins (&XDMCP;)</title> + +<para +>&XDMCP; is the Open Group standard, the <quote +>X Display Manager Control Protocol</quote +>. This is used to set up connections between remote systems over the network.</para> + +<para +>&XDMCP; is useful in multiuser situations where there are users with workstations and a more powerful server that can provide the resources to run multiple X sessions. For example, &XDMCP; is a good way to reuse old computers - a Pentium or even 486 computer with 16 Mb RAM is sufficient to run X itself, and using XDMCP such a computer can run a full modern &kde; session from a server. For the server part, once a single &kde; (or other environment) session is running, running another one requires very few extra resources.</para> + +<para +>However, allowing another method of login to your machine obviously has security implications. You should run this service only if you need to allow remote X Servers to start login sessions on your system. Users with a single &UNIX; computer should not need to run this.</para> + +<!-- Write more stuff --> +</chapter> + +<!-- *********************************************************************** --> +<chapter id="Other-Information"> +<title +>Other sources of information</title> + +<para +>Since &kdm; is descended from &xdm;, the <ulink url="man:xdm" +>xdm man page</ulink +> may provide useful background information. For X-related problems try the man pages <ulink url="man:X" +>X</ulink +> and <ulink url="man:startx" +>startx</ulink +>. If you have questions about &kdm; that are not answered by this handbook, take advantage of the fact the &kdm; is provided under the terms of the <abbrev +>GNU</abbrev +> General Public Licence: look at the source code. </para> + +</chapter> + +<!-- *********************************************************************** --> +<chapter id="credits" +><title +>Credits and Licence</title> + +<para +>&kdm; is derived from, and includes code from, &xdm; (C) Keith Packard, MIT X Consortium.</para> + +<para +>&kdm; 0.1 was written by Matthias Ettrich. Later versions till &kde; 2.0.x were written by Steffen Hansen. Some new features for &kde; 2.1.x and a major rewrite for &kde; 2.2.x made by Oswald Buddenhagen.</para> + +<para +>Other parts of the &kdm; code are copyright by the authors, and licensed under the terms of the <ulink url="common/gpl-license.html" +>GNU GPL</ulink +>. Anyone is allowed to change &kdm; and redistribute the result as long as the names of the authors are mentioned.</para> + +<para +>&kdm; requires the Qt library, which is copyright Troll Tech AS.</para> + +<para +>Documentation contributors: <itemizedlist> + +<listitem +><para +>Documentation written by Steffen Hansen <email +>stefh@dit.ou.dk</email +></para +></listitem> + +<listitem +><para +>Documentation extended by Gregor Zumstein<email +>zumstein@ssd.ethz.ch</email +>. Last update August 9, 1998</para +></listitem> + +<listitem +><para +>Documentation revised for KDE 2 by Neal Crook<email +>nac@forth.org</email +>. Last update August 6, 2000</para +></listitem> + +<listitem +><para +>Documentation extended and revised for KDE 2.2 by Oswald Buddenhagen<email +>ossi@kde.org</email +>. Last update August, 2001</para +></listitem> + +</itemizedlist +></para> + +<para +>Documentation copyright Steffen Hansen, Gregor Zumstein, Neal Crook and Oswald Buddenhagen. This document also includes large parts of the &xdm; man page, which is (C) Keith Packard.</para> + +<para +>Conversion to British English: John Knight <email +>anarchist_tomato@herzeleid.net</email +></para +> +&underFDL; &underGPL; </chapter> + +<appendix id="building-and-installing-kdm"> +<title +>Building and Installing kdm</title> + +<para +>&kdm; is part of the KDE project. The various component parts of the KDE project are broken into sections, called packages. &kdm; is part of the package called kdebase. You can get KDE source code from various Linux and BSD distribution CDs, or by download from <ulink url="http://www.kde.org" +>www.kde.org</ulink +> or its mirrors. If you have an out-of-date source code tree, you can use one of the KDE cvsup servers to bring it up-to-date whilst using minimal network bandwidth. </para> + +<para +>Before building kdebase, you must have built and installed (in this order) version 2 of the qt library and the KDE packages kdesupport (optionally) and kdelibs.</para> + +<para +>In order to build any of the above, you must already have the X Window System installed, together with a C++ compiler. If are you building from CVS you will also need the GNU configuration tools <application +>automake</application +> and <application +>autoconf</application +>.</para> + +<para +>If the last few paragraphs seemed like a foreign language, then either you have strayed into an Inappropriate Area of this handbook, or you are about to undergo a Great Learning Experience.</para> + +<para +>If you managed to satisfy all of the prerequisites, you are unlikely to have any problems with building and installing kdebase. &kdm; is installed in your <filename +>$KDEDIR/bin</filename +> folder.</para> + +<note +><para +><command +>make <option +>install</option +></command +> will <emphasis +>not</emphasis +> overwrite your previous &kdm; config files including &kdmrc;.</para +></note> + +</appendix> + +<glossary id="glossary"> +<title +>Glossary</title> + +<glossentry id="gloss-greeter"> +<glossterm +>greeter</glossterm> +<glossdef +><para +>The greeter is the login dialogue, &ie; the part of &kdm; which the user sees.</para> +</glossdef> +</glossentry> + +<glossentry> +<glossterm id="gloss-entropy" +>entropy</glossterm> +<glossdef +><para +>...</para +></glossdef> +</glossentry> + +</glossary> + +</book> +<!-- +Local Variables: +mode: sgml +sgml-omittag: nil +sgml-shorttag: t +End: +--> + diff --git a/tde-i18n-en_GB/docs/kdebase/kdm/kdmrc-ref.docbook b/tde-i18n-en_GB/docs/kdebase/kdm/kdmrc-ref.docbook new file mode 100644 index 00000000000..18d6a847588 --- /dev/null +++ b/tde-i18n-en_GB/docs/kdebase/kdm/kdmrc-ref.docbook @@ -0,0 +1,3221 @@ +<!-- generated from ../../kdm/kfrontend/config.def - DO NOT EDIT! --> + +<chapter id="kdm-files"> +<title +>The Files &kdm; Uses for Configuration</title> + +<para +>This chapter documents the files that control &kdm;'s behaviour. Some of this can be also controlled from the &kcontrol; module, but not all.</para> + +<sect1> +<title +>&kdmrc; - The &kdm; master configuration file</title> + +<para +>The basic format of the file is <quote +>INI-like</quote +>. Options are key/value pairs, placed in sections. Everything in the file is case sensitive. Syntactic errors and unrecognised key/section identifiers cause &kdm; to issue non-fatal error messages.</para> + +<para +>Lines beginning with <literal +>#</literal +> are comments; empty lines are ignored as well.</para> + +<para +>Sections are denoted by <literal +>[</literal +><replaceable +>Name of Section</replaceable +><literal +>]</literal +>. </para> + +<para +>You can configure every X-display individually.</para> +<para +>Every display has a display name, which consists of a host name (which is empty for local displays specified in the Xservers file), a colon and a display number. Additionally, a display belongs to a display class (which can be ignored in most cases).</para> + +<para +>Sections with display-specific settings have the formal syntax <literal +>[X-</literal +> <replaceable +>host</replaceable +> [ <literal +>:</literal +> <replaceable +>number</replaceable +> [ <literal +>_</literal +> <replaceable +>class</replaceable +> ] ] <literal +>-</literal +> <replaceable +>sub-section</replaceable +> <literal +>]</literal +> </para> +<para +>All sections with the same <replaceable +>sub-section</replaceable +> make up a section class.</para> + +<para +>You can use the <literal +>*</literal +> wildcard for <replaceable +>host</replaceable +>, <replaceable +>number</replaceable +> and <replaceable +>class</replaceable +>. You may omit trailing components; they are assumed to be <literal +>*</literal +> then. The host part may be a domain specification like <replaceable +>.inf.tu-dresden.de</replaceable +>.</para> + +<para +>From which section a setting is actually taken is determined by these rules:</para> + +<itemizedlist> +<listitem> +<para +>An exact match takes precedence over a partial match (for the host part), which in turn takes precedence over a wildcard.</para> +</listitem> + +<listitem> +<para +>Precedence decreases from left to right for equally exact matches.</para> +</listitem> + +<listitem> + +<para +>Example: display name <quote +>myhost:0</quote +>, class <quote +>dpy</quote +> </para> +<itemizedlist> +<listitem> +<para +>[X-myhost:0_dpy] precedes</para> +</listitem> +<listitem> +<para +>[X-myhost:0_*] (same as [X-myhost:0]) precedes</para> +</listitem> +<listitem> +<para +>[X-myhost:*_dpy] precedes</para> +</listitem> +<listitem> +<para +>[X-myhost:*_*] (same as [X-myhost]) precedes</para> +</listitem> +<listitem> +<para +>[X-*:0_dpy] precedes</para> +</listitem> +<listitem> +<para +>[X-*:0_*] (same as [X-*:0]) precedes</para> +</listitem> +<listitem> +<para +>[X-*:*_*] (same as [X-*]).</para> +</listitem> +<listitem> +<para +>These sections do <emphasis +>not</emphasis +> match this display:</para> +<para +>[X-hishost], [X-myhost:0_dec], [X-*:1], [X-:*]</para> +</listitem> +</itemizedlist> + +</listitem> + +</itemizedlist> + +<para +>Common sections are [X-*] (all displays), [X-:*] (all local displays) and [X-:0] (the first local display).</para> + +<para +>The format for all keys is <userinput +><option +><replaceable +>key</replaceable +></option +> <literal +>=</literal +> <parameter +>value</parameter +></userinput +>. Keys are only valid in the section class they are defined for. Some keys do not apply to particular displays, in which case they are ignored. </para> + +<para +>If a setting is not found in any matching section, the default is used.</para> + +<note +><para +>A pristine &kdmrc; is very thoroughly commented. All comments will be lost if you change this file with the kcontrol frontend.</para +></note> + + +<sect2 id="kdmrc-general"> +<title +>The [General] section of &kdmrc;</title> + +<para +>This section contains global options that do not fit into any specific section. </para> + +<variablelist> + +<varlistentry> +<term id="option-configversion" +><option +>ConfigVersion</option +></term> +<listitem> +<para +>This option exists solely for the purpose of clean automatic upgrades. <emphasis +>Do not</emphasis +> change it, you may interfere with future upgrades and this could result in &kdm; failing to run. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-xservers" +><option +>Xservers</option +></term> +<listitem> +<para +>If the value starts with a slash (/), it specifies a file to read &X-Server; definitions from; otherwise, it is an &X-Server; definition by itself. See <xref linkend="kdmrc-xservers"/> for the details. </para +><para +>The default is an &X-Server; definition that is usually reasonable for the system on which &kdm; was built. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-servervts" +><option +>ServerVTs</option +></term> +<listitem> +<para +>List of Virtual Terminals to allocate to &X-Server;s. For negative numbers the absolute value is used, and the <acronym +>VT</acronym +> will be allocated only if the kernel says it is free. If &kdm; exhausts this list, it will allocate free <acronym +>VT</acronym +>s greater than the absolute value of the last entry in this list. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-pidfile" +><option +>PidFile</option +></term> +<listitem> +<para +>The filename specified will be created to contain an ASCII representation of the process ID of the main &kdm; process; the PID will not be stored if the filename is empty. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-lockpidfile" +><option +>LockPidFile</option +></term> +<listitem> +<para +>This option controls whether &kdm; uses file locking to keep multiple display managers from running onto each other. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-authdir" +><option +>AuthDir</option +></term> +<listitem> +<para +>This names a directory under which &kdm; stores &X-Server; authorisation files while initialising the session. &kdm; expects the system to clean up this directory from stale files on reboot. </para +><para +>The authorisation file to be used for a particular display can be specified with the <option +>AuthFile</option +> option in [X-*-Core]. </para> +<para +>The default is <quote +>/var/run/xauth</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-autorescan" +><option +>AutoRescan</option +></term> +<listitem> +<para +>This boolean controls whether &kdm; automatically re-reads its configuration files if it finds them to have changed. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-exportlist" +><option +>ExportList</option +></term> +<listitem> +<para +>Additional environment variables &kdm; should pass on to all programs it runs. <envar +>LD_LIBRARY_PATH</envar +> and <envar +>XCURSOR_THEME</envar +> are good candidates; otherwise, it should not be necessary very often. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-randomfile" +><option +>RandomFile</option +></term> +<listitem> +<para +>If the system has no native entropy source like /dev/urandom (see <option +>RandomDevice</option +>) and no entropy daemon like EGD (see <option +>PrngdSocket</option +> and <option +>PrngdPort</option +>) is running, &kdm; will fall back to its own pseudo-random number generator that will, among other things, successively checksum parts of this file (which, obviously, should change frequently). </para +><para +>This option does not exist on Linux and various BSDs. </para> +<para +>The default is <quote +>/dev/mem</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-prngdsocket" +><option +>PrngdSocket</option +></term> +<listitem> +<para +>If the system has no native entropy source like /dev/urandom (see <option +>RandomDevice</option +>), read random data from a Pseudo-Random Number Generator Daemon, like EGD (http://egd.sourceforge.net) via this UNIX domain socket. </para +><para +>This option does not exist on Linux and various BSDs. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-prngdport" +><option +>PrngdPort</option +></term> +<listitem> +<para +>Same as <option +>PrngdSocket</option +>, only use a TCP socket on localhost. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-randomdevice" +><option +>RandomDevice</option +></term> +<listitem> +<para +>The path to a character device which KDM should read random data from. Empty means to use the system's preferred entropy device if there is one. </para +><para +>This option does not exist on OpenBSD, as it uses the arc4_random function instead. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-fifodir" +><option +>FifoDir</option +></term> +<listitem> +<para +>The directory in which the command <acronym +>FiFo</acronym +>s should be created; make it empty to disable them. </para> +<para +>The default is <quote +>/var/run/xdmctl</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-fifogroup" +><option +>FifoGroup</option +></term> +<listitem> +<para +>The group to which the global command <acronym +>FiFo</acronym +> should belong; can be either a name or a numerical ID. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-datadir" +><option +>DataDir</option +></term> +<listitem> +<para +>The directory in which &kdm; should store persistent working data; such data is, for example, the previous user that logged in on a particular display. </para> +<para +>The default is <quote +>/var/lib/kdm</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-dmrcdir" +><option +>DmrcDir</option +></term> +<listitem> +<para +>The directory in which &kdm; should store users' <filename +>.dmrc</filename +> files. This is only needed if the home directories are not readable before actually logging in (like with AFS). </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +</variablelist> +</sect2> + + +<sect2 id="kdmrc-xdmcp"> +<title +>The [Xdmcp] section of &kdmrc;</title> + +<para +>This section contains options that control &kdm;'s handling of &XDMCP; requests. </para> + +<variablelist> + +<varlistentry> +<term id="option-enable" +><option +>Enable</option +></term> +<listitem> +<para +>Whether &kdm; should listen to incoming &XDMCP; requests. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-port" +><option +>Port</option +></term> +<listitem> +<para +>This indicates the UDP port number which &kdm; uses to listen for incoming &XDMCP; requests. Unless you need to debug the system, leave this with its default value. </para> +<para +>The default is <quote +>177</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-keyfile" +><option +>KeyFile</option +></term> +<listitem> +<para +>XDM-AUTHENTICATION-1 style &XDMCP; authentication requires a private key to be shared between &kdm; and the terminal. This option specifies the file containing those values. Each entry in the file consists of a display name and the shared key. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-xaccess" +><option +>Xaccess</option +></term> +<listitem> +<para +>To prevent unauthorised &XDMCP; service and to allow forwarding of &XDMCP; IndirectQuery requests, this file contains a database of hostnames which are either allowed direct access to this machine, or have a list of hosts to which queries should be forwarded to. The format of this file is described in <xref linkend="kdmrc-xaccess"/>. </para> +<para +>The default is <quote +>${<envar +>kde_confdir</envar +>}/kdm/Xaccess</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-choicetimeout" +><option +>ChoiceTimeout</option +></term> +<listitem> +<para +>Number of seconds to wait for the display to respond after the user has selected a host from the chooser. If the display sends an &XDMCP; IndirectQuery within this time, the request is forwarded to the chosen host; otherwise, it is assumed to be from a new session and the chooser is offered again. </para> +<para +>The default is <quote +>15</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-removedomainname" +><option +>RemoveDomainname</option +></term> +<listitem> +<para +>When computing the display name for &XDMCP; clients, the name resolver will typically create a fully qualified host name for the terminal. As this is sometimes confusing, &kdm; will remove the domain name portion of the host name if it is the same as the domain name of the local host when this option is enabled. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-sourceaddress" +><option +>SourceAddress</option +></term> +<listitem> +<para +>Use the numeric IP address of the incoming connection on multihomed hosts instead of the host name. This is to avoid trying to connect on the wrong interface which might be down at this time. </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-willing" +><option +>Willing</option +></term> +<listitem> +<para +>This specifies a program which is run (as <systemitem class="username" +>root</systemitem +>) when an &XDMCP; DirectQuery or BroadcastQuery is received and this host is configured to offer &XDMCP; display management. The output of this program may be displayed in a chooser window. If no program is specified, the string <quote +>Willing to manage</quote +> is sent. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +</variablelist> +</sect2> + + +<sect2 id="kdmrc-shutdown"> +<title +>The [Shutdown] section of &kdmrc;</title> + +<para +>This section contains global options concerning system shutdown. </para> + +<variablelist> + +<varlistentry> +<term id="option-haltcmd" +><option +>HaltCmd</option +></term> +<listitem> +<para +>The command to run to halt/poweroff the system. </para +><para +>The default is something reasonable for the system on which &kdm; was built, like <command +>/sbin/shutdown <option +>-h</option +> <parameter +>now</parameter +></command +>. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-rebootcmd" +><option +>RebootCmd</option +></term> +<listitem> +<para +>The command to run to reboot the system. </para +><para +>The default is something reasonable for the system &kdm; on which was built, like <command +>/sbin/shutdown <option +>-r</option +> <parameter +>now</parameter +></command +>. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-allowfifo" +><option +>AllowFifo</option +></term> +<listitem> +<para +>Whether it is allowed to shut down the system via the global command <acronym +>FiFo</acronym +>. </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-allowfifonow" +><option +>AllowFifoNow</option +></term> +<listitem> +<para +>Whether it is allowed to abort active sessions when shutting down the system via the global command <acronym +>FiFo</acronym +>. </para +><para +>This will have no effect unless <option +>AllowFifo</option +> is enabled. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-uselilo" +><option +>UseLilo</option +></term> +<listitem> +<para +>Instructs &kdm; to offer LiLo boot options in the shutdown dialogue. </para +><para +>Only available on Linux i386 & x86-64. </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-lilocmd" +><option +>LiloCmd</option +></term> +<listitem> +<para +>The location of the LiLo binary. </para +><para +>Only available on Linux i386 & x86-64. </para> +<para +>The default is <quote +>/sbin/lilo</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-lilomap" +><option +>LiloMap</option +></term> +<listitem> +<para +>The location of the map file LiLo should use. </para +><para +>Only available on Linux i386 & x86-64. </para> +<para +>The default is <quote +>/boot/map</quote +>.</para> +</listitem> +</varlistentry> + +</variablelist> +</sect2> + + +<sect2 id="kdmrc-core"> +<title +>The [X-*-Core] section class of &kdmrc;</title> + +<para +>This section class contains options concerning the configuration of the &kdm; backend (core). </para> + +<variablelist> + +<varlistentry> +<term id="option-opendelay" +><option +>OpenDelay</option +></term> +<listitem> +<para +>See <option +>OpenRepeat</option +>. </para> +<para +>The default is <quote +>15</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-opentimeout" +><option +>OpenTimeout</option +></term> +<listitem> +<para +>See <option +>OpenRepeat</option +>. </para> +<para +>The default is <quote +>120</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-openrepeat" +><option +>OpenRepeat</option +></term> +<listitem> +<para +>These options control the behaviour of &kdm; when attempting to open a connection to an &X-Server;. <option +>OpenDelay</option +> is the length of the pause (in seconds) between successive attempts, <option +>OpenRepeat</option +> is the number of attempts to make and <option +>OpenTimeout</option +> is the amount of time to spend on a connection attempt. After <option +>OpenRepeat</option +> attempts have been made, or if <option +>OpenTimeout</option +> seconds elapse in any particular connection attempt, the start attempt is considered failed. </para> +<para +>The default is <quote +>5</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-startattempts" +><option +>StartAttempts</option +></term> +<listitem> +<para +>How many times &kdm; should attempt to start a <literal +>foreign</literal +> display listed in the <filename +>Xservers</filename +> file before giving up and disabling it. Local displays are attempted only once, and &XDMCP; displays are retried indefinitely by the client (unless the option <option +>-once</option +> was given to the &X-Server;). </para> +<para +>The default is <quote +>4</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-serverattempts" +><option +>ServerAttempts</option +></term> +<listitem> +<para +>How many times &kdm; should attempt to start up a local &X-Server;. Starting up includes executing it and waiting for it to come up. </para> +<para +>The default is <quote +>1</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-servertimeout" +><option +>ServerTimeout</option +></term> +<listitem> +<para +>How many seconds &kdm; should wait for a local &X-Server; to come up. </para> +<para +>The default is <quote +>15</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-pinginterval" +><option +>PingInterval</option +></term> +<listitem> +<para +>See <option +>PingTimeout</option +>. </para> +<para +>The default is <quote +>5</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-pingtimeout" +><option +>PingTimeout</option +></term> +<listitem> +<para +>To discover when <emphasis +>remote</emphasis +> displays disappear, &kdm; regularly pings them. <option +>PingInterval</option +> specifies the time (in minutes) between the pings and <option +>PingTimeout</option +> specifies the maximum amount of time (in minutes) to wait for the terminal to respond to the request. If the terminal does not respond, the session is declared dead and terminated. </para +><para +>If you frequently use X terminals which can become isolated from the managing host, you may wish to increase the timeout. The only worry is that sessions will continue to exist after the terminal has been accidentally disabled. </para> +<para +>The default is <quote +>5</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-terminateserver" +><option +>TerminateServer</option +></term> +<listitem> +<para +>Whether &kdm; should restart the local &X-Server; after session exit instead of resetting it. Use this if the &X-Server; leaks memory or crashes the system on reset attempts. </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-resetsignal" +><option +>ResetSignal</option +></term> +<listitem> +<para +>The signal number to use to reset the local &X-Server;. </para> +<para +>The default is <quote +>1 (SIGHUP)</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-termsignal" +><option +>TermSignal</option +></term> +<listitem> +<para +>The signal number to use to terminate the local &X-Server;. </para> +<para +>The default is <quote +>15 (SIGTERM)</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-authorize" +><option +>Authorise</option +></term> +<listitem> +<para +>Controls whether &kdm; generates and uses authorisation for <emphasis +>local</emphasis +> &X-Server; connections. For &XDMCP; displays the authorisation requested by the display is used; foreign non-&XDMCP; displays do not support authorisation at all. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-authnames" +><option +>AuthNames</option +></term> +<listitem> +<para +>If <option +>Authorize</option +> is true, use the authorisation mechanisms listed herein. The MIT-MAGIC-COOKIE-1 authorisation is always available; XDM-AUTHORIZATION-1, SUN-DES-1 and MIT-KERBEROS-5 might be available as well, depending on the build configuration. </para> +<para +>The default is <quote +>DEF_AUTH_NAME</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-resetforauth" +><option +>ResetForAuth</option +></term> +<listitem> +<para +>Some <emphasis +>old</emphasis +> &X-Server;s re-read the authorisation file at &X-Server; reset time, instead of when checking the initial connection. As &kdm; generates the authorisation information just before connecting to the display, an old &X-Server; would not get up-to-date authorisation information. This option causes &kdm; to send SIGHUP to the &X-Server; after setting up the file, causing an additional &X-Server; reset to occur, during which time the new authorisation information will be read. </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-authfile" +><option +>AuthFile</option +></term> +<listitem> +<para +>This file is used to communicate the authorisation data from &kdm; to the &X-Server;, using the <option +>-auth</option +> &X-Server; command line option. It should be kept in a directory which is not world-writable as it could easily be removed, disabling the authorisation mechanism in the &X-Server;. If not specified, a random name is generated from <option +>AuthDir</option +> and the name of the display. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-resources" +><option +>Resources</option +></term> +<listitem> +<para +>This option specifies the name of the file to be loaded by <command +>xrdb</command +> as the resource database onto the root window of screen 0 of the display. KDE programs generally do not use X-resources, so this option is only needed if the <option +>Setup</option +> program needs some X-resources. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-xrdb" +><option +>Xrdb</option +></term> +<listitem> +<para +>The <command +>xrdb</command +> program to use to read the X-resources file specified in <option +>Recources</option +>. </para> +<para +>The default is <quote +>${<envar +>x_bindir</envar +>}/xrdb</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-setup" +><option +>Setup</option +></term> +<listitem> +<para +>This specifies a program which is run (as <systemitem class="username" +>root</systemitem +>) before offering the greeter window. This may be used to change the appearance of the screen around the greeter window or to put up other windows (e.g., you may want to run <command +>xconsole</command +> here). The conventional name for a file used here is <command +>Xsetup</command +>. See <xref linkend="kdmrc-xsetup"/>. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-startup" +><option +>Startup</option +></term> +<listitem> +<para +>This specifies a program which is run (as <systemitem class="username" +>root</systemitem +>) after the user authentication process succeeds. The conventional name for a file used here is <command +>Xstartup</command +>. See <xref linkend="kdmrc-xstartup"/>. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-reset" +><option +>Reset</option +></term> +<listitem> +<para +>This specifies a program which is run (as <systemitem class="username" +>root</systemitem +>) after the session terminates. The conventional name for a file used here is <command +>Xreset</command +>. See <xref linkend="kdmrc-xreset"/>. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-session" +><option +>Session</option +></term> +<listitem> +<para +>This specifies the session program to be executed (as the user owning the session). The conventional name for a file used here is <command +>Xsession</command +>. See <xref linkend="kdmrc-xsession"/>. </para> +<para +>The default is <quote +>${<envar +>x_bindir</envar +>}/xterm -ls -T</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-failsafeclient" +><option +>FailsafeClient</option +></term> +<listitem> +<para +>If the <option +>Session</option +> program fails to execute, &kdm; will fall back to this program. This program is executed with no arguments, but executes using the same environment variables as the session would have had (see <xref linkend="kdmrc-xsession"/>). </para> +<para +>The default is <quote +>${<envar +>x_bindir</envar +>}/xterm</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-userpath" +><option +>UserPath</option +></term> +<listitem> +<para +>The <envar +>PATH</envar +> environment variable for non-<systemitem class="username" +>root</systemitem +> <option +>Session</option +>s. </para +><para +>The default depends on the system &kdm; was built on. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-systempath" +><option +>SystemPath</option +></term> +<listitem> +<para +>The <envar +>PATH</envar +> environment variable for all programs but non-<systemitem class="username" +>root</systemitem +> <option +>Session</option +>s. Note that it is good practice not to include <literal +>.</literal +> (the current directory) into this entry. </para +><para +>The default depends on the system &kdm; was built on. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-systemshell" +><option +>SystemShell</option +></term> +<listitem> +<para +>The <envar +>SHELL</envar +> environment variable for all programs but the <option +>Session</option +>. </para> +<para +>The default is <quote +>/bin/sh</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-userauthdir" +><option +>UserAuthDir</option +></term> +<listitem> +<para +>When &kdm; is unable to write to the usual user authorisation file ($<envar +>HOME</envar +>/.Xauthority), it creates a unique file name in this directory and points the environment variable <envar +>XAUTHORITY</envar +> at the created file. </para> +<para +>The default is <quote +>/tmp</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-autorelogin" +><option +>AutoReLogin</option +></term> +<listitem> +<para +>If enabled, &kdm; will automatically restart a session after an &X-Server; crash (or if it is killed by Alt-Ctrl-BackSpace). Note that enabling this feature opens a security hole: a secured display lock can be circumvented (unless &kde;'s built-in screen locker is used). </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-allowrootlogin" +><option +>AllowRootLogin</option +></term> +<listitem> +<para +>If disabled, do not allow <systemitem class="username" +>root</systemitem +> (and any other user with UID = 0) to log in directly. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-allownullpasswd" +><option +>AllowNullPasswd</option +></term> +<listitem> +<para +>If disabled, only users that have passwords assigned can log in. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-allowshutdown" +><option +>AllowShutdown</option +></term> +<listitem> +<para +>Who is allowed to shut down the system. This applies both to the greeter and to the command <acronym +>FiFo</acronym +>. </para> +<variablelist> +<varlistentry> +<term +><parameter +>None</parameter +></term> +<listitem +><para +>no <guilabel +>Shutdown...</guilabel +> menu entry is shown at all</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>Root</parameter +></term> +<listitem +><para +>the <systemitem class="username" +>root</systemitem +> password must be entered to shut down</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>All</parameter +></term> +<listitem +><para +>everybody can shut down the machine</para +></listitem> +</varlistentry> +</variablelist> +<para +>The default is <quote +>All</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-allowsdforcenow" +><option +>AllowSdForceNow</option +></term> +<listitem> +<para +>Who is allowed to abort active sessions when shutting down. </para> +<variablelist> +<varlistentry> +<term +><parameter +>None</parameter +></term> +<listitem +><para +>no forced shutdown is allowed at all</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>Root</parameter +></term> +<listitem +><para +>the <systemitem class="username" +>root</systemitem +> password must be entered to shut down forcibly</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>All</parameter +></term> +<listitem +><para +>everybody can shut down the machine forcibly</para +></listitem> +</varlistentry> +</variablelist> +<para +>The default is <quote +>All</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-defaultsdmode" +><option +>DefaultSdMode</option +></term> +<listitem> +<para +>The default choice for the shutdown condition/timing. </para> +<variablelist> +<varlistentry> +<term +><parameter +>Schedule</parameter +></term> +<listitem +><para +>shut down after all active sessions exit (possibly at once)</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>TryNow</parameter +></term> +<listitem +><para +>shut down, if no active sessions are open; otherwise, do nothing</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>ForceNow</parameter +></term> +<listitem +><para +>shut down unconditionally</para +></listitem> +</varlistentry> +</variablelist> +<para +>The default is <quote +>Schedule</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-scheduledsd" +><option +>ScheduledSd</option +></term> +<listitem> +<para +>How to offer shutdown scheduling options: </para> +<variablelist> +<varlistentry> +<term +><parameter +>Never</parameter +></term> +<listitem +><para +>not at all</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>Optional</parameter +></term> +<listitem +><para +>as a button in the simple shutdown dialogues</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>Always</parameter +></term> +<listitem +><para +>instead of the simple shutdown dialogues</para +></listitem> +</varlistentry> +</variablelist> +<para +>The default is <quote +>Never</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-nopassenable" +><option +>NoPassEnable</option +></term> +<listitem> +<para +>Enable password-less logins on this display. <emphasis +>Use with extreme care!</emphasis +> </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-nopassusers" +><option +>NoPassUsers</option +></term> +<listitem> +<para +>The users that do not need to provide a password to log in. Items which are prefixed with <literal +>@</literal +> represent all users in the user group named by that item. <literal +>*</literal +> means all users but <systemitem class="username" +>root</systemitem +> (and any other user with UID = 0). <emphasis +>Never</emphasis +> list <systemitem class="username" +>root</systemitem +>. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-autologinenable" +><option +>AutoLoginEnable</option +></term> +<listitem> +<para +>Enable automatic login. <emphasis +>Use with extreme care!</emphasis +> </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-autologinuser" +><option +>AutoLoginUser</option +></term> +<listitem> +<para +>The user to log in automatically. <emphasis +>Never</emphasis +> specify <systemitem class="username" +>root</systemitem +>! </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-autologinpass" +><option +>AutoLoginPass</option +></term> +<listitem> +<para +>The password for the user to log in automatically. This is <emphasis +>not</emphasis +> required unless the user is logged into a <acronym +>NIS</acronym +> or Kerberos domain. If you use this option, you should <command +>chmod <option +>600</option +> <filename +>kdmrc</filename +></command +> for obvious reasons. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-sessionsdirs" +><option +>SessionsDirs</option +></term> +<listitem> +<para +>A list of directories containing session type definitions. </para> +<para +>The default is <quote +>${<envar +>kde_datadir</envar +>}/kdm/sessions</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-clientlogfile" +><option +>ClientLogFile</option +></term> +<listitem> +<para +>The file (relative to the user's home directory) to redirect the session output to. One occurrence of <parameter +>%s</parameter +> in this string will be substituted with the display name. Use <parameter +>%%</parameter +> to obtain a literal <literal +>%</literal +>. </para> +<para +>The default is <quote +>.xsession-errors</quote +>.</para> +</listitem> +</varlistentry> + +</variablelist> +</sect2> + + +<sect2 id="kdmrc-greeter"> +<title +>The [X-*-Greeter] section class of &kdmrc;</title> + +<para +>This section class contains options concerning the configuration of the &kdm; frontend (greeter). </para> + +<variablelist> + +<varlistentry> +<term id="option-guistyle" +><option +>GUIStyle</option +></term> +<listitem> +<para +>Specify the widget style for the greeter. Empty means to use the built-in default which currently is <literal +>Keramik</literal +>. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-colorscheme" +><option +>ColorScheme</option +></term> +<listitem> +<para +>Specify the widget colour scheme for the greeter. Empty means to use the built-in default which currently is yellowish grey with some light blue and yellow elements. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-logoarea" +><option +>LogoArea</option +></term> +<listitem> +<para +>What should be shown in the greeter righthand of the input lines (if <option +>UserList</option +> is disabled) or above them (if <option +>UserList</option +> is enabled): </para> +<variablelist> +<varlistentry> +<term +><parameter +>None</parameter +></term> +<listitem +><para +>nothing</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>Logo</parameter +></term> +<listitem +><para +>the image specified by <option +>LogoPixmap</option +></para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>Clock</parameter +></term> +<listitem +><para +>a neat analogue clock</para +></listitem> +</varlistentry> +</variablelist> +<para +>The default is <quote +>Clock</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-logopixmap" +><option +>LogoPixmap</option +></term> +<listitem> +<para +>The image to show in the greeter if <option +>LogoArea</option +> is <literal +>Logo</literal +>. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-greeterpos" +><option +>GreeterPos</option +></term> +<listitem> +<para +>The relative coordinates (percentages of the screen size; X,Y) at which the centre of the greeter is put. &kdm; aligns the greeter to the edges of the screen it would cross otherwise. </para> +<para +>The default is <quote +>50,50</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-greeterscreen" +><option +>GreeterScreen</option +></term> +<listitem> +<para +>The screen the greeter should be displayed on in multi-headed and Xinerama setups. The numbering starts with 0. For Xinerama, it corresponds to the listing order in the active ServerLayout section of XF86Config; -1 means to use the upper-left screen, -2 means to use the upper-right screen. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-greetstring" +><option +>GreetString</option +></term> +<listitem> +<para +>The headline in the greeter. An empty greeting means none at all. </para +><para +>The following character pairs are replaced by their value: <variablelist> +<varlistentry> +<term +><parameter +>%d</parameter +></term> +<listitem +><para +>name of the current display</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>%h</parameter +></term> +<listitem +><para +>local host name, possibly with the domain name</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>%n</parameter +></term> +<listitem +><para +>local node name, most probably the host name without the domain name</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>%s</parameter +></term> +<listitem +><para +>operating system</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>%r</parameter +></term> +<listitem +><para +>operating system version</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>%m</parameter +></term> +<listitem +><para +>machine (hardware) type</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>%%</parameter +></term> +<listitem +><para +>a single <literal +>%</literal +></para +></listitem> +</varlistentry> +</variablelist> +</para> +<para +>The default is <quote +>Welcome to %s at %n</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-greetfont" +><option +>GreetFont</option +></term> +<listitem> +<para +>The font for the greeter headline. </para> +<para +>The default is <quote +>charter,24,bold</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-stdfont" +><option +>StdFont</option +></term> +<listitem> +<para +>The normal font used in the greeter. </para> +<para +>The default is <quote +>helvetica,12</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-failfont" +><option +>FailFont</option +></term> +<listitem> +<para +>The font used for the <quote +>Login Failed</quote +> message. </para> +<para +>The default is <quote +>helvetica,12,bold</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-antialiasing" +><option +>AntiAliasing</option +></term> +<listitem> +<para +>Whether the fonts used in the greeter should be antialiased. </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-numlock" +><option +>NumLock</option +></term> +<listitem> +<para +>What to do with the Num Lock modifier for the time the greeter is running: </para> +<variablelist> +<varlistentry> +<term +><parameter +>Off</parameter +></term> +<listitem +><para +>turn off</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>On</parameter +></term> +<listitem +><para +>turn on</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>Keep</parameter +></term> +<listitem +><para +>do not change the state</para +></listitem> +</varlistentry> +</variablelist> +<para +>The default is <quote +>Keep</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-language" +><option +>Language</option +></term> +<listitem> +<para +>Language and locale to use in the greeter, encoded like $<envar +>LC_LANG</envar +>. </para> +<para +>The default is <quote +>en_US</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-usercompletion" +><option +>UserCompletion</option +></term> +<listitem> +<para +>Enable autocompletion in the username line edit. </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-userlist" +><option +>UserList</option +></term> +<listitem> +<para +>Show a user list with unix login names, real names and images in the greeter. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-showusers" +><option +>ShowUsers</option +></term> +<listitem> +<para +>This option controls which users will be shown in the user view (<option +>UserList</option +>) and/or offered for autocompletion (<option +>UserCompletion</option +>). If it is <literal +>Selected</literal +>, <option +>SelectedUsers</option +> contains the final list of users. If it is <literal +>NotHidden</literal +>, the initial user list are all users found on the system. Users contained in <option +>HiddenUsers</option +> are removed from the list, just like all users with a UID greater than specified in <option +>MaxShowUID</option +> and users with a non-zero UID less than specified in <option +>MinShowUID</option +>. Items in <option +>SelectedUsers</option +> and <option +>HiddenUsers</option +> which are prefixed with <literal +>@</literal +> represent all users in the user group named by that item. Finally, the user list will be sorted alphabetically, if <option +>SortUsers</option +> is enabled. </para> +<para +>The default is <quote +>NotHidden</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-selectedusers" +><option +>SelectedUsers</option +></term> +<listitem> +<para +>See <option +>ShowUsers</option +>. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-hiddenusers" +><option +>HiddenUsers</option +></term> +<listitem> +<para +>See <option +>ShowUsers</option +>. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-minshowuid" +><option +>MinShowUID</option +></term> +<listitem> +<para +>See <option +>ShowUsers</option +>. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-maxshowuid" +><option +>MaxShowUID</option +></term> +<listitem> +<para +>See <option +>ShowUsers</option +>. </para> +<para +>The default is <quote +>65535</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-sortusers" +><option +>SortUsers</option +></term> +<listitem> +<para +>See <option +>ShowUsers</option +>. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-facesource" +><option +>FaceSource</option +></term> +<listitem> +<para +>If <option +>UserList</option +> is enabled, this specifies where &kdm; gets the images from: </para> +<variablelist> +<varlistentry> +<term +><parameter +>AdminOnly</parameter +></term> +<listitem +><para +>from <filename +><<option +>FaceDir</option +>>/$<envar +>USER</envar +>.face[.icon]</filename +></para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>PreferAdmin</parameter +></term> +<listitem +><para +>prefer <<option +>FaceDir</option +>>, fallback on $<envar +>HOME</envar +></para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>PreferUser</parameter +></term> +<listitem +><para +>... and the other way round</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>UserOnly</parameter +></term> +<listitem +><para +>from the user's <filename +>$<envar +>HOME</envar +>/.face[.icon]</filename +></para +></listitem> +</varlistentry> +</variablelist> + +<para +>The images can be in any format Qt recognises, but the filename must match &kdm;'s expectations: <literal +>.face.icon</literal +> should be a 48x48 icon, while <literal +>.face</literal +> should be a 300x300 image. Currently the big image is used only as a fallback and is scaled down, but in the future it might be displayed full-size in the logo area or a tooltip. </para> +<para +>The default is <quote +>AdminOnly</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-facedir" +><option +>FaceDir</option +></term> +<listitem> +<para +>See <option +>FaceSource</option +>. </para> +<para +>The default is <quote +>${<envar +>kde_datadir</envar +>}/kdm/faces</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-preselectuser" +><option +>PreselectUser</option +></term> +<listitem> +<para +>Specify, if/which user should be preselected for log in: </para> +<variablelist> +<varlistentry> +<term +><parameter +>None</parameter +></term> +<listitem +><para +>do not preselect any user</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>Previous</parameter +></term> +<listitem +><para +>the user which successfully logged in last time</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>Default</parameter +></term> +<listitem +><para +>the user specified in the <option +>DefaultUser</option +> option</para +></listitem> +</varlistentry> +</variablelist> + +<para +>If <option +>FocusPasswd</option +> is enabled and a user was preselected, the cursor is placed in the password input field automatically. </para> +<note +><para +>Enabling user preselection can be considered a security hole, as it presents a valid login name to a potential attacker, so he <quote +>only</quote +> needs to guess the password. On the other hand, one could set <option +>DefaultUser</option +> to a fake login name.</para +></note> + +<para +>The default is <quote +>None</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-defaultuser" +><option +>DefaultUser</option +></term> +<listitem> +<para +>See <option +>PreselectUser</option +>. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-focuspasswd" +><option +>FocusPasswd</option +></term> +<listitem> +<para +>See <option +>PreselectUser</option +>. </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-echomode" +><option +>EchoMode</option +></term> +<listitem> +<para +>The password input fields cloak the typed in text. Specify, how to do it: </para> +<variablelist> +<varlistentry> +<term +><parameter +>OneStar</parameter +></term> +<listitem +><para +><literal +>*</literal +> is shown for every typed letter</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>ThreeStars</parameter +></term> +<listitem +><para +><literal +>***</literal +> is shown for every typed letter</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>NoEcho</parameter +></term> +<listitem +><para +>nothing is shown at all, the cursor does not move</para +></listitem> +</varlistentry> +</variablelist> +<para +>The default is <quote +>OneStar</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-usebackground" +><option +>UseBackground</option +></term> +<listitem> +<para +>If enabled, &kdm; will automatically start the <command +>krootimage</command +> program to set up the background; otherwise, the <option +>Setup</option +> program is responsible for the background. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-backgroundcfg" +><option +>BackgroundCfg</option +></term> +<listitem> +<para +>The configuration file to be used by <command +>krootimage</command +>. It contains a section named <literal +>[Desktop0]</literal +> like <filename +>kdesktoprc</filename +> does. Its options are not described herein; guess their meanings or use the control centre. </para> +<para +>The default is <quote +>${<envar +>kde_confdir</envar +>}/kdm/backgroundrc</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-grabserver" +><option +>GrabServer</option +></term> +<listitem> +<para +>To improve security, the greeter grabs the &X-Server; and then the keyboard when it starts up. This option specifies if the &X-Server; grab should be held for the duration of the name/password reading. When disabled, the &X-Server; is ungrabbed after the keyboard grab succeeds; otherwise, the &X-Server; is grabbed until just before the session begins. </para> +<note +><para +>Enabling this option disables <option +>UseBackground</option +> and <option +>Setup</option +>.</para +></note> + +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-grabtimeout" +><option +>GrabTimeout</option +></term> +<listitem> +<para +>This option specifies the maximum time &kdm; will wait for the grabs to succeed. A grab may fail if some other X-client has the &X-Server; or the keyboard grabbed, or possibly if the network latencies are very high. You should be cautious when raising the timeout, as a user can be spoofed by a look-alike window on the display. If a grab fails, &kdm; kills and restarts the &X-Server; (if possible) and the session. </para> +<para +>The default is <quote +>3</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-authcomplain" +><option +>AuthComplain</option +></term> +<listitem> +<para +>Warn, if a display has no X-authorisation. This will be the case if <itemizedlist> + <listitem +><para +>the authorisation file for a local &X-Server; could not be created, </para +></listitem> + <listitem +><para +>a remote display from &XDMCP; did not request any authorisation or </para +></listitem> + <listitem +><para +>the display is a <literal +>foreign</literal +> display from the <filename +>Xservers</filename +> file. </para +></listitem> +</itemizedlist> +</para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-loginmode" +><option +>LoginMode</option +></term> +<listitem> +<para +>Specify whether the greeter of local displays should start up in host chooser (remote) or login (local) mode and whether it is allowed to switch to the other mode. </para> +<variablelist> +<varlistentry> +<term +><parameter +>LocalOnly</parameter +></term> +<listitem +><para +>only local login possible</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>DefaultLocal</parameter +></term> +<listitem +><para +>start up in local mode, but allow switching to remote mode</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>DefaultRemote</parameter +></term> +<listitem +><para +>... and the other way round</para +></listitem> +</varlistentry> +<varlistentry> +<term +><parameter +>RemoteOnly</parameter +></term> +<listitem +><para +>only choice of remote host possible</para +></listitem> +</varlistentry> +</variablelist> +<para +>The default is <quote +>LocalOnly</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-chooserhosts" +><option +>ChooserHosts</option +></term> +<listitem> +<para +>A list of hosts to be automatically added to the remote login menu. The special name <literal +>*</literal +> means broadcast. Has no effect if <option +>LoginMode</option +> is <literal +>LocalOnly</literal +>. </para> +<para +>The default is <quote +>*</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-forgingseed" +><option +>ForgingSeed</option +></term> +<listitem> +<para +>Use this number as a random seed when forging saved session types, etc. of unknown users. This is used to avoid telling an attacker about existing users by reverse conclusion. This value should be random but constant across the login domain. </para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-showlog" +><option +>ShowLog</option +></term> +<listitem> +<para +>Enable &kdm;'s built-in <command +>xconsole</command +>. Note that this can be enabled for only one display at a time. This option is available only if &kdm; was <command +>configure</command +>d with <option +>--enable-kdm-xconsole</option +>. </para> +<para +>The default is <quote +>false</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-logsource" +><option +>LogSource</option +></term> +<listitem> +<para +>The data source for &kdm;'s built-in <command +>xconsole</command +>. If empty, a console log redirection is requested from <filename +>/dev/console</filename +>. Has no effect if <option +>ShowLog</option +> is disabled. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-pluginslogin" +><option +>PluginsLogin</option +></term> +<listitem> +<para +>Specify conversation plugins for the login dialogue; the first in the list is selected initially. Each plugin can be specified as a base name (which expands to <filename +>$<envar +>kde_modulesdir</envar +>/kgreet_<replaceable +>base</replaceable +></filename +>) or as a full pathname. </para +><para +>Conversation plugins are modules for the greeter which obtain authentication data from the user. Currently only the <literal +>classic</literal +> plugin is shipped with &kde;; it presents the well-known username and password form. </para> +<para +>The default is <quote +>classic</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-pluginsshutdown" +><option +>PluginsShutdown</option +></term> +<listitem> +<para +>Same as <option +>PluginsLogin</option +>, but for the shutdown dialogue. </para> +<para +>The default is <quote +>classic</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-pluginoptions" +><option +>PluginOptions</option +></term> +<listitem> +<para +>A list of options of the form <replaceable +>Key</replaceable +><literal +>=</literal +><replaceable +>Value</replaceable +>. The conversation plugins can query these settings; it is up to them what possible keys are. </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-allowconsole" +><option +>AllowConsole</option +></term> +<listitem> +<para +>Show the <guilabel +>Console Login</guilabel +> action in the greeter. For this to work, a console must be configured for this particular display, see <xref linkend="kdmrc-xservers"/>. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-allowclose" +><option +>AllowClose</option +></term> +<listitem> +<para +>Show the <guilabel +>Restart X Server</guilabel +>/<guilabel +>Close Connection</guilabel +> action in the greeter. </para> +<para +>The default is <quote +>true</quote +>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="option-preloader" +><option +>Preloader</option +></term> +<listitem> +<para +>A program to run while the greeter is visible. It is supposed to preload as much as possible of the session that is going to be started (most probably). </para> +<para +>Empty by default.</para> +</listitem> +</varlistentry> + +</variablelist> +</sect2> + + + +</sect1> + +<sect1 id="kdmrc-xservers"> +<title +>Specifying permanent &X-Server;s</title> + +<para +>Each specification indicates a display which should constantly be managed and which is not using &XDMCP;. This method is typically used only for local &X-Server;s that are started by &kdm;, but &kdm; can manage externally started (<quote +>foreign</quote +>) &X-Server;s as well, may they run on the local machine or rather remotely.</para> + +<para +>The formal syntax of a specification is <screen> +<userinput +><replaceable +>display name</replaceable +> [<replaceable +>display class</replaceable +>] <literal +>local</literal +>[<literal +>@</literal +><replaceable +>tty</replaceable +>] [<literal +>reserve</literal +>] <replaceable +>server command</replaceable +></userinput> +</screen +> for own &X-Server;s and <screen> +<userinput +><replaceable +>display name</replaceable +> [<replaceable +>display class</replaceable +>] <literal +>foreign</literal +></userinput> +</screen +> for foreign &X-Server;s.</para> + +<para +>The <replaceable +>display name</replaceable +> must be something that can be passed in the <option +>-display</option +> option to an X program. This string is used to generate the display-specific section names, so be careful to match the names. The display name of &XDMCP; displays is derived from the display's address by reverse host name resolution. For configuration purposes, the <literal +>localhost</literal +> prefix from locally running &XDMCP; displays is <emphasis +>not</emphasis +> stripped to make them distinguishable from local &X-Server;s started by &kdm;.</para> + +<para +>The <replaceable +>display class</replaceable +> portion is also used in the display-specific sections. This is useful if you have a large collection of similar displays (such as a corral of X terminals) and would like to set options for groups of them. When using &XDMCP;, the display is required to specify the display class, so the manual for your particular X terminal should document the display class string for your device. If it does not, you can run &kdm; in debug mode and <command +>grep</command +> the log for <quote +>class</quote +>.</para> + +<para +>The <replaceable +>tty</replaceable +> specifies which text console an &X-Server; is <quote +>covering</quote +>, so &kdm; knows which console it should monitor for activity after switching to <guilabel +>Console login</guilabel +> to find out when the console session ends. Note that this concept (originating from Solaris) is not perfectly suited for Linux, as there &X-Server;s run on separate virtual terminals and consequently do not actually cover consoles (<command +>getty</command +>s). </para> + +<para +>The <literal +>reserve</literal +> keyword instructs &kdm; to start the display not when &kdm; starts up, but when it is explicitly requested via the command <acronym +>FiFo</acronym +>. If reserve displays are specified, the &kde; menu will have a <guilabel +>Start New Session</guilabel +> item near the bottom; use that to activate a reserve display with a new login session. The monitor will switch to the new display, and you will have a minute to login. If there are no more reserve displays available, selecting the menu item will have no effect.</para> + +<para +>The <replaceable +>server command</replaceable +> specifies the complete &X-Server; command line, including a display number for secondary displays. When &kdm; starts a session, it sets up authorisation data for the &X-Server;. For local servers, &kdm; passes <command +><option +>-auth</option +> <filename +><replaceable +>filename</replaceable +></filename +></command +> on the &X-Server;'s command line to point it at its authorisation data. For &XDMCP; displays, &kdm; passes the authorisation data to the &X-Server; via the <quote +>Accept</quote +> &XDMCP; message.</para> + +</sect1> + +<sect1 id="kdmrc-xaccess"> +<title +>&XDMCP; access control</title> + +<para +>The file specified by the <option +>AccessFile</option +> option provides information which &kdm; uses to control access from displays requesting service via &XDMCP;. The file contains four types of entries: entries which control the response to <quote +>Direct</quote +> and <quote +>Broadcast</quote +> queries, entries which control the response to <quote +>Indirect</quote +> queries, macro definitions for <quote +>Indirect</quote +> entries and entries which control on which network interfaces &kdm; listens for &XDMCP; queries. Blank lines are ignored, <literal +>#</literal +> is treated as a comment delimiter causing the rest of that line to be ignored and <literal +>\</literal +> causes an immediately following newline to be ignored, allowing indirect host lists to span multiple lines. </para> + +<para +>The format of the <quote +>Direct</quote +> entries is simple, either a host name or a pattern, which is compared against the host name of the display device. Patterns are distinguished from host names by the inclusion of one or more meta characters; <literal +>*</literal +> matches any sequence of 0 or more characters, and <literal +>?</literal +> matches any single character. If the entry is a host name, all comparisons are done using network addresses, so any name which converts to the correct network address may be used. Note that only the first network address returned for a host name is used. For patterns, only canonical host names are used in the comparison, so ensure that you do not attempt to match aliases. Host names from &XDMCP; queries always contain the local domain name even if the reverse lookup returns a short name, so you can use patterns for the local domain. Preceding the entry with a <literal +>!</literal +> character causes hosts which match that entry to be excluded. To only respond to <quote +>Direct</quote +> queries for a host or pattern, it can be followed by the optional <literal +>NOBROADCAST</literal +> keyword. This can be used to prevent a &kdm; server from appearing on menus based on <quote +>Broadcast</quote +> queries.</para> + +<para +>An <quote +>Indirect</quote +> entry also contains a host name or pattern, but follows it with a list of host names or macros to which the queries should be forwarded. <quote +>Indirect</quote +> entries can be excluding as well, in which case a (valid) dummy host name must be supplied to make the entry distinguishable from a <quote +>Direct</quote +> entry. If compiled with IPv6 support, multicast address groups may also be included in the list of addresses the queries are forwarded to. If the indirect host list contains the keyword <literal +>CHOOSER</literal +>, <quote +>Indirect</quote +> queries are not forwarded, but instead a host chooser dialogue is displayed by &kdm;. The chooser will send a <quote +>Direct</quote +> query to each of the remaining host names in the list and offer a menu of all the hosts that respond. The host list may contain the keyword <literal +>BROADCAST</literal +>, to make the chooser send a <quote +>Broadcast</quote +> query as well; note that on some operating systems, UDP packets cannot be broadcast, so this feature will not work. </para> + +<para +>When checking access for a particular display host, each entry is scanned in turn and the first matching entry determines the response. <quote +>Direct</quote +> and <quote +>Broadcast</quote +> entries are ignored when scanning for an <quote +>Indirect</quote +> entry and vice-versa.</para> + +<para +>A macro definition contains a macro name and a list of host names and other macros that the macro expands to. To distinguish macros from hostnames, macro names start with a <literal +>%</literal +> character.</para> + +<para +>The last entry type is the <literal +>LISTEN</literal +> directive. The formal syntax is <screen> +<userinput +> <literal +>LISTEN</literal +> [<replaceable +>interface</replaceable +> [<replaceable +>multicast list</replaceable +>]]</userinput> +</screen +> If one or more <literal +>LISTEN</literal +> lines are specified, &kdm; listens for &XDMCP; requests only on the specified interfaces. <replaceable +>interface</replaceable +> may be a hostname or IP address representing a network interface on this machine, or the wildcard <literal +>*</literal +> to represent all available network interfaces. If multicast group addresses are listed on a <literal +>LISTEN</literal +> line, &kdm; joins the multicast groups on the given interface. For IPv6 multicasts, the IANA has assigned ff0<replaceable +>X</replaceable +>:0:0:0:0:0:0:12b as the permanently assigned range of multicast addresses for &XDMCP;. The <replaceable +>X</replaceable +> in the prefix may be replaced by any valid scope identifier, such as 1 for Node-Local, 2 for Link-Local, 5 for Site-Local, and so on (see IETF RFC 2373 or its replacement for further details and scope definitions). &kdm; defaults to listening on the Link-Local scope address ff02:0:0:0:0:0:0:12b to most closely match the IPv4 subnet broadcast behavior. If no <literal +>LISTEN</literal +> lines are given, &kdm; listens on all interfaces and joins the default &XDMCP; IPv6 multicast group (when compiled with IPv6 support). To disable listening for &XDMCP; requests altogether, a <literal +>LISTEN</literal +> line with no addresses may be specified, but using the <literal +>[Xdmcp]</literal +> <option +>Enable</option +> option is preferred. </para> + +</sect1> + +<sect1> +<title +>Supplementary programs</title> + +<para +>The following programs are run by &kdm; at various stages of a session. They typically are shell scripts. </para> + +<para +>The Setup, Startup and Reset programs are run as <systemitem class="username" +>root</systemitem +>, so they should be careful about security. Their first argument is <literal +>auto</literal +> if the session results from an automatic login; otherwise, no arguments are passed to them. </para> + +<sect2 id="kdmrc-xsetup"> +<title +>Setup program</title> + +<para +>The <filename +>Xsetup</filename +> program is run after the &X-Server; is started or reset, but before the greeter is offered. This is the place to change the root background (if <option +>UseBackground</option +> is disabled) or bring up other windows that should appear on the screen along with the greeter. </para> + +<para +>In addition to any specified by <option +>ExportList</option +>, the following environment variables are passed:</para> +<variablelist> + <varlistentry> + <term +>DISPLAY</term> + <listitem +><para +>the associated display name</para +></listitem> + </varlistentry> + <varlistentry> + <term +>PATH</term> + <listitem +><para +>the value of <option +>SystemPath</option +></para +></listitem> + </varlistentry> + <varlistentry> + <term +>SHELL</term> + <listitem +><para +>the value of <option +>SystemShell</option +></para +></listitem> + </varlistentry> + <varlistentry> + <term +>XAUTHORITY</term> + <listitem +><para +>may be set to an authority file</para +></listitem> + </varlistentry> + <varlistentry> + <term +>DM_CONTROL</term> + <listitem +><para +>the value of <option +>FifoDir</option +></para +></listitem> + </varlistentry> +</variablelist> + +<para +>Note that since &kdm; grabs the keyboard, any other windows will not be able to receive keyboard input. They will be able to interact with the mouse, however; beware of potential security holes here. If <option +>GrabServer</option +> is set, <filename +>Xsetup</filename +> will not be able to connect to the display at all. Resources for this program can be put into the file named by <option +>Resources</option +>. </para> + +</sect2> + +<sect2 id="kdmrc-xstartup"> +<title +>Startup program</title> + +<para +>The <filename +>Xstartup</filename +> program is run as <systemitem class="username" +>root</systemitem +> when the user logs in. This is the place to put commands which add entries to <filename +>utmp</filename +> (the <command +>sessreg</command +> program may be useful here), mount users' home directories from file servers, or abort the session if some requirements are not met (but note that on modern systems, many of these tasks are already taken care of by <acronym +>PAM</acronym +> modules).</para> + +<para +>In addition to any specified by <option +>ExportList</option +>, the following environment variables are passed:</para> +<variablelist> + <varlistentry> + <term +>DISPLAY</term> + <listitem +><para +>the associated display name</para +></listitem> + </varlistentry> + <varlistentry> + <term +>HOME</term> + <listitem +><para +>the initial working directory of the user</para +></listitem> + </varlistentry> + <varlistentry> + <term +>LOGNAME</term> + <listitem +><para +>the username</para +></listitem> + </varlistentry> + <varlistentry> + <term +>USER</term> + <listitem +><para +>the username</para +></listitem> + </varlistentry> + <varlistentry> + <term +>PATH</term> + <listitem +><para +>the value of <option +>SystemPath</option +></para +></listitem> + </varlistentry> + <varlistentry> + <term +>SHELL</term> + <listitem +><para +>the value of <option +>SystemShell</option +></para +></listitem> + </varlistentry> + <varlistentry> + <term +>XAUTHORITY</term> + <listitem +><para +>may be set to an authority file</para +></listitem> + </varlistentry> + <varlistentry> + <term +>DM_CONTROL</term> + <listitem +><para +>the value of <option +>FifoDir</option +></para +></listitem> + </varlistentry> +</variablelist> + +<para +>&kdm; waits until this program exits before starting the user session. If the exit value of this program is non-zero, &kdm; discontinues the session and starts another authentication cycle.</para> + +</sect2> + +<sect2 id="kdmrc-xsession"> +<title +>Session program</title> + +<para +>The <filename +>Xsession</filename +> program is the command which is run as the user's session. It is run with the permissions of the authorised user. One of the keywords <literal +>failsafe</literal +>, <literal +>default</literal +> or <literal +>custom</literal +>, or a string to <command +>eval</command +> by a Bourne-compatible shell is passed as the first argument.</para> + +<para +>In addition to any specified by <option +>ExportList</option +>, the following environment variables are passed:</para> +<variablelist> + <varlistentry> + <term +>DISPLAY</term> + <listitem +><para +>the associated display name</para +></listitem> + </varlistentry> + <varlistentry> + <term +>HOME</term> + <listitem +><para +>the initial working directory of the user</para +></listitem> + </varlistentry> + <varlistentry> + <term +>LOGNAME</term> + <listitem +><para +>the username</para +></listitem> + </varlistentry> + <varlistentry> + <term +>USER</term> + <listitem +><para +>the username</para +></listitem> + </varlistentry> + <varlistentry> + <term +>PATH</term> + <listitem +><para +>the value of <option +>UserPath</option +> (or <option +>SystemPath</option +> for <systemitem class="username" +>root</systemitem +> user sessions)</para> + </listitem> + </varlistentry> + <varlistentry> + <term +>SHELL</term> + <listitem +><para +>the user's default shell</para +></listitem> + </varlistentry> + <varlistentry> + <term +>XAUTHORITY</term> + <listitem +><para +>may be set to a non-standard authority file</para +></listitem> + </varlistentry> + <varlistentry> + <term +>KRBTKFILE</term> + <listitem +><para +>may be set to a Kerberos4 credentials cache name</para> + </listitem> + </varlistentry> + <varlistentry> + <term +>KRB5CCNAME</term> + <listitem +><para +>may be set to a Kerberos5 credentials cache name</para> + </listitem> + </varlistentry> + <varlistentry> + <term +>DM_CONTROL</term> + <listitem +><para +>the value of <option +>FifoDir</option +></para +></listitem> + </varlistentry> + <varlistentry> + <term +>XDM_MANAGED</term> + <listitem +><para +>will contain a comma-separated list of parameters the session might find interesting, like the location of the command <acronym +>FiFo</acronym +> and its capabilities, and which conversation plugin was used for the login</para> + </listitem> + </varlistentry> + <varlistentry> + <term +>DESKTOP_SESSION</term> + <listitem +><para +>the name of the session the user has chosen to run</para> + </listitem> + </varlistentry> +</variablelist> + +</sect2> + +<sect2 id="kdmrc-xreset"> +<title +>Reset program</title> + +<para +>Symmetrical with <filename +>Xstartup</filename +>, the <filename +>Xreset</filename +> program is run after the user session has terminated. Run as <systemitem class="username" +>root</systemitem +>, it should contain commands that undo the effects of commands in <filename +>Xstartup</filename +>, removing entries from <filename +>utmp</filename +> or unmounting directories from file servers.</para> + +<para +>The environment variables that were passed to <filename +>Xstartup</filename +> are also passed to <filename +>Xreset</filename +>. </para> + +</sect2> + +</sect1> + +</chapter> |