hyprwm / xdg-desktop-portal-hyprland

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

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

Closed NgoHuy closed 1 year ago

NgoHuy commented 1 year 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 1 year ago

means it's already running

NgoHuy commented 1 year 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 1 year ago

thats a problem with your dbus then, not xdph

NgoHuy commented 1 year 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 1 year ago

I add commit to fix this behaviour.

image
piyushyadav0191 commented 3 months 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 3 months 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?