A couple of ancient PCs came into my possession, so I thought I would have a go at setting them up for passing on to new PC users / first timers. The “better” of the two an Athlon XP 1500 with 768mb ram handled full Xubuntu 10.04 LTS just fine, but the Dell Dimension 4100, PIII 833mhz with 256mb ram needed a different approach. So out with the ALT-CD and a command line install ensued, followed by an openbox window manager setup. The majority of packages I installed were done with the no-install-recommends switch.
As this machine was for a new user, I had to make things simple, so thought they might benefit from a login manager, and as usual I turned to SLiM. After installing build-essential, I downloaded the source for SLiM and set about compiling it.
tar xzvf slim-1.3.2.tar.gz
Blocker number 1:
needed some dev dependencies. Tracked them down, and then the compile completed.
sudo apt-get install libxmu-dev libpng-dev libjpeg-dev g++ libxft-dev
make (still in directory slim-1.3.2)
sudo make install
Blocker number 2:
rebooted to find that SLiM had not fired up (which it had with every install I have ever done.) So stuck /usr/bin/slim into rc.local (above exit 0), and rebooted again. Success SLiM popped up
Blocker number 3:
SLiM would not log me in. So I dived into /etc/slim.conf and edited the login_cmd section to point to an openbox session. Rebooted again and I was finally in. The command below is all on one line.
login_cmd exec /bin/bash -login /etc/X11/Xsession openbox-session
I’ll put this down to the minimal install and the use of –no-install-recommends switch