Bug 198850 - "Launch Bug Report Wizard" in remote X session starts wrong browser
Summary: "Launch Bug Report Wizard" in remote X session starts wrong browser
Status: RESOLVED DUPLICATE of bug 170177
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kbugreport (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-04 03:38 UTC by missive
Modified: 2013-01-22 00:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description missive 2009-07-04 03:38:12 UTC
Version:           4.2.92 (KDE 4.2.92 (KDE 4.3 >= 20090617)) (using 4.2.92 (KDE 4.2.92 (KDE 4.3 >= 20090617)), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.28-13-generic

When running konqueror in a remote session (using ssh -X) trying to report a bug will open some other browser instead of opening a new konq window.

For instance, right now I am typing this in to something called "GNOME Web Browser".

I am getting some output when clicking the "Launch Bug Report Wizard" button:

kdeinit4: preparing to launch /usr/lib/libkdeinit4_xdg-open.so
Could not open library /usr/bin/xdg-open: Cannot load library /usr/lib/libkdeinit4_xdg-open.so: (/usr/lib/libkdeinit4_xdg-open.so: cannot open shared object file: No such file or directory)
Comment 1 Tommi Tervo 2009-07-04 09:02:39 UTC
You have "GNOME Web Browser" as a defaut browser:
xdg-open - opens a file or URL in the user's preferred application
Comment 2 missive 2009-07-04 14:07:28 UTC
It works fine in a normal (local) session. It only fails in remote session.


KDE4 System Settings, for Web Browser (Open http or https URLS) shows:
"In an application based on the contents of the url"

In Konqueror, "File Associations" setting for text/html lists:
Konqueror, Opera, AbiWord, Thunderbird, Firefox, Epiphany, ...


Strangely...


From local konsole...

$ xdg-mime query default text/html
epiphany.desktop

$ xdg-open http://google.com
(opens in konqueror)

And clicking on the "Launch Bug Report Wizard" button in the local session will open up in konqueror also.

Nothing in _any_ .../share/applications/defaults.list that I can find anywhere on the system lists epiphany for anything (not even for text/html).


From remote session (logged in with ssh -X)

$ xdg-mime query default text/html
firefox.desktop

$ xdg-open http://google.com
(opens in epiphany running on remote system)
Comment 3 Dario Andres 2009-08-17 21:19:07 UTC
Bug 170177 could be related to this too.
Regards
Comment 4 Jekyll Wu 2013-01-22 00:31:26 UTC
See https://bugs.kde.org/show_bug.cgi?id=170177#c4

*** This bug has been marked as a duplicate of bug 170177 ***