This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] octet-stream error on opening KDE apps

Tags: None
(comma "," separated)
ToddAndMargo
Registered Member
Posts
4
Karma
0
Hi All,

I am running krusader-1.90.0-1.el5.rf (kdebase-3.5.4-19.el5.centos.1) under XFce 4.4.2 on CentOS 5.2 (uname -r 2.6.18-92.1.22.el5). I do not have a choice of upgrading KDE: that is just how CentOS works.

Problem: when I start krusader, or any other KDE application for that manner, I get the following error message:

Could not find mime type: application/octet-stream

How do fix this?

Many thanks,
-T
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Is the shared-mime-info package installed? Also try rebuilding the sycoca:
Code: Select all
kbuildsycoca --noincremental


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
ToddAndMargo
Registered Member
Posts
4
Karma
0
bcooksley wrote:Is the shared-mime-info package installed?


Code: Select all
# rpm -qa *shared*
shared-mime-info-0.19-5.el5


Uninstalling it and reinstalling it did not help

Also try rebuilding the sycoca:
Code: Select all
kbuildsycoca --noincremental


No symptom change.

Under root (which does not have the problem):
Code: Select all
# kbuildsycoca --noincremental
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...
Link points to "/tmp/kde-root"


Under user todd:
Code: Select all
$ kbuildsycoca --noincremental
Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...


Poop!

-T
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
These messages are worrying:
Code: Select all
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Warning: kbuildsycoca is unable to register with DCOP.


I believe the permissions on your user profile are likely damaged, due to use of the root account. If you are not attached to your KDE settings:
Code: Select all
rm -rf $(kde-config --localprefix)
rm -rf  ~/.dcop* ~/.DCOP*


Otherwise ensure that all files are owned by your user, and remove the DCOP ones anyway.

Last edited by bcooksley on Tue Apr 07, 2009 4:29 am, edited 1 time in total.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
ToddAndMargo
Registered Member
Posts
4
Karma
0
bcooksley wrote:These messages are worrying:
Code: Select all
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Warning: kbuildsycoca is unable to register with DCOP.


I believe the permissions on your user profile are likely damaged, due to use of the root account. If you are not attached to your KDE settings:
Code: Select all
rm -rf $(kde-config --localprefix)
rm -rf  ~/.dcop* ~/.DCOP*


Otherwise ensure that all files are owned by your user, and remove the DCOP ones anyway.


I am running under XFce 4.4.2. I only have KDE running on a kunbuntu virtual machine (love it by the way, so ready for the general public, now for some apps!)

Code: Select all
$ su
# cd ~todd
# chown -R todd.users .

# find . -iname *dcop*
./.DCOPserver_rn1.rent-a-nerd.local_:0
./.DCOPserver_rn1.rent-a-nerd.local__0

# find . -iname *dcop*
./.local/share/Trash/files/.DCOPserver_rn1.rent-a-nerd.local_:0
./.local/share/Trash/files/.DCOPserver_rn1.rent-a-nerd.local__0
./.local/share/Trash/info/.DCOPserver_rn1.rent-a-nerd.local__0.trashinfo
./.local/share/Trash/info/.DCOPserver_rn1.rent-a-nerd.local_:0.trashinfo


No symptom change. Poop!

-T

Last edited by ToddAndMargo on Tue Apr 07, 2009 4:33 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Is a new user affected?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
ToddAndMargo
Registered Member
Posts
4
Karma
0
bcooksley wrote:Is a new user affected?


No.

This fixed the problem:

Code: Select all
[todd@rn1 ~]$ mv .kde .kde.000
[todd@rn1 ~]$ mkdir .kde


Thank you for all the help. Your having me test a different user was what led me to see all the things being created in .kde. So I started Todd's .kde over fresh.

-T


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft