hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
307 stars 48 forks source link

Failed to request bus name (File exists) #246

Closed RA3236 closed 3 months ago

RA3236 commented 3 months ago

Getting a very cryptic error:

~> /usr/lib/xdg-desktop-portal-hyprland
[LOG] Initializing xdph...
[CRITICAL] Couldn't create the dbus connection ([org.freedesktop.DBus.Error.FileExists] Failed to request bus name (File exists))
~> systemctl --user status xdg-desktop-portal-hyprland
○ xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-hyprland.service; static)
     Active: inactive (dead)

GTK backend works fine assuming it starts (which it often doesn't because the Hypr one kicks the bucket, so I've had to manually start it in the terminal). I am at a complete loss as to what this error is or what it means. I would be more than happy to share more logs if you need them, I'm just not sure which are required.

138 looks to be the same issue, I just don't know how to implement that solution.

RA3236 commented 3 months ago

Okay it seems like I had more significant issues with my system configuration as a whole. Reinstalling Arch seems to have fixed the issue. What I guess might have happened is that I tried enabling the systemd unit and it had a hiccup after that.