Almamu / linux-wallpaperengine

Wallpaper Engine backgrounds for Linux!
GNU General Public License v3.0
1.64k stars 61 forks source link

Can't set as screen background: "Failed to bind to required interfaces" #200

Open Impasse52 opened 7 months ago

Impasse52 commented 7 months ago

Whenever I run something like the following:

./linux-wallpaperengine 2816552071 --screen-root HDMI-1

I get an error saying "Failed to bind to required interfaces". I have tried several backgrounds so I think this is independent of which one I choose. Full logs are as follows:

impasse@fedora:build$ ./linux-wallpaperengine 2816552071 --screen-root HDMI-1
Detected "scene.pkg" file at "/home/impasse/.local/share/Steam/steamapps/workshop/content/431960/2816552071/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/impasse/.local/share/Steam/steamapps/workshop/content/431960/2816552071/gifscene.pkg". Defaulting to normal folder storage
Failed to bind to required interfaces
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to bind to required interfaces
Aborted (core dumped)

I am on Fedora 39, Gnome 45.3, Wayland. I have tried the same on Hyprland but I get the exact same result.

Is there anything I'm missing?

Tampliera commented 5 months ago

Whenever I run something like the following:

./linux-wallpaperengine 2816552071 --screen-root HDMI-1

I get an error saying "Failed to bind to required interfaces". I have tried several backgrounds so I think this is independent of which one I choose. Full logs are as follows:

impasse@fedora:build$ ./linux-wallpaperengine 2816552071 --screen-root HDMI-1
Detected "scene.pkg" file at "/home/impasse/.local/share/Steam/steamapps/workshop/content/431960/2816552071/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/impasse/.local/share/Steam/steamapps/workshop/content/431960/2816552071/gifscene.pkg". Defaulting to normal folder storage
Failed to bind to required interfaces
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to bind to required interfaces
Aborted (core dumped)

I am on Fedora 39, Gnome 45.3, Wayland. I have tried the same on Hyprland but I get the exact same result.

Is there anything I'm missing?

Did you find the solution?

Impasse52 commented 5 months ago

Sadly not, but this note kind of made me lose hope. I might be wrong but I interpret this as it not being ready yet, at least on Wayland.

Almamu commented 5 months ago

Wayland should actually work just fine. README.md kind of went out of date and I didn't notice. The error message might be a bit wrong too. Ensure that the background id is the last parameter of all too, just in case, and double check the screen name to ensure it's correct:

./linux-wallpaperengine --screen-root HDMI-1 2816552071
Impasse52 commented 4 months ago

Wayland should actually work just fine. README.md kind of went out of date and I didn't notice. The error message might be a bit wrong too. Ensure that the background id is the last parameter of all too, just in case, and double check the screen name to ensure it's correct:

./linux-wallpaperengine --screen-root HDMI-1 2816552071

I tried copypasting your command but still no dice. I also double-checked my screen name through gnome-randr, but that's correct as well.

Output seems to be the same too:


Detected "scene.pkg" file at "/home/impasse/.local/share/Steam/steamapps/workshop/content/431960/2816552071/scene.pkg". Adding to list of searchable paths
No "gifscene.pkg" file found at "/home/impasse/.local/share/Steam/steamapps/workshop/content/431960/2816552071/gifscene.pkg". Defaulting to normal folder storage
Failed to bind to required interfaces
terminate called after throwing an instance of 'std::runtime_error'
  what():  Failed to bind to required interfaces
Aborted (core dumped)