[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X window manager oddities



On Mon, 20 Jan 1997 18:34:11 PST Steve (steve@edmweb.com) wrote:

> This happened after I cat'ed usr/lib/X11/app-defaults/XTerm-color onto my
> ~/.Xdefaults file, in an effort to get Xterm to work in colour (following
> some advice in the list archives). My .Xdefaults file was nonexistent before
> that. When I re-logged in with xdm, it dumped me into twm. I figured it
> didn't like my new .Xdefaults, so I rm'ed it, but it still dumps me into
> twm.
> 
> As far as I can tell, everything is the same as before I messed with my
> .Xdefaults, but I keep getting twm instead of fvwm, so something isn't
> right. Is there anything specific I should check? I noticed in my
> .xsession-errors file, I have the line:
> 
> [: /etc/X11/window-managers: unknown operand

Look at the /etc/X11/Xsession script (or your local copy in ~/.xsession).
It's probably missing the highlight -e

====Script excerpt:
if [ -x $startup ] && grep -q ^allow-user-xsession /etc/X11/config
then
  exec $startup
else
  xterm -ls &
  if [ -e /etc/X11/window-managers ]
  #    ^^^----- PROBABLY MISSING PART   
  then
    for i in `sed 's/#.*//' /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
====End excerpt

Phil.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: