Debian Bug report logs - #1108442
xdg-desktop-portal-gnome: Crashes in a wayland session

version graph

Package: xdg-desktop-portal-gnome; Maintainer for xdg-desktop-portal-gnome is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for xdg-desktop-portal-gnome is src:xdg-desktop-portal-gnome (PTS, buildd, popcon).

Reported by: Paolo Redaelli <paolo.redaelli@libero.it>

Date: Sat, 28 Jun 2025 19:01:01 UTC

Severity: important

Tags: moreinfo

Found in version xdg-desktop-portal-gnome/48.0-2

Done: Paolo Redaelli <paolo.redaelli@libero.it>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, paolo.redaelli@libero.it, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1108442; Package xdg-desktop-portal-gnome. (Sat, 28 Jun 2025 19:01:02 GMT) (full text, mbox, link).


Acknowledgement sent to Paolo Redaelli <paolo.redaelli@libero.it>:
New Bug report received and forwarded. Copy sent to paolo.redaelli@libero.it, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 28 Jun 2025 19:01:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Paolo Redaelli <paolo.redaelli@libero.it>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xdg-desktop-portal-gnome: Crashes in a wayland session
Date: Sat, 28 Jun 2025 20:58:52 +0200
Package: xdg-desktop-portal-gnome
Version: 48.0-2
Severity: important
X-Debbugs-Cc: paolo.redaelli@libero.it

Dear Maintainer,

xdg-desktop-portal-gnome crashes a Gnome session at login when selecting a wayland
session while it runs fine in an Xorg session.

Other wayland desktops such as enlightenment and wayfire run fine but
Gtk applications starts with a lag of dozens of seconds, showing in logs
a similar error. As far as I can say it is this, but I wasn't able to
find more details.

Jun 28 13:44:19 acer-paolo systemd[2105]: Starting xdg-desktop-portal.service - Portal service...
-- Subject: A start job for unit UNIT has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- A start job for unit UNIT has begun execution.
-- 
-- The job identifier is 196.
Jun 28 13:44:19 acer-paolo xdg-desktop-por[3745]: Choosing gtk.portal for org.freedesktop.impl.portal.Lockdown as a last-resort fallback
Jun 28 13:44:44 acer-paolo xdg-desktop-por[3745]: Choosing gtk.portal for org.freedesktop.impl.portal.Settings as a last-resort fallback
Jun 28 13:45:09 acer-paolo xdg-desktop-por[3745]: Failed to create settings proxy: Errore nel chiamare StartServiceByName per org.freedesktop.impl.portal.desktop.gtk: È stato raggiunto il timeout
Jun 28 13:45:09 acer-paolo xdg-desktop-por[3745]: No skeleton to export
Jun 28 13:45:09 acer-paolo xdg-desktop-por[3745]: Choosing gtk.portal for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Jun 28 13:45:34 acer-paolo xdg-desktop-por[3745]: Failed to create file chooser proxy: Errore nel chiamare StartServiceByName per org.freedesktop.impl.portal.desktop.gtk: È stato raggiunto il timeout
Jun 28 13:45:34 acer-paolo xdg-desktop-por[3745]: No skeleton to export
Jun 28 13:45:34 acer-paolo xdg-desktop-por[3745]: Choosing gtk.portal for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Jun 28 13:45:49 acer-paolo systemd[2105]: xdg-desktop-portal.service: start operation timed out. Terminating.
Jun 28 13:45:49 acer-paolo systemd[2105]: xdg-desktop-portal.service: Failed with result 'timeout'.
-- Subject: Unit failed

-- System Information:
Debian Release: 13.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.33+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xdg-desktop-portal-gnome depends on:
ii  dbus-user-session                            1.16.2-2
ii  dbus-x11                                     1.16.2-2
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-5
ii  gsettings-desktop-schemas                    48.0-1
ii  libadwaita-1-0                               1.7.4-2
ii  libc6                                        2.41-9
ii  libcairo2                                    1.18.4-1+b1
ii  libfontconfig1                               2.15.0-2.3
ii  libgdk-pixbuf-2.0-0                          2.42.12+dfsg-3
ii  libglib2.0-0t64                              2.84.3-1
ii  libgnome-bg-4-2t64                           44.3-3
ii  libgnome-desktop-4-2t64                      44.3-3
ii  libgraphene-1.0-0                            1.10.8-5
ii  libgtk-4-1                                   4.18.6+ds-2
ii  libwayland-client0                           1.23.1-3
ii  libx11-6                                     2:1.8.12-1
ii  nautilus                                     48.2-3
ii  xdg-desktop-portal                           1.20.3+ds-1
ii  xdg-desktop-portal-gtk                       1.14.1-1

Versions of packages xdg-desktop-portal-gnome recommends:
ii  gnome-settings-daemon  48.1-1
ii  gnome-shell            48.2-3

Versions of packages xdg-desktop-portal-gnome suggests:
ii  accountsservice  23.13.9-7
ii  evince           48.0-1

-- no debconf information

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1108442; Package xdg-desktop-portal-gnome. (Sat, 28 Jun 2025 19:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Jeremy Bícha <jeremy.bicha@canonical.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 28 Jun 2025 19:45:02 GMT) (full text, mbox, link).


Message #10 received at 1108442@bugs.debian.org (full text, mbox, reply):

From: Jeremy Bícha <jeremy.bicha@canonical.com>
To: Paolo Redaelli <paolo.redaelli@libero.it>, 1108442@bugs.debian.org
Subject: Re: Bug#1108442: xdg-desktop-portal-gnome: Crashes in a wayland session
Date: Sat, 28 Jun 2025 15:43:10 -0400
On Sat, Jun 28, 2025 at 3:01 PM Paolo Redaelli <paolo.redaelli@libero.it> wrote:
> xdg-desktop-portal-gnome crashes a Gnome session at login when selecting a wayland
> session while it runs fine in an Xorg session.

Please create a new user and log in as that user. If the bug doesn't
show there, then there is a problem with your user's config.

Thank you,
Jeremy Bícha



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1108442; Package xdg-desktop-portal-gnome. (Sat, 28 Jun 2025 20:17:02 GMT) (full text, mbox, link).


Acknowledgement sent to Paolo Redaelli <paolo.redaelli@libero.it>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 28 Jun 2025 20:17:02 GMT) (full text, mbox, link).


Message #15 received at 1108442@bugs.debian.org (full text, mbox, reply):

From: Paolo Redaelli <paolo.redaelli@libero.it>
To: Jeremy Bícha <jeremy.bicha@canonical.com>, 1108442@bugs.debian.org
Subject: Re: Bug#1108442: xdg-desktop-portal-gnome: Crashes in a wayland session
Date: Sat, 28 Jun 2025 22:07:26 +0200
Il 28/06/25 21:43, Jeremy Bícha ha scritto:
> On Sat, Jun 28, 2025 at 3:01 PM Paolo Redaelli <paolo.redaelli@libero.it> wrote:
>> xdg-desktop-portal-gnome crashes a Gnome session at login when selecting a wayland
>> session while it runs fine in an Xorg session.
> Please create a new user and log in as that user. If the bug doesn't
> show there, then there is a problem with your user's config.

First of all, thank you very much for you prompt answer!

In a freshly created user the problem does not show so it is in my config.

I lauched "find ~ -iname "*xdg*"|less" and searched in dconf but I 
couldn't find anything relevant.

Where should I look? I'm a "lifelong" Linux user but this bug looks a 
little puzzling, otherwise I woulnd't have reported a bug ...

Thank you in advance for your attention...

Kind regards,

    Paolo




Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1108442; Package xdg-desktop-portal-gnome. (Sat, 28 Jun 2025 20:19:01 GMT) (full text, mbox, link).


Acknowledgement sent to Jeremy Bícha <jeremy.bicha@canonical.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 28 Jun 2025 20:19:01 GMT) (full text, mbox, link).


Message #20 received at 1108442@bugs.debian.org (full text, mbox, reply):

From: Jeremy Bícha <jeremy.bicha@canonical.com>
To: Paolo Redaelli <paolo.redaelli@libero.it>
Cc: 1108442@bugs.debian.org
Subject: Re: Bug#1108442: xdg-desktop-portal-gnome: Crashes in a wayland session
Date: Sat, 28 Jun 2025 16:16:09 -0400
On Sat, Jun 28, 2025 at 4:07 PM Paolo Redaelli <paolo.redaelli@libero.it> wrote:
> I lauched "find ~ -iname "*xdg*"|less" and searched in dconf but I
> couldn't find anything relevant.
>
> Where should I look? I'm a "lifelong" Linux user but this bug looks a
> little puzzling, otherwise I woulnd't have reported a bug ...

I don't know so here are a few other ideas:

Do you have any files in ~/.config/xdg-desktop-portal/ ?

Compare the output of  env  between the working and non-working users.

You could back up your config files, then remove files to bisect to
try to figure out what isn't working.

Thank you,
Jeremy Bícha



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1108442; Package xdg-desktop-portal-gnome. (Sun, 29 Jun 2025 08:23:05 GMT) (full text, mbox, link).


Acknowledgement sent to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sun, 29 Jun 2025 08:23:05 GMT) (full text, mbox, link).


Message #25 received at 1108442@bugs.debian.org (full text, mbox, reply):

From: Simon McVittie <smcv@debian.org>
To: Paolo Redaelli <paolo.redaelli@libero.it>, 1108442@bugs.debian.org
Subject: Re: Bug#1108442: xdg-desktop-portal-gnome: Crashes in a wayland session
Date: Sun, 29 Jun 2025 09:21:16 +0100
Control: tags -1 + moreinfo

On Sat, 28 Jun 2025 at 20:58:52 +0200, Paolo Redaelli wrote:
>xdg-desktop-portal-gnome crashes a Gnome session at login when selecting a wayland
>session while it runs fine in an Xorg session.

Do you have evidence of this crash? The Journal messages you quoted are 
about xdg-desktop-portal, and they indicate that xdg-desktop-portal-gtk 
(not xdg-desktop-portal-gnome) took too long to start up (which is bad, 
but is not a crash).

Please look at the systemd Journal with journalctl, preferably as a 
privileged user (root or a member of the adm group), to get an overview 
of what is happening at the time.

>Jun 28 13:44:19 acer-paolo xdg-desktop-por[3745]: Choosing gtk.portal for org.freedesktop.impl.portal.Lockdown as a last-resort fallback
>Jun 28 13:44:44 acer-paolo xdg-desktop-por[3745]: Choosing gtk.portal for org.freedesktop.impl.portal.Settings as a last-resort fallback

This is a message from xdg-desktop-portal, not from 
xdg-desktop-portal-gnome.

>Jun 28 13:45:09 acer-paolo xdg-desktop-por[3745]: Failed to create settings proxy: Errore nel chiamare StartServiceByName per org.freedesktop.impl.portal.desktop.gtk: È stato raggiunto il timeout

This is a message from xdg-desktop-portal about xdg-desktop-portal-gtk, 
and is unrelated to xdg-desktop-portal-gnome.

>Jun 28 13:45:34 acer-paolo xdg-desktop-por[3745]: Failed to create file chooser proxy: Errore nel chiamare StartServiceByName per org.freedesktop.impl.portal.desktop.gtk: È stato raggiunto il timeout

Same here.

>Jun 28 13:45:49 acer-paolo systemd[2105]: xdg-desktop-portal.service: start operation timed out. Terminating.

This is a message from systemd about xdg-desktop-portal, and again is 
unrelated to xdg-desktop-portal-gnome.

    smcv



Added tag(s) moreinfo. Request was from Simon McVittie <smcv@debian.org> to 1108442-submit@bugs.debian.org. (Sun, 29 Jun 2025 08:23:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#1108442; Package xdg-desktop-portal-gnome. (Sun, 29 Jun 2025 14:59:01 GMT) (full text, mbox, link).


Acknowledgement sent to Paolo Redaelli <paolo.redaelli@libero.it>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sun, 29 Jun 2025 14:59:01 GMT) (full text, mbox, link).


Message #32 received at 1108442@bugs.debian.org (full text, mbox, reply):

From: Paolo Redaelli <paolo.redaelli@libero.it>
To: Simon McVittie <smcv@debian.org>, 1108442@bugs.debian.org, 1108442-done@bugs.debian.org
Subject: Re: Bug#1108442: xdg-desktop-portal-gnome: Crashes in a wayland session
Date: Sun, 29 Jun 2025 16:56:35 +0200
Il 29/06/25 10:21, Simon McVittie ha scritto:
> Control: tags -1 + moreinfo
>
> On Sat, 28 Jun 2025 at 20:58:52 +0200, Paolo Redaelli wrote:
>> xdg-desktop-portal-gnome crashes a Gnome session at login when 
>> selecting a wayland
>> session while it runs fine in an Xorg session.
>
> Do you have evidence of this crash? The Journal messages you quoted 
> are about xdg-desktop-portal, and they indicate that 
> xdg-desktop-portal-gtk (not xdg-desktop-portal-gnome) took too long to 
> start up (which is bad, but is not a crash).
>
> Please look at the systemd Journal with journalctl, preferably as a 
> privileged user (root or a member of the adm group), to get an 
> overview of what is happening at the time.

Actually I found  no evidence of a crash as either 
xdg-desktop-portal-gtk or xdg-desktop-portal-gnome exited with an error 
code.

I read the logs founding no apparent clue.

I somehow solved the issue removing ~/.config/dconf/user; I dumped its 
keys but again I couldn't find any potential issue.

Thank you everyone for your time and attention but my issue does not 
deserve to waste your time anymore, so I'm posting this to 
1108442-done@bugs.debian.org, signaling that it shall be closed.





Reply sent to Paolo Redaelli <paolo.redaelli@libero.it>:
You have taken responsibility. (Sun, 29 Jun 2025 15:07:01 GMT) (full text, mbox, link).


Notification sent to Paolo Redaelli <paolo.redaelli@libero.it>:
Bug acknowledged by developer. (Sun, 29 Jun 2025 15:07:01 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 28 Jul 2025 07:24:49 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 23 19:41:16 2026; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.