RE: After install

Bruce Richardson (brichardson@lineone.net)
Mon, 15 Feb 1999 21:46:59 -0000


>I upgraded to 1.6.10-1 and finaly got it working, but that was as root.
>I've created a new user, but I'm unable to switch to after step after the
>default window manager starts up (Fwvm2, or something like that.)??

What did you upgrade from?  If it was 1.5.x or previous on a Red Hat 
system, then the following might help.  If not, well, it needs to be posted 
every so often anyway.


------------------------------------------------------------------------  
--------------------------

>I did the upgrade and now i cant get back into afterstep it just loads
>fvwm2-95 all the time.

This is because /etc/X11/xinit/Xclients (called by /etc/X11/xinit/xinitrc,
unless you made your own .xinitrc) is looking for the afterstep binary in
/usr/X11R6/bin and the new version is in /usr/local/bin.

1.  Rename your ~/GNUstep directory to ~/GNUstep.old
2.  Create ~/.Xclients and put a line in it to run the new afterstep,
directing standard error to .AfterStep-errors.
3.  startX

AfterStep will create a new GNUStep directory structure.  You can now build 
a menu you like by mixing and matching stuff from
/usr/local/share/afterstep/start and ~/GNUstep.old/Library/AfterStep/Start.

Creating your own .Xclients also gets rid of wmconfig, which is called from 
/etc/X11/xinit/Xclients and insists on overwriting whatever is in your
start menu with the system default.  It does this because Red Hat rpms
include wmconfig menu items and you therefor automatically get items for
new apps placed on your menu.  All fine and well but it totally wipes out
any modifications you've made AND all the vital AfterStep stuff in
Start/Modules, Start/Quit etc.

Of course, if you really want to keep the Red Hat configuration you can put 
links in to fix it.

ln -s /usr/local/share/afterstep /usr/share/afterstep
ln -s /usr/local/bin/afterstep /usr/X11R6/bin/afterstep

(You will also either have to copy the wmconfig.conf file from the old 
setup to the
new one as the default xinitrc, bizarrely, won't run afterstep if it's not 
there)

But my advice is not.







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