LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-18-2006, 10:38 PM   #1
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Rep: Reputation: 15
How to get KDE working in RHEL4


I have RHEL4 installed and running with the Gnome environment.
I want to switch to the KDE environment.
I installed all 14 packages in the KDE group.
The machine has since been rebooted, just in case that would help.
When I get to the login screen, there is an option for "Session".
When I select KDE and log in, I get an error that says that KDE can't start.
If I log in using the failsafe text console and type "startkde", startkde reports that it can't find kde-config. (I see where it does this in the startkde script.)
I have searched for kde-config in /usr but it isn't there.

Any suggestions about how to get KDE to run?

TIA,
- TSloth
 
Old 02-19-2006, 05:44 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Try the following;

Press the three key combo of Ctrl+Alt+F1 when ready log on as root and type: init 3

Next type: switchdesk KDE

Now type: startx

If this works then logout as root and do the same for your user account(s).
If not then report the actual errors (see the .xsession-errors file).
 
Old 02-21-2006, 12:11 PM   #3
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Original Poster
Rep: Reputation: 15
Lenard,
thank you for the suggestion.

# init 3
# switchdesk KDE
# startx
Screen goes blue
Unadorned X window appears in upper left corner with these words: "Could not start kdeinit. Check your installation." (Okay)

I looked in home directory using ls -alrt but can't find any .xsession-errors file, nor in /tmp.

/var/log/Xorg.0.log has lots of X related stuff but no errors or kde-related messages.

Doing the same as an unprivileged user,
$ startx &2>junk.out creates a file with some X messages but the only error message is a complaint about the way xterm was called.

If I use Gnome to bring up the X environment, log in at a failsafe xterm, and do $ startkde 2>startkde.out
then I get the same blue screen with unadorned x window and same message. startkde.out contains this:

/usr/bin/startkde: line 120: kde-config: command not found
/usr/bin/startkde: line 215: lnusertemp: command not found
/usr/bin/startkde: line 219: lnusertemp: command not found
/usr/bin/startkde: line 223: lnusertemp: command not found
/usr/bin/startkde: line 226: dcopserver_shutdown: command not found
startkde: Starting up...
ksplash: error while loading shared libraries: libkio.so.4: cannot open shared object file: No such file or directory
/usr/bin/startkde: line 235: kdeinit: command not found
startkde: Could not start kdeinit. Check your installation.
/usr/bin/startkde: line 252: kwrapper: command not found
startkde: Shutting down...
/usr/bin/startkde: line 262: kdeinit_shutdown: command not found
/usr/bin/startkde: line 263: dcopserver_shutdown: command not found
startkde: Running shutdown scripts...
startkde: Done.



Any suggestions?
At this point I'm willing to re-install if that would help.

- TSloth
 
Old 02-23-2006, 11:13 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Sorry, about getting back a bit late....

Which kde rpms do you have installed??? (Also check for the arts rpms)

You might want to try deleting (renaming is a better idea) the ~/.kde folder and try again.

$ rpm -qa --queryformat="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'arts*' 'kde*' | sort

arts-1.5.1-0.1.fc4.x86_64.rpm
arts-devel-1.5.1-0.1.fc4.x86_64.rpm
kdeaddons-3.5.1-0.1.fc4.x86_64.rpm
kdeadmin-3.5.1-0.1.fc4.x86_64.rpm
kdeartwork-3.5.1-0.1.fc4.x86_64.rpm
kdeartwork-icons-3.5.1-0.1.fc4.x86_64.rpm
kdebase-3.5.1-0.3.fc4.x86_64.rpm
kdebase-devel-3.5.1-0.3.fc4.x86_64.rpm
kdegames-3.5.1-0.1.fc4.x86_64.rpm
kdegraphics-3.5.1-0.2.fc4.x86_64.rpm
kdegraphics-devel-3.5.1-0.2.fc4.x86_64.rpm
kdelibs-3.5.1-0.1.fc4.x86_64.rpm
kdelibs-devel-3.5.1-0.1.fc4.x86_64.rpm
kdemultimedia-3.5.1-0.1.fc4.x86_64.rpm
kdenetwork-3.5.1-0.1.fc4.x86_64.rpm
kdenetwork-devel-3.5.1-0.1.fc4.x86_64.rpm
kdepim-3.5.1-0.1.fc4.x86_64.rpm
kdepim-devel-3.5.1-0.1.fc4.x86_64.rpm
kdeutils-3.5.1-0.1.fc4.x86_64.rpm
kdeutils-devel-3.5.1-0.1.fc4.x86_64.rpm

Yea, I'm using the kde rpms from FC4 (not an easy task).

And you might want to use the updated kde-3.5.1 rpms from the kde-redhat project yourself (i386 only); http://www.kde.org/download/
 
Old 02-26-2006, 08:01 PM   #5
TSloth
Member
 
Registered: Oct 2002
Location: Houston, Texas
Posts: 97

Original Poster
Rep: Reputation: 15
Lenard,

Thank you for your help.
I have re-installed RHEL 4 using ISO's on disk.
After that, KDE installed smoothly.

Just in case someone else needs to know how to install software from ISO's on disk:

0. Boot from CD image #1 in your CD player.

1. The installation procedure will ask you where you want it to install from. choose disk.

2. The installer will ask where on disk. In my case, the ISO's were in /dev/hdc2/Linux.

3. After installing Red Hat 4, point the Red Hat software installer at your ISO's:
# mount /dev/hdc2 /your/mountpoint
# system -config-packages --isodir=/your/mountpoint/yourdirectory
The Red Hat software installer will look in the specified directory for the four ISO's. Mine are called RHEL_4_i386_1.iso thru _4.iso

After KDE is installed, it can be selected at the login screen under "Session".

To make it the default session type, log in, start an xterm, and:
$ switchdesk kde
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RH9 to RHEL4 wdingus Red Hat 1 08-23-2005 09:22 AM
RHEL4 AS trying to get ipw2200bg working ridge14 Linux - Laptop and Netbook 2 03-31-2005 03:08 PM
HELP!!! Installed kde 3392 rpms keyboard dead inside kde, working in shell hansschmucker SUSE / openSUSE 1 02-13-2005 08:01 PM
Question about RHEL4. upsun Red Hat 1 01-20-2005 07:08 AM
Changes to RHEL4 (AS Specifically) scylla Red Hat 1 11-13-2004 11:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration