Re: XFree86

Albert Dorofeev (Albert@mail.dma.be)
Fri, 31 Jul 1998 10:13:00 +0200


Tim Christensen wrote:
> 
> This is probably a pretty stupid question, but I am going to ask any way.
> 
> I can't seem to figure out how to get XFree86 to start with AfterStep.
> I am using a Debian Hamm system with XFree86 3.2.2.  Please help me,
> because if I can't get it to work that I will probably go back to Windoze 95

I do not have hamm running yet - waiting for a
bigger disk but here is a bulletproof script
I use for myself.
The file ~/.xsession for Debian bo contains:

#!/bin/sh
# This is my private .xsession file.
# It will try to execute AfterStep X manager first
# if it exists, otherwise falling back to the standard
# procedure of searching for a windows manager as
# in /etc/X11/Xsession
#
if [ -x /usr/bin/X11/afterstep ]
then
  exec /usr/bin/X11/afterstep
else
  if [ -e /etc/X11/window-managers ]
  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/fvwm2 ]
  then
    exec fvwm2
  fi
  exec twm
fi

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html