KDE Stable Release 1 and Redhat 5.1 CD

While the version of KDE Beta 4 which comes together with Cheapbytes Redhat 5.1 CD is fairly stable and useable, there may be amongst you who would rather want to keep abreast of things.  For those of you who want to install KDE Stable Release 1 with Redhat 5.1, you will have to go to

ftp://ftp.redhat.com/pub/contrib/manhattan/i386

and download the following files:-

  qt-1.40-2.i386.rpm                                   795 Kb    Mon Aug 17 12:25:00 1998
  qt-devel-1.40-2.i386.rpm                            2501 Kb    Mon Aug 17 12:25:00 1998

  kdeadmin-1.0-1.i386.rpm                              269 Kb    Wed Jul 15 20:02:00 1998
  kdebase-1.0-1.i386.rpm                              3125 Kb    Wed Jul 15 20:04:00 1998
  kdegames-1.0-1.i386.rpm                             1667 Kb    Wed Jul 15 20:04:00 1998
  kdegraphics-1.0-1.i386.rpm                           711 Kb    Wed Jul 15 20:05:00 1998
  kdelibs-@VERSION@-1.i386.rpm                        1213 Kb    Wed Jul 15 20:05:00 1998
  kdemultimedia-1.0-1.i386.rpm                         850 Kb    Wed Jul 15 20:05:00 1998
  kdenetwork-1.0-1.i386.rpm                           1286 Kb    Wed Jul 15 20:06:00 1998
  kdesupport-1.0-1.i386.rpm                            664 Kb    Wed Jul 15 20:06:00 1998
  kdeutils-1.0-1.i386.rpm                              650 Kb    Wed Jul 15 20:06:00 1998
 

To install KDE Stable 1, please use the following steps.  Please note that it is assumed that you have properly configured your X-Windows.

1.    Install the qt lib with the following command:-

rpm -ivh qt*rpm
2.    Install KDE from the same directory using the following commands:-
rpm -ivh kdesupport*rpm
rpm -ivh kdelibs*rpm
rpm -ivh kdebase*rpm
rpm -ivh kdegraphic*rpm
rpm -ivh kdeutils*rpm
rpm -ivh kdemultimedia*rpm
rpm -ivh kdegames*rpm
rpm -ivh kdeadmin*rpm
rpm -ivh kdenetwork*rpm


5.    Change directory to /etc/X11/xinit

cd /etc/X11/xinit
6.    Backup the xinitrc file with the following command:-
mv xinitrc xinitrc.1
7.    Download and Copy the following file into /etc/X11/xinit
xinitrc


8.    Change directory to /etc

cd /etc
9.    Backup the /etc/profile with the following command:-
mv profile profile.1
10.    You need to edit the following file:-
etc/profile
9.    Look for the line starting with PATH.  It should look like this:-
PATH="$PATH:/usr/X11R6/bin"
10.    Edit it so that it is as follows.  If the line appears longer and has more entries than the above, leave those entries alone, just add to the end of the line.
PATH="$PATH:/usr/X11R6/bin:/opt/kde/bin"
11.    In the same file look for the following line
HOSTNAME=`/bin/hostname`
12.    On locating .this line add the following below this line
KDEDIR="/opt/kde"
13.    Look for the line starting with export and add the word KDEDIR to the end of the line leaving a space in between the last word and the word KDEDIR.  After editing the line, it should appear something like this:-
export PATH PS1 HOSTNAME HISTSIZE HISTFILESIZE USER LOGNAME MAIL KDEDIR
14.    Log out using <Ctr.l-D>

15.    Log back into the system

16.    Start up your X-Windows as usual and KDE will come up

startx


If you are using XDM ... ?

If you are using XDM to start up to an X-Windows login, you will additionally have to follow these steps.  Please note that it is very important that your X-Windows should already be up, short of which, your system may NOT boot up properly (the XDM running into a loop trying to initialize your X-Windows).  Also you should have a running KDE system as mentioned above.

1.    Change directory to /etc/X11/xinit

cd /etc/X11/xinit

2.    Back up the xinitrc and XClients files with these commands:-

mv xinitrc xinitrc.2
mv XClients XClients.2

3.    Download and copy the following file to /etc/X11/xinit

Xclients.kde
Xclients.fvwm
Xclients.twm

4.    Change directory to /etc/X11/xdm

cd /etc/X11/xdm

5.    Back up the Xsession file with this commands:-

mv Xsession Xsession.1

6.    Download and copy the following file to /etc/X11/xdm

Xsession

6.    Change directory to /usr/X11/bin using the following command

cd /usr/X11/bin

7.    Back up the original xdm binary using this commnad

mv xdm xdm.1

8.    Create a link from /opt/kde/bin/kdm to xdm using this command

ln -s /opt/kde/bin/kdm /usr/X11/bin/xdm

9.    Test your xdm installation using the following command from the prompt

xdm -nodaemon

10.    If all is well, you may proceed to step no. 12.  If not, try the following commands, short of which there is probably something wrong with your initial X-Windows configuration.

cd /etc/X11
cp -l X /usr/X11/bin

12.    Look for the file /etc/inittab and edit the file.  You will have to look for the following lines:-

# Default runlevel.  The runlevels used by RHS are:
#   0 - halt (do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)

id:3:initdefault

Change the last line mentioned to this

id:5:initdefault

13.    Reboot your machine and the system should start with an X-Windows login.

14. If there is a problem, terminate by pressing <Ctrl><Alt><Del>, start Linux to single user mode by typing linux single at the LILO: prompt and change the line mentioned in step no. 12 in the /etc/inittab file to

id:3:initdefault

to restore to text mode bootup.