I need a complete, correct set of post-installation instructions for KDE
2.0 on SuSE 7.0.
I want to be able to run both kde2 apps (eg. konqueror) and old kde apps
not yet ported (eg. kssh, kwintv.) The post-installation instructions
should be compatible with SuSE RPMs and directory structure.
Because of the way I installed KDE 2.0 on my machine, I have a mixture of
references to /opt/kde2 and /opt/kde in various files under /etc and
presumably elsewhere. I am sure that some of these are wrong. For example,
I am still running the old kdm and not the new one because one or more
files refer to /opt/kde
I have not followed the post-installation instructions in
http://www.kde.org/kde1-and-kde2.html and
http://www.kde.org/documentation/faq/kdefaq.html because I believe these
are out of date and are not entirely correct for KDE 2.0 on SuSE 7.0
Here is what grep found under /etc/*
kde2
----
/etc/X11/twm/system.ctwmrc: "init script editor" f.exec
"/opt/kde2/bin/ksysv&"
...
/etc/X11/twm/system.ctwmrc.old.1: "init script editor" f.exec
"/opt/kde2/bin/ksysv&"
...
/etc/X11/twm/system.ctwmrc.old.2: "init script editor" f.exec
"/opt/kde2/bin/ksysv&"
...
/etc/X11/twm/system.ctwmrc.old.3: "init script editor" f.exec
"/opt/kde2/bin/ksysv&"
...
/etc/permissions:/opt/kde2/bin/kcheckpass root.root
4755
/etc/permissions:/opt/kde2/bin/kdesud root.nogroup
2755
/etc/permissions:/opt/kde2/bin/konsole_grantpty root.root
4755
kde
---
/etc/SuSEconfig/csh.cshrc:setenv KDEDIR /opt/kde
/etc/SuSEconfig/profile:KDEDIR=/opt/kde
/etc/X11/xdm/RunChooser:kdmdesktop=/opt/kde/bin/kdmdesktop
/etc/X11/xdm/Xsetup:kdmdesktop=/opt/kde/bin/kdmdesktop
/etc/X11/twm/system.ctwmrc: "runlevel editor" f.exec "susewmif
ROOT_X11 /opt/kde/bin/ksysv&"
...
/etc/X11/twm/system.ctwmrc.old.1: "runlevel editor" f.exec "susewmif
ROOT_X11 /opt/kde/bin/ksysv&"
...
/etc/X11/twm/system.ctwmrc.old.2: "runlevel editor" f.exec "susewmif
ROOT_X11 /opt/kde/bin/ksysv&"
...
/etc/X11/twm/system.ctwmrc.old.3: "runlevel editor" f.exec "susewmif
ROOT_X11 /opt/kde/bin/ksysv&"
...
/etc/httpd/httpd.conf:Alias /opt/kde/share/doc/HTML/
/opt/kde/share/doc/HTML/
/etc/httpd/httpd.conf:
/etc/httpd/susehelp.conf:Alias /opt/kde/share/doc/HTML/
/opt/kde/share/doc/HTML/
Binary file /etc/ld.so.cache matches
/etc/ld.so.conf:/opt/kde/lib
/etc/permissions:/opt/kde/bin/konsole_grantpty root.root
4755
/etc/permissions:/opt/kde/bin/kcheckpass root.root
4755
/etc/permissions:/opt/kde/bin/kvt root.tty
2755
/etc/permissions.easy:/opt/kde/bin/apm_proxy root.root
4755
/etc/permissions.easy:/opt/kde/bin/kv4lsetup root.root
4755
/etc/permissions.easy:/opt/kde/bin/kradio root.video
2755
/etc/permissions.easy:/opt/kde/bin/kwintv root.video
2755
/etc/permissions.easy:/opt/kde/bin/kscd root.disk
2755
/etc/permissions.paranoid:/opt/kde/bin/kscd root.disk
755
/etc/permissions.paranoid:/opt/kde/bin/apm_proxy root.root
755
/etc/permissions.paranoid:/opt/kde/bin/kradio root.video
755
/etc/permissions.secure:/opt/kde/bin/kv4lsetup root.root
755
/etc/permissions.secure:/opt/kde/bin/kradio root.video
755
/etc/permissions.secure:/opt/kde/bin/kwintv root.video
755
/etc/permissions.secure:/opt/kde/bin/kscd root.disk
755
/etc/permissions.secure:/opt/kde/bin/apm_proxy root.root
755
/etc/profile: /opt/kde/bin \
/etc/rc.config:KDM_BACKGROUND=/opt/kde/share/wallpapers/suse-logo.xpm
/etc/rc.config.old:KDM_BACKGROUND=/opt/kde/share/wallpapers/paper01.jpg
/etc/rc.config.old.o:KDM_BACKGROUND=/opt/kde/share/wallpapers/paper01.jpg
/etc/rc.d/rc3.d/K10xdm: kdm|kde|KDM|KDE)
DISPLAYMANAGER=/opt/kde/bin/kdm ;;
/etc/rc.d/rc3.d/S30xdm: kdm|kde|KDM|KDE)
DISPLAYMANAGER=/opt/kde/bin/kdm ;;
/etc/rc.d/xdm: kdm|kde|KDM|KDE) DISPLAYMANAGER=/opt/kde/bin/kdm ;;
Installation of KDE 2.0
-----------------------
Here is the way I installed KDE 2.0 on my machine. This may or may not work
for you. I am still using the old KDE kdm and not the new one and I have
yet to figure out all the post-installation steps.
I originally began with SuSE 6.3 running KDE 1.1.2
Updated to SuSE 6.4
KDE 1.93 on SuSE 6.4 from RPMs: installed using shell script
Using old kde, in kcontrol -> Applications -> Login Manager added kde2
Updated SuSE 6.4 including ALSA
KDE 1.94 on SuSE 6.4 from RPMs: installed using shell script
Updated to SuSE 7.0
Updated SuSE 7.0 including ALSA
KDE 1.94 on SuSE 7.0 from RPMs: installed using YAST
RC2 on SuSE 7.0 from RPMs
KDE 2.0 on SuSE 7.0 from RPMs: installed using YAST
At no time did I compile QT or KDE2. I did not edit .bash files etc. and
did not follow the post install steps given in
1. Start with an up-to-date SuSE 7.0 with KDE 1.1.2 installed (in /opt/kde)
and working. Update all relevant packages using
http://www.suse.com/en/support/download/updates/70_update.html
2. Read ftp://ftp.kde.org/stable/2.0/distribution/rpm/SuSE/README
3. Obtain all relevant RPMs including libs/*.rpm qt2/*.rpm andkde2/*.rpm
from
ftp://ftp.kde.org/stable/2.0/distribution/rpm/SuSE/7.0-i386/
or a mirror as per http://www.kde.org/mirrors.html
4. Make sure to also obtain your language RPMs from
ftp://ftp.kde.org/stable/2.0/distribution/rpm/SuSE/localized
5. Leave KDE: su to root and then run init 2 to go back to shell mode.
6. Run yast as root.
7. In YAST, go to Choose/Install Packages -> Install Packages and install
all packages obtained in steps 3 and 4, starting with libs, qt2, localized
then kde2. KDE2 installs into /opt/kde2. The original KDE packages are left
untouched. YAST will automatically run SuSEconfig. For more details,
especially if you are installing KDE 2.0 for the first time, see YAST
details below. I did not follow these detailed instructions when I upgraded
from RC2 to KDE 2.0. I just installed all RPMs under libs, qt2, localized
and kde2 in that order.
8. Init 3 to get back to kdm.
9. If kde2 appears as a choice in kdm, log in using kde2 and enjoy. This is
what I did when I upgraded RC2 to KDE 2.0. If not:
9.0. This is what I did when I installed KDE1.93 the first time
9.1. Using kdm, login as root using kde (ie. KDE 1.1.2)
9.2. In KDE, in kcontrol, go to Applications -> Login Manager
9.3. In Login Manager, add the choice kde2 and leave kde as is.
9.4. Log out.
9.5. You should now be able to log in using kde, kde2 or other window
managers.
10. KDE2 may not know your old KDE settings. You can import settings from
KDE to KDE2 by running old and new programs side by side.
11. You may need to edit .bash, etc. When I determine what you must change,
I will add this to the instructions.
YAST details
Based on http://lists.suse.com/archives/suse-linux-e/2000-Oct/1703.html by
Jerry L Kreps (jerrykreps@jlkreps.net)
1 Run YAST without a CD in the CDROM. When the 'SOURCE:" prompt comes up
press the return key. You are presented with several sources. Choose
'Directory' and select the directory where you have your downloaded RPMs.
2 If you are installing KDE 2.0 for the first time, you need to take
account of dependencies.
You can discover the dependencies by using kpackage.
First load all RPMs that were listed as dependencies in the main RPMs.
In using YAST, if you select some RPMs into install and then go to another
directory or subdirectory you lose those prior selections.
This turns out to be a good thing because the only way you can control the
sequence of installation is to do them in groups
Here is the sequence Jerry discovered.
Mark:
libmng.rpm
liblcms.rpm
openssl.rpm
Press F10
Mark:
qtlib2.rpm (It may show as already being installed. If so, reinstall it
anyway)
Press F10
Mark:
qtman2.rpm
qtext2.rpm
Press F10
Mark:
qtdevel2.rpm
Press F10
Mark:
ksupp2.rpm
Press F10
Mark:
klibs2.rpm
Press F10
Mark:
kbase2.rpm
Press F10
Mark:
kde2dn.rpm
and all the other k*.rpms
Press F10
When the files are done installing press 'ESC' to the previous screen and
select "Main Menu"
When the installation scripts (SuSEConfig, etc.) finsh, press 'Exit"
Please let me know if these instructions work, and if not, where they fail.
--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com
For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the FAQ at http://www.suse.com/support/faq