Commit c0aa384a authored by Brian Cameron's avatar Brian Cameron Committed by Brian Cameron

Now allow xevie to be turned on for server-Standard. This is for better

2005-05-25  Brian Cameron  <brian.cameron@sun.com>

        * acconfig.h, configure.in, config/gdm.conf.in,
          config/Xsession.in, README.install: Now allow xevie to
          be turned on for server-Standard.  This is for better
          a11y support.  Now use /bin/ksh for Xsession shell if
          on Solaris instead of /bin/sh.  This is needed to
          support Solaris users who are using ksh or bash as
          their $HOME shell.
parent 56d7abae
2005-05-25 Brian Cameron <brian.cameron@sun.com>
* acconfig.h, configure.in, config/gdm.conf.in,
config/Xsession.in, README.install: Now allow xevie to
be turned on for server-Standard. This is for better
a11y support. Now use /bin/ksh for Xsession shell if
on Solaris instead of /bin/sh. This is needed to
support Solaris users who are using ksh or bash as
their $HOME shell.
2005-05-17 Brian Cameron <brian.cameron@sun.com>
* daemon/gdm.[ch], daemon/misc.c, daemon/verify-pam.c,
......@@ -115,7 +125,7 @@
* daemon/slave.c: To support when one username can be
mapped to another canonical username, we use the
loginname that pwent returns instead of the one
that was typed. in. Fixes bug #301820. Patch
that was typed in. Fixes bug #301820. Patch
provided by Mike Patnode. Now use seteuid before
checking existance of user's home directory since
root doesn't always have access and fails otherwise.
......@@ -368,7 +378,6 @@
* po/en_GB.po: Updated British English translation.
2005-04-06 Brian Cameron <brian.cameron@sun.com>
* gui/gdmlogin.c: Set size requests for text labels in
......
......@@ -104,6 +104,11 @@ To assign a default face to a user for the face browser, place a
The gdm.conf DefaultFace configuration option allows the system
administrator to set up a default face image.
For best a11y support on Linux, it is recommended use the
--with-xevie configuration option so that the user's Xserver
session is always started with the Xserver XEVIE extension.
GOK works best when XEVIE is enabled.
Read the GDM documentation for more information about configuring
GDM: http://yippi.hypermall.com/gdm/
......
......@@ -48,9 +48,11 @@
#undef EXPANDED_SBINDIR
#undef EXPANDED_SYSCONFDIR
#undef EXPANDED_SESSDIR
#undef X_PATH
#undef X_SERVER
#undef X_SERVER_PATH
#undef X_XNEST_PATH
#undef X_XNEST_CONFIG_OPTIONS
#undef X_CONFIG_OPTIONS
#undef X_PATH
#undef XSESSION_SHELL
#undef XEVIE_OPTION
#!/bin/sh
#!@XSESSION_SHELL@
#
# This is SORT OF LIKE an X session, but not quite. You get a command as the
# first argument (it could be multiple words, so run it with "eval"). As a
......
......@@ -469,7 +469,7 @@ Enable=false
# Definition of the standard X server.
[server-Standard]
name=Standard server
command=@X_SERVER@ @X_CONFIG_OPTIONS@
command=@X_SERVER@ @X_CONFIG_OPTIONS@ @XEVIE_OPTION@
flexible=true
# To use this server type you should add -query host or -indirect host
......
......@@ -716,6 +716,19 @@ fi
AC_SUBST(AT_BINDIR)
AC_DEFINE_UNQUOTED(AT_BINDIR,"$AT_BINDIR")
AC_ARG_WITH(xevie,
[ --with-xevie=[yes/no] Add XEvIE Xserver extension support [default=no]],,
with_xevie=no)
if test x$with_xevie != xno ; then
XEVIE_OPTION="+extension XEVIE"
else
XEVIE_OPTION=""
fi
AC_SUBST(XEVIE_OPTION)
AC_DEFINE_UNQUOTED(XEVIE_OPTION,"$XEVIE_OPTION")
AC_MSG_CHECKING(for fbconsole (for Solaris))
if test -x /usr/openwin/bin/fbconsole; then
AC_DEFINE(HAVE_FBCONSOLE)
......@@ -762,12 +775,14 @@ case "$host" in
HALT_COMMAND="/sbin/init 5"
REBOOT_COMMAND="/sbin/init 6"
SUSPEND_COMMAND="/usr/openwin/bin/sys-suspend -n"
XSESSION_SHELL=/bin/ksh
;;
*)
GDM_USER_PATH="/bin:/usr/bin"
HALT_COMMAND="/usr/bin/poweroff;/sbin/poweroff;/sbin/shutdown -h now;/usr/sbin/shutdown -h now"
REBOOT_COMMAND="/usr/bin/reboot;/sbin/reboot;/sbin/shutdown -r now;/usr/sbin/shutdown -r now"
SUSPEND_COMMAND=""
XSESSION_SHELL=/bin/ksh
;;
esac
......@@ -854,6 +869,8 @@ AC_SUBST(REBOOT_COMMAND)
AC_DEFINE_UNQUOTED(REBOOT_COMMAND,"$REBOOT_COMMAND")
AC_SUBST(SUSPEND_COMMAND)
AC_DEFINE_UNQUOTED(SUSPEND_COMMAND,"$SUSPEND_COMMAND")
AC_SUBST(XSESSION_SHELL)
AC_DEFINE_UNQUOTED(XSESSION_SHELL,"$XSESSION_SHELL")
AC_SUBST(GDM_USER_PATH)
AC_DEFINE_UNQUOTED(GDM_USER_PATH,"$GDM_USER_PATH")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment