<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>75492</bug_id>
          
          <creation_ts>2004-02-18 07:41:22 +0000</creation_ts>
          <short_desc>KDEInit could not launch &lt;program&gt;</short_desc>
          <delta_ts>2010-05-31 19:18:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>kdeinit</component>
          <version>unspecified</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="dale">rdalek1967</reporter>
          <assigned_to name="kdelibs bugs">kdelibs-bugs-null</assigned_to>
          <cc>4moonbeam</cc>
    
    <cc>ahmedbassi</cc>
    
    <cc>alex</cc>
    
    <cc>arn.epsilon</cc>
    
    <cc>asklemet</cc>
    
    <cc>bugsbyhp</cc>
    
    <cc>david.a.foote</cc>
    
    <cc>faure</cc>
    
    <cc>frankebay99</cc>
    
    <cc>gonzabrusco</cc>
    
    <cc>jackoshanter</cc>
    
    <cc>jan.mette</cc>
    
    <cc>jared.harder</cc>
    
    <cc>jklsemicolon</cc>
    
    <cc>klich.michal</cc>
    
    <cc>kouzinopoulos</cc>
    
    <cc>l.lunak</cc>
    
    <cc>lynch.subscribe</cc>
    
    <cc>mrzfbb</cc>
    
    <cc>papadako</cc>
    
    <cc>psychonaut</cc>
    
    <cc>rdieter</cc>
    
    <cc>sgh</cc>
    
    <cc>shawvrana</cc>
    
    <cc>upscope</cc>
    
    <cc>webmaster</cc>
    
    <cc>wstephenson</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>160</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>206996</commentid>
    <comment_count>0</comment_count>
    <who name="dale">rdalek1967</who>
    <bug_when>2004-02-18 07:41:22 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
OS:          Linux

I have Gentoo installed and up to date, just ran emerge sync and emerge -u kde.  I use a 2.6 kernel as well.  I recently upgraded to KDE 3.2.0 but still have one problem that seems to have carried over from previous version of KDE.  I had hoped the upgrade would fix.

If I open Konqueror as root and try to open a text file using Kwrite I get the error above.  It works fine as a regular user but not when I am root.  It will not work with pictures or any other file type that I want to open either.  It refuses to launch a app no matter what it is.

I have so far removed KDE and then re-installed KDE and still have the same problem.  It has not worked since a couple of months ago before the upgrade.  I did have the same problem in Mandrake a long time ago.  I could reboot and it would work fine for a while but this error in Gentoo is constant, never changes at all.  I suspect a conf file somewhere.  I can launch Kwrite and the other apps from the start menu just fine.  The apps do work.  I can use the preview thing too.

I have logged in to KDE as root and it works fine then but not when logged in as a regular user and switching.

The execution line in properties for the link to the app is this:

kfmclient openProfile filemanagement

I have tried with what little knowledge I have and have searched for a solution but have had no luck with a fix.  I would like to know how to fix this.  If you need me to, I will delete a file so that it will remake it if needed.  Basically, I&apos;m getting desperate.  I&apos;m even considering ordering up to date CD&apos;s and starting over with a fresh install, something Linux should not require.  That is what windoze users have to do.

If you need more info or have any suggestions, please e-mail me or post here.  

Thanks for the help.  I&apos;m stumped.

Dale</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208459</commentid>
    <comment_count>1</comment_count>
    <who name="dale">rdalek1967</who>
    <bug_when>2004-02-22 10:25:25 +0000</bug_when>
    <thetext>OK.  A little update on what I found.  If I right click on desktop and select run command, then type in konqueror and check run as root, it opens kwrite just fine.  NO errors.  It seems to have something to do with kfmclient command for some reason.

I am still willing to try something, if you think of something to try.

I will update when I find out something new.  I am also about to upgrade the kernel again.  It will be 2.6.3 with supermount patched in.  :-)  May not make any difference but I like being up to date.  It is compiling as I type.

Let me know if you need more info.

Thanks!!!!

Dale</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215326</commentid>
    <comment_count>2</comment_count>
    <who name="dale">rdalek1967</who>
    <bug_when>2004-03-14 09:12:36 +0000</bug_when>
    <thetext>I just updated to 3.2.1 with no change in the problem.  

Still no clue on this end.

Thanks

Dale</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>303508</commentid>
    <comment_count>3</comment_count>
    <who name="Nadav Kavalerchik">nadavkav</who>
    <bug_when>2005-01-16 16:17:49 +0000</bug_when>
    <thetext>i get a similar notice (&quot;KDEinit couldn&apos;t lunch the kfmclient&quot;) after generating an html from the digikam&apos;s export to html plug in (ver 0.7.1) but i got it earlier from other versions too. tho, the konqueror opens up and shows the page correctly... funny. it seems the error notice is not relevant, because there is no problem at all.
(i&apos;m using kde 3.3.2 FC3 rpms)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>314183</commentid>
    <comment_count>4</comment_count>
    <who name="Peter Vollebregt">peter.vollebregt</who>
    <bug_when>2005-02-14 23:02:36 +0000</bug_when>
    <thetext>This error has harassed me through several SuSE and KDE versions. At the moment i am using Release 3.3.92 (beta 2) level &quot;a&quot; on SuSE 9.1 and it pops up with watever i do from konqueror as su. Note that the same happens when i use Krusader as a file manager. When i use mc to edit - no problem. When i open the file directly from a su shell (with /opt/kde3/bin/kwrite /etc/fstab) there is no problem.

This is security related and has to do with the .Xauthority file (mechanism) to block other users from looking graphically at files.

In former versions logging out of KDE and logging in again solved the issue (don&apos;t know if this is related to having another konquerer instance open). Sometimes i had to delete the .Xauthority file (from root) to get it to work.

What works (but not always) is to run as root in a shell &apos;xauth merge /home/&lt;mortal user&gt;/.Xauthority&apos; (where mortal user is the user you are running as). This allows access if konqueror in root mode is opened again. But sometimes i have to run &apos;xhost + localhost&apos; to solve the problem.

The problem pops up i think after upgrading KDE although i am not sure. but i really hate this because working in mc to change text files is no fun when you want to use kate or kwrite....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>534881</commentid>
    <comment_count>5</comment_count>
    <who name="Zé">mmodem00</who>
    <bug_when>2007-07-04 23:41:48 +0000</bug_when>
    <thetext>Im using kde-3.5.7 from branch_3.5 svn release 682124 and when running konqueror as root, when double clicking in a file i get the error &quot;KDEInit could not launch &apos;app&apos;&quot;, in case of test files i get:

KDEInit could not launch &apos;kwrite&apos;

I was told that this is a distro problem but what i have seen that is false since this problem exists in all distros i know, from mandriva, suse, fedora, etc...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>534884</commentid>
    <comment_count>6</comment_count>
    <who name="Zé">mmodem00</who>
    <bug_when>2007-07-04 23:43:39 +0000</bug_when>
    <thetext>unbelivable that this was reported almost 4 years ago and continues being a valid bug...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>587087</commentid>
    <comment_count>7</comment_count>
    <who name="Pedro Morgan">pedromorgan</who>
    <bug_when>2008-03-15 14:32:47 +0000</bug_when>
    <thetext>Then I launch a file from Dolphin (Kubuntu latest 4.0+ series

1) I right click on &quot;foo.js&quot; for example and select open with Kate. Works cool
2) Second time I try to open &quot;any&quot; file with kate I get the message

============================================
Sorry - Dolphin
============================================
KDEInit could not launch &apos;/usr/lib/kde4/bin/kate&apos;

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>588998</commentid>
    <comment_count>8</comment_count>
    <who name="Ralph Janke">txwikinger</who>
    <bug_when>2008-03-23 17:52:34 +0000</bug_when>
    <thetext>This is also confirmed in https://bugs.launchpad.net/ubuntu/+source/kdelibs/+bug/205517 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>605209</commentid>
    <comment_count>9</comment_count>
    <who name="">kate.g.gordon</who>
    <bug_when>2008-05-30 07:30:28 +0000</bug_when>
    <thetext>I still have this problem from Konqueror (trying to open any file associated with Kate by left-click), and &quot;Run Command Interface&quot; (typing in &quot;kate&quot;):

======================================================
Sorry - Konqueror OR Run Command Interface
======================================================

KDEInit could not launch &apos;/usr/lib/kde4/bin/kate&apos;

However, this _only_ occurs (afaik) when Kate is already open -- very occasionally, not even then (although because of the rarity, I haven&apos;t been able to work out what&apos;s different)

Using Kubuntu KDE 4.0.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>605255</commentid>
    <comment_count>10</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2008-05-30 11:06:44 +0000</bug_when>
    <thetext>*** Bug 162729 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>605257</commentid>
    <comment_count>11</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2008-05-30 11:06:57 +0000</bug_when>
    <thetext>*** Bug 155873 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>605259</commentid>
    <comment_count>12</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2008-05-30 11:07:07 +0000</bug_when>
    <thetext>*** Bug 162870 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>605261</commentid>
    <comment_count>13</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-05-30 11:17:40 +0000</bug_when>
    <thetext>Lubos: I don&apos;t think those bugs were duplicates of 75492.
They were kde4-specific bugs, due to X-DCOP-ServiceType, which I fixed recently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606793</commentid>
    <comment_count>14</comment_count>
    <who name="Bassio">ahmedbassi</who>
    <bug_when>2008-06-03 13:14:03 +0000</bug_when>
    <thetext>I have kde 4.0.3 on hardy heron kubuntu and many message boxes appear with the above complaint &quot;KDEInit could not launch &lt;program&gt;&quot; although the program appears to open!!

I did not track when does this exactly happen, but it occurs most often when I try to launch kde 3 apps (esp. from the ALT+F2 launcher &quot;emphasis on the previous&quot; .. or even kate from konqueror etc.)

I will try to notice a pattern the next few days.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>609886</commentid>
    <comment_count>15</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2008-06-11 10:45:52 +0000</bug_when>
    <thetext>*** Bug 163768 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>609903</commentid>
    <comment_count>16</comment_count>
    <who name="Haris Kouzinopoulos">kouzinopoulos</who>
    <bug_when>2008-06-11 11:26:24 +0000</bug_when>
    <thetext>Still valid on 4.1 Beta1, confirming this bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>618872</commentid>
    <comment_count>17</comment_count>
    <who name="">abostock</who>
    <bug_when>2008-07-01 15:26:23 +0000</bug_when>
    <thetext>Problem still occurring in KDE 4.1 beta 2 (on kubuntu).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>619038</commentid>
    <comment_count>18</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-07-01 20:27:18 +0000</bug_when>
    <thetext>... with which program and which .desktop file for it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>620169</commentid>
    <comment_count>19</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2008-07-04 18:56:04 +0000</bug_when>
    <thetext>*** Bug 165729 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>628331</commentid>
    <comment_count>20</comment_count>
    <who name="Javier Jardon">javierjc1982</who>
    <bug_when>2008-07-23 13:35:59 +0000</bug_when>
    <thetext>Problem still occurring in KDE 4.1 rc1 (on kubuntu). </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>631393</commentid>
    <comment_count>21</comment_count>
    <who name="Jose">getaceres</who>
    <bug_when>2008-07-31 14:14:22 +0000</bug_when>
    <thetext>Bug valid in 4.1 final release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>638422</commentid>
    <comment_count>22</comment_count>
    <who name="Jithin Emmanuel">jithin1987</who>
    <bug_when>2008-08-18 06:21:48 +0000</bug_when>
    <thetext>I have this problem with fedora 9  kde 4.1 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>638670</commentid>
    <comment_count>23</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-08-18 19:30:44 +0000</bug_when>
    <thetext>Comments #19 to #22 are useless since they don&apos;t answer my question: which application and what does the desktop file say about DBus.

Now that I fixed kdelibs for 4.1 (not read the DCOP-related property anymore), the remaining bugs are in the desktop file of the application you&apos;re trying to launch (or in old local overrides in ~/.kde or $KDEHOME). See bug 157853 for more information about what should be in the desktop file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>647767</commentid>
    <comment_count>24</comment_count>
    <who name="Will Stephenson">wstephenson</who>
    <bug_when>2008-09-20 18:23:01 +0000</bug_when>
    <thetext>David: please see https://bugzilla.novell.com:443/show_bug.cgi?id=420150

I&apos;m getting this error on openSUSE when text/plain is associated with &quot;kate --use %U&quot; - kate passes the url to an existing kate instance, then the kate process started by kdeinit exits and because it has X-DBUS-StartupType=Multi klauncher thinks there was an error.  I don&apos;t know how to fix this in the desktop file as kate never registers itself uniquely on the bus, so a separate .desktop file for using an existing instance with StartupType=Unique would fail.

This doesn&apos;t happen in KDE3.  Any idea why not?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>648918</commentid>
    <comment_count>25</comment_count>
    <who name="G360">kde-bugs.9ek5t</who>
    <bug_when>2008-09-26 06:05:55 +0000</bug_when>
    <thetext>In openSUSE 11 with KDE 4.1.1 I don&apos;t suffer this bug any more :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651584</commentid>
    <comment_count>26</comment_count>
    <who name="Tristan Miller">psychonaut</who>
    <bug_when>2008-10-06 20:21:20 +0000</bug_when>
    <thetext>I am encountering this problem for the first time with KDE 4.1.2 on openSUSE 11.0.  I can reliably reproduce it as follows:

1. Type &quot;krunner&quot; from a terminal or press Alt-F2 to launch KRunner.

2. Type &quot;ktorrent&quot; and hit enter. (So far this seems to be a problem only when running ktorrent; every other application I&apos;ve tried doesn&apos;t trigger the error.)

3. Ktorrent starts up just fine, but something (KRunner? KDE?) pops up the following error dialog:

Sorry - Run Command Interface

KDEInit could not launch &apos;/usr/bin/ktorrent&apos;

Also, the following message appears on the console:
findServiceByDesktopPath:  not found

4. If you click OK in the error dialog, it disappears, and the following message is printed to the console:

X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x200053b
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>651697</commentid>
    <comment_count>27</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-10-07 10:34:55 +0000</bug_when>
    <thetext>Tristan: see comment #23: please report what the .desktop file says...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>653665</commentid>
    <comment_count>28</comment_count>
    <who name="Gonzalo">gonzabrusco</who>
    <bug_when>2008-10-14 20:17:05 +0000</bug_when>
    <thetext>Happens here to. KDE 4.1.2

Steps to reproduce it:

1- Change file association of (fro example) .cpp to kate.
2- Make sure you use the option --use when launching kate (in order to reuse the open session, if any).
3- Open a .cpp. Everything goes right.
4- Open another .cpp. Kate opens the file in the current session but the &quot;KDEInit could not launch &lt;program&gt;&quot; message appears anyway.

This keeps happening everytime you repeat step 4.

The same exact thing happens with ktorrent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681862</commentid>
    <comment_count>29</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-12-16 02:25:02 +0000</bug_when>
    <thetext>Investigated #28: (kate --use): if you modify kate.desktop,  then this is kind of expected behavior, since kate.desktop says &quot;I will register to DBUS&quot; (X-DBUS-* lines). I guess for KDE 4.3 we should have a combo in the properties dialog in order to be able to change the dbus registration type, even though this is a rather technical setting (but it goes together with being able to change the Exec line).

The right way of setting this up for now is to add a new application in the filetypes editor with the command line kate --use %u. When trying this I hit a bug in kopenwithdialog which would save it as %25u, fixed for kde-4.2. The startup notification takes a bit of time to go away, but at least there&apos;s no klauncher error message.

I wish we hadn&apos;t done so much merging with this bug, each occurence of this bug is a separate problem.
I didn&apos;t investigate the initial &quot;running apps as root&quot; issue yet, that&apos;s rather more complicated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>683425</commentid>
    <comment_count>30</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2008-12-19 14:21:16 +0000</bug_when>
    <thetext>*** Bug 173980 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>694980</commentid>
    <comment_count>31</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-01-06 14:34:58 +0000</bug_when>
    <thetext>*** Bug 163835 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>699692</commentid>
    <comment_count>32</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2009-01-15 01:03:36 +0000</bug_when>
    <thetext>SVN commit 911168 by dfaure:

Let klauncher be a bit more tolerant about dbus names: don&apos;t assume that kfoo will register as org.kde.kfoo
when its desktop file doesn&apos;t have X-DBUS-ServiceName, allow the domainname to be anything, i.e. watch
for &quot;*.kfoo&quot;. This should minimize the number of occurences of the famous klauncher error quite a lot.
This fix will be in KDE-4.2.
CCBUG: 75492


 M  +21 -7     klauncher.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=911168
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706024</commentid>
    <comment_count>33</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2009-01-26 16:45:13 +0000</bug_when>
    <thetext>*** Bug 181990 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706733</commentid>
    <comment_count>34</comment_count>
    <who name="Harri Pasanen">bugsbyhp</who>
    <bug_when>2009-01-28 14:36:31 +0000</bug_when>
    <thetext>I got the same from starting konsole in KDE 4.2, Kubuntu 8.10.  I did not have it in 4.2 RC1.

.xsession-errors shows:

kdeinit4: preparing to launch /usr/bin/konsole
konsole(7114): Attempt to use QAction &quot;change-profile&quot; with KXMLGUIFactory!
kwin: X Error (error: &lt;unknown&gt;[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x14256e0)

Testing further the problem seemed to be something in konsole settings.   I&apos;ve been in the habit of hiding the menu bar, and there has been another bug with respect to that as well, it did not work in 4.2RC1.  Now after few trials back and forth I managed to make the menu bar stay hidden in new terminal, and the KDEinit error disappeared as well.  So possibly migrated app settings from earlier releases can surface as KDEInit errors?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706848</commentid>
    <comment_count>35</comment_count>
    <who name="Shaw Vrana">shawvrana</who>
    <bug_when>2009-01-28 18:58:55 +0000</bug_when>
    <thetext>I get the same error message when I run konsole in 4.2.  konsole is being run via a desktop icon.  Turning off dbus registration by right clicking, properties, application, Advanced Options, and changing &apos;DBUS Registration&apos; to none removed the error message.

I have a global hotkey setting for konsole for which this did not work..perhaps it&apos;s using a different configuration file for which dbus registration has not been disabled, but I haven&apos;t figured out how to disable it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706853</commentid>
    <comment_count>36</comment_count>
    <who name="MoonBeam">4moonbeam</who>
    <bug_when>2009-01-28 19:06:31 +0000</bug_when>
    <thetext>I am usinge KDE 4.2 with Arch Linux.
Every time I start second (and every other) instance of  Konsole I get this error:

&quot;KDEInit could not launch &apos;/usr/bin/konsole&apos;.&quot;

It starts, but this bug is very annoying.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706882</commentid>
    <comment_count>37</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2009-01-28 21:00:23 +0000</bug_when>
    <thetext>In my experience, these are often per-application bugs with missing
X-DBUS-ServiceName=...
entries in their respective .desktop files.

I&apos;ll try addressing konsole separately in bug #162729 , and will take a look at others when I can.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706911</commentid>
    <comment_count>38</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2009-01-28 21:44:59 +0000</bug_when>
    <thetext>SVN commit 917940 by rdieter:

Add X-DBUS-ServiceName to konsole.desktop
should help &quot;KDEInit could not launch &apos;.../konsole&apos;&quot; type errors

BUG: 162729
CCBUG: 75492


 M  +1 -0      konsole.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=917940
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706912</commentid>
    <comment_count>39</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2009-01-28 21:45:12 +0000</bug_when>
    <thetext>SVN commit 917944 by rdieter:

Backport from trunk:
Add X-DBUS-ServiceName to konsole.desktop
should help &quot;KDEInit could not launch &apos;.../konsole&apos;&quot; type errors

BUG: 162729
CCBUG: 75492


 M  +1 -0      konsole.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=917944
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>706916</commentid>
    <comment_count>40</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2009-01-28 21:49:41 +0000</bug_when>
    <thetext>arg, missed comment #32, odd that folks are still seeing this (at least I could still reproduce with kde-4.2.0)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>707025</commentid>
    <comment_count>41</comment_count>
    <who name="">david.a.foote</who>
    <bug_when>2009-01-29 00:51:01 +0000</bug_when>
    <thetext>Hello.  I just upgraded to KDE 4.2 and am experiencing kdeinit errors.  While trying to run k3b, i got an error saying that k3b could not talk to klauncher and was unable to run the app.  When opening konsole, i got a message saying that kdeinit could not launch /usr/bin/konsole.  I use Kubuntu 8.10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>707041</commentid>
    <comment_count>42</comment_count>
    <who name="G360">kde-bugs.9ek5t</who>
    <bug_when>2009-01-29 01:39:37 +0000</bug_when>
    <thetext>In Kubuntu 8.10 with the kubuntu-experimental PPA I don&apos;t have this bug.

Also in my /usr/share/applications/kde4/konsole.desktop I don&apos;t have X-DBUS-ServiceName, Maybe it is a user configuration problem, can you test if with a new user the problem persists?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>707116</commentid>
    <comment_count>43</comment_count>
    <who name="Christoph Roeder">webmaster</who>
    <bug_when>2009-01-29 09:40:27 +0000</bug_when>
    <thetext>Same problem here...

Adding the fix from rev. 917944 fixes the problem for me.

PS: using kubuntu 8.10 with kubuntu-experimental PPA</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>707602</commentid>
    <comment_count>44</comment_count>
    <who name="Jared Harder">jared.harder</who>
    <bug_when>2009-01-29 23:14:27 +0000</bug_when>
    <thetext>I&apos;m getting similar functionality after upgrading to KDE 4.2 (Ubuntu 8.10 repositories).  I click on a text file in Dolphin, and I get 

&quot;KDEInit could not launch &apos;/usr/lib/kde4/bin/kate&apos;.&quot;

This happens if Kate is open or closed.

I notice though that /usr/lib/kde4/bin/ doesn&apos;t exist, so /usr/lib/kde4/bin/kate cannot exist.  Kate appears to be located at /usr/bin/kate

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>707885</commentid>
    <comment_count>45</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2009-01-30 13:46:40 +0000</bug_when>
    <thetext>SVN commit 918654 by dfaure:

Repair klauncher support for unique-applications like konsole.
  (adding org.kde.konsole in konsole.desktop was just a workaround, org.kde is still assumed when not present)
Brown paper bag for me - now expecting tons of new klauncher error reports from 4.2.0... :(
Fix will be in 4.2.1.
CCBUG: 162729
CCBUG: 75492


 M  +42 -18    klauncher.cpp  
 M  +1 -0      klauncher.h  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=918654
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>708132</commentid>
    <comment_count>46</comment_count>
    <who name="">david.a.foote</who>
    <bug_when>2009-01-30 21:37:14 +0000</bug_when>
    <thetext>I added the line Christoph suggested to konsole.desktop using kate but it didn&apos;t work for me, unfortunately.  Is there a way to uninstall kde 4.2 without having to do a reinstall?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>708221</commentid>
    <comment_count>47</comment_count>
    <who name="Maurizio">mrzfbb</who>
    <bug_when>2009-01-30 23:16:57 +0000</bug_when>
    <thetext>I just installed KDE 4.2 from Debian experimental (sidux amd64)
When opening a second konsole, i got a message saying that kdeinit could not launch /usr/bin/konsole.
however, the second konsole starts and works fine</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>715990</commentid>
    <comment_count>48</comment_count>
    <who name="András Manţia">amantia</who>
    <bug_when>2009-02-12 20:17:06 +0000</bug_when>
    <thetext>*** Bug 184044 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>789567</commentid>
    <comment_count>49</comment_count>
    <who name="Russ Fineman">upscope</who>
    <bug_when>2009-07-09 19:27:16 +0000</bug_when>
    <thetext>This says its resolved in Novel Bugzilla, but I&apos;m experiencing this as normal user with KDE 4.2.4 release 2, Dolphin 1.2.1 on openSUSE 2.6.27.23-0.1-default.

When I click on a .sql document I get error KDEInit could not launch &apos;konsole&apos;. Then get blank GUI that say user name: Kate for title and another GUI with user name: Kate with the sql displayed. My file association for .sql is :
        Kate
        Kwrite
        OpenOffice write
I did not change the file associations except for order of Kate and Kwrite. I also reported this on Bugzilla.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>822778</commentid>
    <comment_count>50</comment_count>
    <who name="Frank">frankebay99</who>
    <bug_when>2009-09-02 03:38:20 +0000</bug_when>
    <thetext>Still reproducible with exact same behavior on openSUSE 11.2 64-Bits Milestone 6 with KDE4.3. It&apos;s very annoying as I have to go in konsole all the time to edit as root.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>823115</commentid>
    <comment_count>51</comment_count>
    <who name="Russ Fineman">upscope</who>
    <bug_when>2009-09-02 17:19:46 +0000</bug_when>
    <thetext>Ref comment 49. I am still seeing this in openSUSE11.1 (2.6.27.29-0.1-default){2.6.27.29-0.1-default)[KDE 4.3.0 release 158] when opening a file from Dolphin with Kate as the editor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>825718</commentid>
    <comment_count>52</comment_count>
    <who name="Russ Fineman">upscope</who>
    <bug_when>2009-09-06 17:36:06 +0000</bug_when>
    <thetext>Ref comment #51. This appears resolved on my openSUSE 11.2 RC8-5, KDE4.3.1 test system. Still occurs on my openSUSE 11.1. production system. KDE 4.3.00 Release 158.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>893305</commentid>
    <comment_count>53</comment_count>
    <who name="Frank">frankebay99</who>
    <bug_when>2010-01-06 16:18:19 +0000</bug_when>
    <thetext>In Final 11.2 openSUSE 64-bits KDE4.3.1, the problem persists and is worse.

Opening Dolphin (Super-User Mode) and trying to open a text file with Kwrite or Kate generates the error and cannot launch. What&apos;s worse is now if I open up konsole and do a &apos;sudo kwrite file.ext&apos; it says &apos;Cannot start X&apos;.

So the only 2 ways to edit a file as root is either using a console editor (vi, pico, ed, nano, etc.) or installing a small service menu which gives access to ROOT MENU ACTIONS in the Service Menu of Dolphin/Konqueror, such as http://kde-apps.org/content/show.php/Root+Actions+Servicemenu?content=48411.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>893561</commentid>
    <comment_count>54</comment_count>
    <who name="Jack o&apos;Shanter">jackoshanter</who>
    <bug_when>2010-01-06 23:12:21 +0000</bug_when>
    <thetext>(In reply to comment #53)

Try kdesu instead of sudo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>893593</commentid>
    <comment_count>55</comment_count>
    <who name="Frank">frankebay99</who>
    <bug_when>2010-01-06 23:55:04 +0000</bug_when>
    <thetext>You are right, it&apos;s working, it&apos;s a valid workaround, though it forces user to use command line.

tnx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>915444</commentid>
    <comment_count>56</comment_count>
    <who name="Papadakos Panagiotis">papadako</who>
    <bug_when>2010-02-12 10:16:00 +0000</bug_when>
    <thetext>I have the same problem with gwenview, when I launch it from krunner.
This is in Ubuntu lucid and I think it is happening in every version of KDE 4.

The message is:
KDEInit could not launch &apos;/usr/lib/kde4/bin/gwenview&apos;,
when gwenview is in /usr/bin/gwenview</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>924390</commentid>
    <comment_count>57</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2010-02-26 02:06:44 +0000</bug_when>
    <thetext>(In reply to comment #56)
&gt; KDEInit could not launch &apos;/usr/lib/kde4/bin/gwenview&apos;,

This error is obviously different from all previous errors in this thread --&gt; it should have been a different bug report.

Do you have a .desktop file that contains Exec=/usr/lib/kde4/bin/gwenview?
(Look under /usr/share/applications, but also in ~/.local/share for instance)?

(In reply to comment #49)
&gt; When I click on a .sql document I get error KDEInit could not launch &apos;konsole&apos;.
This confuses me too, why would kate run konsole? Please use the filetypes editor to locate the .desktop file being use for kate, and check if that desktop file mentions konsole, or says Terminal=true.

Everyone:
I know that we usually frown at duplicates, but in this case it&apos;s really the opposite; this one report is becoming a mix of 10 different causes (~ 8 of them being fixed by now) for one error message. I strongly suggest opening a NEW BUG REPORT to anyone who comes here to add a comment.
I can see that there is one bug left with running stuff as root, but anything else looks like wrong .desktop files to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>925058</commentid>
    <comment_count>58</comment_count>
    <who name="Russ Fineman">upscope</who>
    <bug_when>2010-02-26 20:32:03 +0000</bug_when>
    <thetext>(In reply to comment #57)
&gt; (In reply to comment #56)
&gt; &gt; KDEInit could not launch &apos;/usr/lib/kde4/bin/gwenview&apos;,
&gt; 
&gt; This error is obviously different from all previous errors in this thread --&gt;
&gt; it should have been a different bug report.
&gt; 
&gt; Do you have a .desktop file that contains Exec=/usr/lib/kde4/bin/gwenview?
&gt; (Look under /usr/share/applications, but also in ~/.local/share for instance)?
&gt; 
&gt; (In reply to comment #49)
&gt; &gt; When I click on a .sql document I get error KDEInit could not launch &apos;konsole&apos;.
&gt; This confuses me too, why would kate run konsole? Please use the filetypes
&gt; editor to locate the .desktop file being use for kate, and check if that
&gt; desktop file mentions konsole, or says Terminal=true.
&gt; 
&gt; Everyone:
&gt; I know that we usually frown at duplicates, but in this case it&apos;s really the
&gt; opposite; this one report is becoming a mix of 10 different causes (~ 8 of them
&gt; being fixed by now) for one error message. I strongly suggest opening a NEW BUG
&gt; REPORT to anyone who comes here to add a comment.
&gt; I can see that there is one bug left with running stuff as root, but anything
&gt; else looks like wrong .desktop files to me.

In reply to comment #49 reply you sent. I am now running KDE 4.3.5, openSUSE 11.2 and still have a problem only when I run as root. Example: kdesu dolphin. When i click on a file I get the message:
KLauncher could not be reached via D-Bus. Error when calling  start_service_by_desktop_path:
The name org.kde.klauncher was not provided by any .service files

Not sure why I put Konsole, should have been kate. I selected a file from dolphin, said open with kate and got message. 

Since this is root related, I will wait until you solve that problem, or  let me know to open a new bug, if that is OK. 

I also have openSUSe 11.3 installed with KDE 4.4. I will check it there later today.

Thanks for you support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>946446</commentid>
    <comment_count>59</comment_count>
    <who name="Frank">frankebay99</who>
    <bug_when>2010-04-07 18:54:10 +0000</bug_when>
    <thetext>Maybe starting with comment #26 at https://bugzilla.novell.com/show_bug.cgi?id=450203#c26 there is a potential workaround.

Be careful, it&apos;s not really acceptable on a security point of view, but for single-user installation/usage it&apos;s less important.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>970980</commentid>
    <comment_count>60</comment_count>
    <who name="Lubos Lunak">l.lunak</who>
    <bug_when>2010-05-31 19:17:30 +0000</bug_when>
    <thetext>SVN commit 1132903 by lunakl:

A somewhat hackish way of making kdeinit work in su sessions, but I couldn&apos;t
think of anything better. Kdeinit should still clean up properly in such
sessions and exit after a timeout, like dcopserver did in KDE3.
BUG: 75492



 M  +37 -0     kinit.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1132903</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>