You are not logged in.

#1 2025-07-07 04:25:06

falser
Member
Registered: 2025-01-24
Posts: 4

xdg-desktop-portal-hyprland can not start

when i run journalctl --user -xeu xdg-desktop-portal-hyprland.service

Jul 07 11:19:19 archlinux xdg-desktop-portal-hyprland[34302]: [LOG] Initializing xdph...
Jul 07 11:19:19 archlinux xdg-desktop-portal-hyprland[34302]: [CRITICAL] Couldn't create the dbus connection ([org.freedesktop.DBus.Error.FileExists] Failed to request bus name (File exists))
Jul 07 11:19:19 archlinux systemd[1016]: xdg-desktop-portal-hyprland.service: Main process exited, code=exited, status=1/FAILURE

how can i resolve this problem!

Offline

#2 2025-07-07 05:29:34

SimonJ
Member
From: Alicante, Spain
Registered: 2021-05-11
Posts: 302
Website

Re: xdg-desktop-portal-hyprland can not start

Do you have installed xorg-xinput ? Try without it if so.


Rlu: 222126

Offline

#3 2025-07-07 05:43:08

falser
Member
Registered: 2025-01-24
Posts: 4

Re: xdg-desktop-portal-hyprland can not start

SimonJ wrote:

Do you have installed xorg-xinput ? Try without it if so.

falser@archlinux ~> paru -Qs xorg
local/xf86-input-libinput 1.5.0-1 (xorg-drivers)
    Generic input driver for the X.Org server based on libinput
local/xf86-video-amdgpu 23.0.0-2 (xorg-drivers)
    X.org amdgpu video driver
local/xf86-video-ati 1:22.0.0-2 (xorg-drivers)
    X.org ati video driver
local/xf86-video-nouveau 1.0.18-1 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards
local/xf86-video-vmware 13.4.0-4 (xorg-drivers)
    X.org vmware video driver
local/xorg-fonts-encodings 1.1.0-1 (xorg-fonts xorg)
    X.org font encoding files
local/xorg-mkfontscale 1.2.3-1 (xorg-apps xorg)
    Create an index of scalable font files for X
local/xorg-server 21.1.18-2 (xorg)
    Xorg X server
local/xorg-server-common 21.1.18-2 (xorg)
    Xorg server common files
local/xorg-setxkbmap 1.3.4-2 (xorg-apps xorg)
    Set the keyboard using the X Keyboard Extension
local/xorg-xauth 1.1.4-1 (xorg-apps xorg)
    X.Org authorization settings program
local/xorg-xinit 1.4.4-1
    X.Org initialisation program
local/xorg-xkbcomp 1.4.7-1 (xorg-apps xorg)
    X Keyboard description compiler
local/xorg-xmodmap 1.0.11-2 (xorg-apps xorg)
    Utility for modifying keymaps and button mappings
local/xorg-xprop 1.2.8-1 (xorg-apps xorg)
    Property displayer for X
local/xorg-xrdb 1.2.2-2 (xorg-apps xorg)
    X server resource database utility
local/xorg-xset 1.2.5-2 (xorg-apps xorg)
    User preference utility for X
local/xorg-xwayland 24.1.8-1 (xorg)
    run X clients under wayland
local/xorgproto 2024.1-2
    combined X.Org X11 Protocol headers

Last edited by falser (2025-07-07 05:43:38)

Offline

#4 2025-07-07 05:49:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,720

Re: xdg-desktop-portal-hyprland can not start

I assume because of https://www.reddit.com/r/hyprland/comme … onnection/ ?
"blame xdg-desktop-portal-hyprland"
xorg-xinput installs a license, a manpage and /usr/bin/xinput - there's no sane way how this could even remotely trip of some random, let alone wayland-specific, XDG portal service. Even if that service was extra-stupid, it would have to take a detour around Australia to get anywhere near xinput.
There's gonna be something else.

https://github.com/hyprwm/xdg-desktop-p … issues/246
https://github.com/hyprwm/xdg-desktop-p … issues/138
=> How exactly do you log in and start Hyprland?

Offline

#5 2025-07-07 05:59:10

falser
Member
Registered: 2025-01-24
Posts: 4

Re: xdg-desktop-portal-hyprland can not start

seth wrote:

I assume because of https://www.reddit.com/r/hyprland/comme … onnection/ ?
"blame xdg-desktop-portal-hyprland"
xorg-xinput installs a license, a manpage and /usr/bin/xinput - there's no sane way how this could even remotely trip of some random, let alone wayland-specific, XDG portal service. Even if that service was extra-stupid, it would have to take a detour around Australia to get anywhere near xinput.
There's gonna be something else.

https://github.com/hyprwm/xdg-desktop-p … issues/246
https://github.com/hyprwm/xdg-desktop-p … issues/138
=> How exactly do you log in and start Hyprland?

use sddm to log in hyprland and use  the Hyde hyprdot,i don't konw more about hyprland!

Offline

#6 2025-07-07 06:05:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,720

Re: xdg-desktop-portal-hyprland can not start

1. disable SDDM and start hyprland manually, https://wiki.archlinux.org/title/Hyprland#Terminal
2. remove the foreign dotfiles.

Does either of those (try them separately) allow you to run xdph?
Also please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#7 2025-07-26 20:38:36

atleeit
Member
Registered: 2025-07-26
Posts: 1

Re: xdg-desktop-portal-hyprland can not start

seth wrote:

I assume because of https://www.reddit.com/r/hyprland/comme … onnection/ ?
"blame xdg-desktop-portal-hyprland"
xorg-xinput installs a license, a manpage and /usr/bin/xinput - there's no sane way how this could even remotely trip of some random, let alone wayland-specific, XDG portal service. Even if that service was extra-stupid, it would have to take a detour around Australia to get anywhere near xinput.
There's gonna be something else.

https://github.com/hyprwm/xdg-desktop-p … issues/246
https://github.com/hyprwm/xdg-desktop-p … issues/138
=> How exactly do you log in and start Hyprland?

lol it's funny when Wayland has nothing to do with X, the whole point of Wayland was to replace X all together; it would be utterly stupid for a developer working on Wayland or packages that rely on Wayland to lead back to X haha. Nah I don't think those two are related, can't be. Has to be something else so i totally agree with you.

XWayland and xinput could be related to each other but not directly related to Wayland which is separate from X all together.

Offline

Board footer

Powered by FluxBB