hyprwm / xdg-desktop-portal-hyprland

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

xdg-desktop-portal-hyprland does not start because dbus #114

Closed NgoHuy closed 11 months ago

NgoHuy commented 11 months ago

I have problem with recently xdgh, it does not start with error [LOG] Initializing xdph... [CRITICAL] Couldn't create the dbus connection ([org.freedesktop.DBus.Error.AccessDenied] Failed to request bus name (Permission denied)) I rebuild with git or stable version included hyprland-git and nothing worked.

vaxerski commented 11 months ago

means it's already running

NgoHuy commented 11 months ago

Again, I said that it did not run. ps -aux | grep xdg doesnot show xdgh on the result. Again, please investigate it before closing the issue as your assume. image

vaxerski commented 11 months ago

thats a problem with your dbus then, not xdph

NgoHuy commented 11 months ago

why xdgw runs fine, not xdgh? while other runs fine, not xdgh? The bug only appears when I upgraded hyprland, not older version.

NgoHuy commented 11 months ago

I add commit to fix this behaviour.

image
piyushyadav0191 commented 1 month ago

@NgoHuy I got same error when running journalctl --user -xeu xdg-desktop-portal-hyprland.service . Do you know how to solve it without building source because I am not able to screen share in my browser even though I have everything installed.

NgoHuy commented 1 month ago

@NgoHuy I got same error when running journalctl --user -xeu xdg-desktop-portal-hyprland.service . Do you know how to solve it without building source because I am not able to screen share in my browser even though I have everything installed.

can you share your log and version of xdgh?