On Tue, Dec 19, 2000 at 11:38:12AM -0500, Eric Gillespie, Jr. wrote: > Branden has agreed to update /etc/X11/Xsession to try to exec > x-session-manager before x-window-manager. What this means is > that you should install gnome-session and startkde as an > alternative for x-session-manager. This means that a user who has > installed GNOME or KDE and doesn't have ~/.xsession will get what > they expect when they type startx. > > xsm will not be installed as an alternative, since doing so would > cause unexpected behavior for people relying on x-window-manager > being started for them. Presumably, anyone ancient enough to want > xsm knows how to run it :). Sneak preview: if grep -qs ^allow-user-xsession $optionfile; then for startupfile in $startup $altstartup; do if [ -e $startupfile ]; then if [ -x $startupfile ]; then realstartup=$startupfile else realstartup="sh $startupfile" fi break fi done fi if [ -z "$realstartup" ]; then if [ -x /usr/bin/x-session-manager ]; then realstartup=x-session-manager elif [ -x /usr/bin/x-window-manager ]; then realstartup=x-window-manager elif [ -x /usr/bin/x-terminal-emulator ]; then realstartup=x-terminal-emulator fi fi if [ -z "$realstartup" ]; then # fatal error ERRMSG="Xsession: unable to start X session; " if grep -qs ^allow-user-xsession $optionfile; then ERRMSG="$ERRMSG no $startup file, no $altstartup file," fi ERRMSG="$ERRMSG no session managers, no window managers, and no terminal emulators found. Aborting." echo "$ERRMSG" | fmt -u -w ${COLUMNS:-80} exit 1 fi This will go into 4.0.2-1. -- G. Branden Robinson | If you wish to strive for peace of soul, Debian GNU/Linux | then believe; if you wish to be a branden@debian.org | devotee of truth, then inquire. http://www.debian.org/~branden/ | -- Friedrich Nietzsche
Attachment:
pgpudYFnBxJ_z.pgp
Description: PGP signature