Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 631
    • Issues 631
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWirePipeWire
  • pipewirepipewire
  • Issues
  • #3194
Closed
Open
Issue created May 02, 2023 by Andrei Amuraritei@amurariteiandrei

mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running? Warning

PipeWire version (pipewire --version):

pipewire
Compiled with libpipewire 0.3.65
Linked with libpipewire 0.3.65
  • Distribution and distribution version (PRETTY_NAME from /etc/os-release):
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
  • Desktop Environment:
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Graphics Platform: Wayland
  • Kernel version (uname -r):
6.2.12-x64v3-xanmod1 (64-bit)

Description of Problem:

Hello guys,

Since 6d58c739 (pipewire 0.3.64) I guess, we're having these:

sudo journalctl -e -p warning --grep mod.rt

Mai 03 00:18:28 andreidesk pipewire[1176]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Mai 03 00:18:28 andreidesk pipewire-pulse[1178]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Mai 03 00:18:28 andreidesk pipewire-pulse[1178]: mod.rt: found session bus but no portal
Mai 03 00:18:28 andreidesk pipewire[1176]: mod.rt: found session bus but no portal
Mai 03 00:18:36 andreidesk pipewire-pulse[1601]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Mai 03 00:18:36 andreidesk pipewire-pulse[1601]: mod.rt: found session bus but no portal
Mai 03 00:18:36 andreidesk pipewire[1599]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Mai 03 00:18:36 andreidesk pipewire[1599]: mod.rt: found session bus but no portal

While the messages are just a warning, in a running desktop session, they can be quite confusing (which is a bit the opposite of the intent from the commit). Of course xdg-desktop-portal is running, but the Dbus session is per-user, and these warnings seem to be generated because mod.rt is looking for a per-system session (so far as I understand the code of the commit) and logging.

Could we prevent this logging if a running per-user session is detected? Or at the minimum, maybe rephrase the message to better indicate why it appears?

How Reproducible:

Have pipewire > 0.3.64 installed and running

Steps to Reproduce:

  1. Log into a Graphical Session
  2. Open a terminal
  3. sudo journalctl -e -p warning --grep mod.rt

Actual Results:

mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?

Have not tested yet pipewire > 0.3.65.

Assignee
Assign to
Time tracking