Captain's Universe Home
Captain's Universe Home
Cosmic Ray Muon DetectorTeleGarden Pages
Time on MarsBryophyllum Plants
Jupiter Radio AstronomyAncient Pages
Salzburg Tourist GuideEarth Magnetometer
  H O M E     AJAX & MORE     LINUX & MORE     RTAI     XENOMAI     ADEOS IPIPE      
    JAVA & BROWSERS     *NIX     ELECTRONICS     REVIEWS     ARTEMIA     FAIRY SHRIMP      


IceWM and Xvesa (Kdrive X server) on the Linux Boot CD:


Martin Purschke's wonderful Boot CD:
http://www.phenix.bnl.gov/~purschke/RescueCD/
IceWM homepage:
http://www.icewm.org/
Xvesa (Kdrive) homepage:
http://www.pps.jussieu.fr/~jch/software/kdrive.html

IceWM is a light and speedy window manager for X servers. Xvesa is a light X server which requires nothing but a binary. Configuration is done via command-line options.

compile IceWM binaries with:
# ./configure --disable-xfreetype --enable-corefonts 
--prefix=/home/icewm/install --exec-prefix=/home/icewm/install
# make
# make install

NOTE: the ./configure parameters are all in one line!

--disable-xfreetype --enable-corefonts:
We need this options to attach the fonts into the icewm-binaries, so we don't have to mess around with fonts on the CD.


Now we have the binaries in /home/icewm/install
This path is compiled into icewm, but it also seeks for icons and themes in /etc/icewm and HOMEDIR/.icewm/

Now do some "ldd" on the binaries to find out which libraries are needed and copy those into cdtree/lib, so after booting the CD the libs are in /usr/lib.
(# ldd icewm-session etc..)

copy /home/icewm/install/share to cdtree/share
cd ramdisktree/etc/
ln -s icewm /usr/share/icewm
(ramdisktree/usr is a symlink to ramdisktree/cdrom, which is mounted to the CD
which contains the cdtree, so after booting /etc/icewm points to /cdrom/share/icewm)

Copy /etc/imlib to ramdisktree/etc/imlib - this contains some configuration for imlib.
Copy the icewm-binaries from /home/icewm/install/bin to cdtree/bin (after booting in /usr/bin/)
Copy Xvesa to cdtree/bin
Copy i.e. xterm to cdtree/bin (look for dependencies with "ldd")


Create a script "startx" in ramdisktree/sbin or so:
#!/bin/sh
mknod /dev/tty6 c 4 6
Xvesa -ac -screen 1024x768x8 r & DISPLAY=:0 icewm-session

Boot from the CD:
# startx
Exit Icewm with CTRL-ATL-Backspace

Troubleshooting:

Q: No/missing icons/themes in IceWM ? IMLIB ERROR: Cannot find Palette. A palette is required for this mode.
A: make sure you copied /etc/imlib to ramdisktree/etc/imlib and after booting /etc/icewm/ contains icons/ themes/ etc... (everything that was in /home/icewm/install/share/icewm)

Last-Modified: Tue, 26 Jul 2005 12:44:19 GMT

Google
 
Web www.captain.at
go to top
© 1996-2010 . All rights reserved.
No reproduction, distribution, publishing or transmission of the copyrighted materials at this site is permitted. Policy
go to top