[GH-ISSUE #1784] KDEinit could not launch '/use/local/bin/kate' #1207

Closed
opened 2026-05-05 07:39:27 -06:00 by gitea-mirror · 13 comments
Owner

Originally created by @idnovic on GitHub (Feb 23, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1784

If I open a file from Dolphin on Plasma 5.12 (Ubuntu 17.10 + kde backports ppa)
Kate displays the file. Everything alright.

But then I close kate and I get this error in an dialog with bell noise

KDEInit could not launch '/usr/local/bin/kate'

I do not know what you need to figure it out, suggestions are welcome.

Originally created by @idnovic on GitHub (Feb 23, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1784 If I open a file from Dolphin on Plasma 5.12 (Ubuntu 17.10 + kde backports ppa) Kate displays the file. Everything alright. But then I close kate and I get this error in an dialog with bell noise `KDEInit could not launch '/usr/local/bin/kate'` I do not know what you need to figure it out, suggestions are welcome.
gitea-mirror 2026-05-05 07:39:27 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@idnovic commented on GitHub (Feb 23, 2018):

firejail 0.9.52

<!-- gh-comment-id:368092434 --> @idnovic commented on GitHub (Feb 23, 2018): firejail 0.9.52
Author
Owner

@smitsohu commented on GitHub (Feb 24, 2018):

Hi @idnovic! Can you please run firejail --tree to check if there is a firejailed kdeinit5?

Do you also run Dolphin in Firejail?

<!-- gh-comment-id:368215089 --> @smitsohu commented on GitHub (Feb 24, 2018): Hi @idnovic! Can you please run `firejail --tree` to check if there is a firejailed kdeinit5? Do you also run Dolphin in Firejail?
Author
Owner

@idnovic commented on GitHub (Feb 24, 2018):

firejail --tree 1899:idnovic:/usr/bin/firejail /usr/bin/baloo_file 1904:idnovic:/usr/bin/firejail /usr/bin/baloo_file 1945:idnovic:/usr/bin/baloo_file 8706:idnovic:/usr/bin/firejail /usr/bin/firefox 8708:idnovic:/usr/bin/firejail /usr/bin/firefox 8715:idnovic:/usr/lib/firefox/firefox 8768:idnovic:/usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs XYZ... 12915:idnovic:/usr/bin/firejail /usr/bin/dolphin 12917:idnovic:/usr/bin/firejail /usr/bin/dolphin 12920:idnovic:/usr/bin/dolphin 12954:idnovic:/usr/bin/firejail /usr/bin/kate -b /home/idnovic/Documents/fonts.conf 12955:idnovic:/usr/bin/firejail /usr/bin/kate -b /home/idnovic/Documents/fonts.conf 12958:idnovic:/usr/bin/kate -b /home/idnovic/Documents/fonts.conf 12964:idnovic:firejail --tree

strange part is, I can not reproduce it atm.
Happend yesterday all day long...

<!-- gh-comment-id:368225488 --> @idnovic commented on GitHub (Feb 24, 2018): `firejail --tree 1899:idnovic:/usr/bin/firejail /usr/bin/baloo_file 1904:idnovic:/usr/bin/firejail /usr/bin/baloo_file 1945:idnovic:/usr/bin/baloo_file 8706:idnovic:/usr/bin/firejail /usr/bin/firefox 8708:idnovic:/usr/bin/firejail /usr/bin/firefox 8715:idnovic:/usr/lib/firefox/firefox 8768:idnovic:/usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -intPrefs XYZ... 12915:idnovic:/usr/bin/firejail /usr/bin/dolphin 12917:idnovic:/usr/bin/firejail /usr/bin/dolphin 12920:idnovic:/usr/bin/dolphin 12954:idnovic:/usr/bin/firejail /usr/bin/kate -b /home/idnovic/Documents/fonts.conf 12955:idnovic:/usr/bin/firejail /usr/bin/kate -b /home/idnovic/Documents/fonts.conf 12958:idnovic:/usr/bin/kate -b /home/idnovic/Documents/fonts.conf 12964:idnovic:firejail --tree ` strange part is, I can not reproduce it atm. Happend yesterday all day long...
Author
Owner

@idnovic commented on GitHub (Feb 24, 2018):

yes dolphin is firejailed
kdeinit5 seems not to be.

<!-- gh-comment-id:368225663 --> @idnovic commented on GitHub (Feb 24, 2018): yes dolphin is firejailed kdeinit5 seems not to be.
Author
Owner

@smitsohu commented on GitHub (Feb 24, 2018):

Only for confirmation: If you disable Firejail for Dolphin and Kate (run e.g. cd /usr/local/bin && sudo rm dolphin kate), does the issue disappear?

<!-- gh-comment-id:368228308 --> @smitsohu commented on GitHub (Feb 24, 2018): Only for confirmation: If you disable Firejail for Dolphin and Kate (run e.g. `cd /usr/local/bin && sudo rm dolphin kate`), does the issue disappear?
Author
Owner

@idnovic commented on GitHub (Feb 24, 2018):

okay, I can reproduce it now. It does not happen with the first file I open but with the 2nd.

  1. dolphin > file open > kate = works no error
  2. dolphin > 1st file open > kate1(works, leave open) > 2nd file open > kate2(new kate window) (opens file but when I close this window now I get the described error) > 3rd file open not possible(dolphin interaction not possible (like it does not receive inputs) as long as 2nd kate window is opened)

to answer your question, yes the error disappears. With firejail disabled I can open as many files as I want. The differenc is, that all get opened in the same kate window in tabs without firejail. But with firejail the files get opened in new kate instances.

<!-- gh-comment-id:368229128 --> @idnovic commented on GitHub (Feb 24, 2018): okay, I can reproduce it now. It does not happen with the first file I open but with the 2nd. 1. dolphin > file open > kate = works no error 2. dolphin > 1st file open > kate1(works, leave open) > 2nd file open > kate2(new kate window) (opens file but when I close this window now I get the described error) > 3rd file open not possible(dolphin interaction not possible (like it does not receive inputs) as long as 2nd kate window is opened) to answer your question, yes the error disappears. With firejail disabled I can open as many files as I want. The differenc is, that all get opened in the same kate window in tabs without firejail. But with firejail the files get opened in new kate instances.
Author
Owner

@smitsohu commented on GitHub (Feb 24, 2018):

Thanks. It seems to be some variation of an old KDE bug.... only this time it is caused by Firejail.

<!-- gh-comment-id:368230450 --> @smitsohu commented on GitHub (Feb 24, 2018): Thanks. It seems to be some variation of an old KDE [bug](https://bugs.kde.org/show_bug.cgi?id=343673).... only this time it is caused by Firejail.
Author
Owner

@idnovic commented on GitHub (Feb 24, 2018):

let me know if you have something to test.
I can live with the error. That said, can you let kate open files in tabs instead of new windows?
I know a new window is more secure( well I think it is if it is a new process) but I did like to have the option.

<!-- gh-comment-id:368262266 --> @idnovic commented on GitHub (Feb 24, 2018): let me know if you have something to test. I can live with the error. That said, can you let kate open files in tabs instead of new windows? I know a new window is more secure( well I think it is if it is a new process) but I did like to have the option.
Author
Owner

@Vincent43 commented on GitHub (Feb 24, 2018):

You can try opening it in named profile, add join-or-start <some-name> to profile.

<!-- gh-comment-id:368262956 --> @Vincent43 commented on GitHub (Feb 24, 2018): You can try opening it in named profile, add `join-or-start <some-name>` to profile.
Author
Owner

@idnovic commented on GitHub (Feb 24, 2018):

can you explain it further? Add it to dolphin or kate? And in which file?

<!-- gh-comment-id:368266854 --> @idnovic commented on GitHub (Feb 24, 2018): can you explain it further? Add it to dolphin or kate? And in which file?
Author
Owner

@SkewedZeppelin commented on GitHub (Feb 25, 2018):

Add it to kate, then all firejailed kate processes will end up in the same sandbox instance.

<!-- gh-comment-id:368272186 --> @SkewedZeppelin commented on GitHub (Feb 25, 2018): Add it to kate, then all firejailed kate processes will end up in the same sandbox instance.
Author
Owner

@Vincent43 commented on GitHub (Feb 25, 2018):

You can check with firejail --list to see under which profile kate runs (dolphin's one or its own) then create /etc/firejail/<kate-or-dolphin>.local and add above line there.

<!-- gh-comment-id:368272407 --> @Vincent43 commented on GitHub (Feb 25, 2018): You can check with `firejail --list` to see under which profile kate runs (dolphin's one or its own) then create `/etc/firejail/<kate-or-dolphin>.local` and add above line there.
Author
Owner

@idnovic commented on GitHub (Feb 25, 2018):

awesome, thank you all. It works :)

<!-- gh-comment-id:368273964 --> @idnovic commented on GitHub (Feb 25, 2018): awesome, thank you all. It works :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1207
No description provided.