Failed to connect to the native host

I just installed Opensuse Tumbleweed and decided to theme but I get this error message when I installed the extension. I’m new to Opensuse and I’m having a hard time finding a fix.

Welcome to the openSUSE forums.

Please always explain what you do. Never assume that people do things exactly the way you do them. Also it is difficult to point to mistakes you may have when people do not see what you did.

It is even very unclear what you are trying to do. Installing some extension. But what extension to what. There is so many software that has extensions of some kind.

The best is showing the command and all the output by copy/paste of the line with the prompt and the command, all output and including the line with the new prompt and post that please using this: Posting code or preformatted text - Using Discourse - Discourse Meta .
Next best is screen shots,

My bad sorry, I have this message when I installed the plasma browser integration, I tried it in FireFox but its a no go, I use Chrome instead of FireFox but the error is still the same, here is what the extension said:

Failed to connect to the native host.

Make sure the ‘plasma-browser-integration’ package is installed correctly and that you are running Plasma 5.13 or later.

Specified native messaging host not found.

Failed to connect to the native host.

Make sure the ‘plasma-browser-integration’ package is installed correctly and that you are running Plasma 5.13 or later.

Specified native messaging host not found.

Are you maybe logged in under X11 and get this error? (Based on the question in your other Topic?).

Yes, I am logged in as X11, that’s why I wanted to try and hop over to Wayland and see if its the reason why my themes won’t work.

1 Like

You say you installed “plasma browser integration”, please be specific, are you talking about the Chrome/Firefox Extension, or the plasma-browser-integration RPM’s provided in the openSUSE repositories?

Because you need both.

📦 tumbleweed ~ % zypper se plasma | grep integration
   | plasma6-browser-integration      | Helper for the KDE Plasma Browser Integration                                  | package
   | plasma6-browser-integration-lang | Translations for package plasma6-browser-integration                           | package
   | plasma6-integration-plugin       | Plugins responsible for better integration of Qt applications in KDE Workspace | package
   | plasma6-integration-plugin-lang  | Translations for package plasma6-integration-plugin                            | package

I have downloaded both but it still has the same error.

For the people have only used Ubuntu or not knowing how to install it, just in case.
DO:

sudo zypper install

It should look like this:

sudo zypper install plasma6-browser-integration-lang
sudo zypper install plasma6-integration-plugin-lang

To install chrome

sudo zypper install opi
sudo opi chrome

Chrome should be installed by now
How I solved it:
I reinstalled Opensuse on my laptop but before that I deleted chrome(I downloaded it with discover) and re-installed it like this reddit post, the 1st method worked the best as it seemed to allow Plasma Browser Integration. As a precaution I installed both plasma6-browser-integration-lang and plasma6-integration-plugin-lang.

Not sure what it means “to theme”.

Is all of this just so you can install some alternative browser (Chrome, etc) not available in the standard repos? If yes, we find it is much easier to do it this way:

# zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64 Google-Chrome
# wget https://dl.google.com/linux/linux_signing_key.pub
# rpm --import linux_signing_key.pub

# zypper ref -f
# zypper in google-chrome-stable

... or if you want the other versions of the Chrome browsers
# zypper in google-chrome-beta
# zypper in google-chrome-unstable

We have also done those same steps to install the Brave browser (our primary browser … Chrome is our secondary browser). Also, when you do a “zypper -vv up”, those repos will be checked for updates.

browsers

The other option for Chrome is to install the Flatpak for Chrome, which is basically a one-click process using Discover

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.