On Sat, 7 Sep 1996, Jim Worthington wrote: > It looks as if my /etc/X11/Xsession file is not being read. Where > does this get called from? I suspect that whatever is causing this > problem is also responsible for my xdm problem. /etc/X11/config also > looks OK.
I'm sending you my /etc/X11/Xsession, install it with permissions 755, owned by root.root, of course. This is the standard debian Xsession (maybe it's corrupted on your system). Run "xmodmap /etc/X11/Xmodmap" or re-login after installing this file... But I can see you're not a newbie :) All the best, Vad. ++ _ Vadik V. (_` [EMAIL PROTECTED] http://www.nether.net/~legolas/ Vygonets (_.lf PGP public key (ID 9FC1DED9) available from surfnet.nl User Failure: Please Insert a Bootable Brain
#! /bin/sh # # /etc/X11/Xsession # # This is the global Xsession file. It is used by both xdm and xinit. # If /etc/environment is present, source it. It's useful to put default # environment settings in this file, and then source it both here and in # /etc/profile. if [ -f /etc/environment ] ; then . /etc/environment fi sysmodmap=/etc/X11/Xmodmap usrmodmap=$HOME/.Xmodmap sysresources=/etc/X11/Xresources usrresources=$HOME/.Xresources startup=$HOME/.xsession for errfile in \ "$HOME/.xsession-errors" "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER" do if ( cp /dev/null "$errfile" 2> /dev/null ) then chmod 600 "$errfile" exec > "$errfile" 2>&1 break fi done case $# in 1) case $1 in failsafe) if grep -q ^allow-failsafe /etc/X11/config then exec xterm -geometry 80x24-0-0 fi ;; esac esac if [ -f $sysresources ] then xrdb -merge $sysresources fi if [ -f $sysmodmap ] then xmodmap $sysmodmap fi if grep -q ^allow-user-resources /etc/X11/config then if [ -f $usrresources ] then xrdb -merge $usrresources fi fi if grep -q ^allow-user-modmap /etc/X11/config then if [ -f $usrmodmap ] then xmodmap $usrmodmap fi fi if [ -x $startup ] && grep -q ^allow-user-xsession /etc/X11/config then exec $startup else xterm -ls & if [ -e /etc/X11/window-managers ] then for i in `cat /etc/X11/window-managers` do if [ -x $i ] then exec $i fi done fi if [ -x /usr/X11R6/bin/fvwm ] then exec fvwm fi exec twm fi