We need to download again, so set up the key in the LiveCD:
umount -v /media/amiga sudo mkdir /media/lfs sudo mount -v -t ext3 /dev/disk/by-label/amiga /media/lfs cd /media/lfs/sources
We'll make another download folder for this stuff:
mkdir desktop chmod -v a+wt desktop cd desktop wget http://www.ijg.org/files/jpegsrc.v7.tar.gz wget http://download.berlios.de/slim/slim-1.3.2.tar.gz
We then reboot to the Amiga Key. The first package here is a jpeg library. This gives the system the ability to process jpeg image files. SLIM depends on this to draw graphical backdrops to the login. You see, SLIM really does keep it simple. Ubuntu, or any of the big distro's, have a complicated login screen with drop down menus and lots of different options. Nothing wrong with that, unless you cannot be arsed and just want a simple way to get straight to a graphical user interface. SLIM manages the graphical login by just throwing a jpeg image on the screen with some white space in it for the username and password to be entered (which we will not ordinarily see because we will auto login straight past it).
cd /sources/desktop tar -xzvf jpegsrc.v7.tar.gz cd jpeg-7 ./configure --prefix=/usr --enable-static --enable-shared make make test
rm -f testout* ./djpeg -dct int -ppm -outfile testout.ppm ./testorig.jpg ./djpeg -dct int -bmp -colors 256 -outfile testout.bmp ./testorig.jpg ./cjpeg -dct int -outfile testout.jpg ./testimg.ppm ./djpeg -dct int -ppm -outfile testoutp.ppm ./testprog.jpg ./cjpeg -dct int -progressive -opt -outfile testoutp.jpg ./testimg.ppm ./jpegtran -outfile testoutt.jpg ./testprog.jpg cmp ./testimg.ppm testout.ppm cmp ./testimg.bmp testout.bmp cmp ./testimg.jpg testout.jpg cmp ./testimg.ppm testoutp.ppm cmp ./testimgp.jpg testoutp.jpg cmp ./testorig.jpg testoutt.jpg
make install cd .. rm -rf jpeg-7 ldconfigAnd now for SLIM itself:
tar -xzvf slim-1.3.2.tar.gz cd slim-1.3.2 sed -i -e "s:^MANDIR=.*:MANDIR=/usr/share/man:" -e "s:/usr/X11R6:/usr:" Makefile sed -i -e 's#X11R6/##g' -e 's#/usr/bin:##' -e 's/# daemon/daemon/' slim.conf
Also nano slim.conf - before or after install - to make the default user 'root' and uncomment out (remove the '#') auto login. I dare say there is a way to [sed] that command, but I have not studied under a sed master for the last 20 years, so I have no fucking clue what such a command would look like. It would probably have a [#] in it, some [///], a few [$] and possibly a [{] or two.
make $CORES_TO_USE make install cat >> /etc/inittab << EOF x:5:respawn:/usr/bin/slim >& /dev/null EOF cd .. rm -rf slim-1.3.2
Then nano /etc/inittab and change the number in the first line to 5 instead of 3. The [cat >> /etc/inittab] command adds a line to tell it what to do when it boots to a graphical login. It basically runs the [slim] program in [/usr/bin]. It is possible to make slim a daemon (a type of program that runs in the background) but that is complicated and involves boot scripts. This way is much neater and easier.
Welcome to swift booting straight to the desktop.
No comments:
Post a Comment