Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

[Solved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#1 Post by Hélène »

Hello,

I just installed Debian and I have this error message

Code: Select all

pipewire[1315]: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n> when I 
boot.

Should I reinstall Debian?

Thanks.
Last edited by Hélène on 2022-06-24 14:06, edited 1 time in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: pipewire[1315]: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#2 Post by sunrat »

Does your audio work? Just ignore it then. Presumably you are using Bullseye and Pipewire is not used as default in Bullseye, it is actually classed as experimental. I get the same message - no problem.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Hélène
Posts: 45
Joined: 2016-10-06 10:48
Has thanked: 2 times

Re: pipewire[1315]: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#3 Post by Hélène »

OK.

Yes my audio works.

Thank you very much.

Theuthr
Posts: 9
Joined: 2017-08-26 00:14

Re: [Resolved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#4 Post by Theuthr »

Hi,

F.Y.I I have just installed Debian 11.6 (Bullseye), in this version Pipewire is installed by default.

Trying to solve same error msg, which is why I am here.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: [Resolved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#5 Post by sunrat »

Theuthr wrote: 2023-02-04 18:01 Hi,

F.Y.I I have just installed Debian 11.6 (Bullseye), in this version Pipewire is installed by default.

Trying to solve same error msg, which is why I am here.
Same answer. It's not an error message, only info. You can ignore it. Pipewire is not active by default in Bullseye.
Check:

Code: Select all

ps ax |grep pipe
systemctl status pipewire.service
pw-top
Those 3 commands will all show no active processes.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Theuthr
Posts: 9
Joined: 2017-08-26 00:14

Re: [Resolved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#6 Post by Theuthr »

Hello sunrat,

I thought I was being helpful :(

Now that you sent the above I don't understand the o/p of;-

Code: Select all

:~$ systemctl --user status pipewire.service
● pipewire.service - Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; vendor pr>
     Active: active (running) since Sat 2023-02-04 18:55:05 GMT; 6h ago
TriggeredBy: ● pipewire.socket
   Main PID: 881 (pipewire)
      Tasks: 4 (limit: 19054)
     Memory: 5.5M
        CPU: 30ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.s>
             ├─881 /usr/bin/pipewire
             └─900 /usr/bin/pipewire-media-session

Feb 04 18:55:05 xxx systemd[866]: Started Multimedia Service.
Feb 04 18:55:05 xxx pipewire[881]: Failed to receive portal pid: org.freedes>
Which I ran before posting.

When I run your code I get your answer. (as I would expect from Admin)

I have only done a bare metal net install, have added Nvidia driver for graphics card and realtek FW that was complained about.

Using Cinnamon DT

Will post more tomorrow.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: [Resolved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#7 Post by sunrat »

Hmmm, I get

Code: Select all

$ systemctl --user status pipewire.service
● pipewire.service
     Loaded: masked (Reason: Unit pipewire.service is masked.)
     Active: inactive (dead)
I've done a bunch of customising for audio production but don't recall whether I masked that service or if it is default. Also I'm using KDE Plasma so Cinnamon may be different. Need to hear from someone else with default Cinnamon to answer that.

I get that same message in my system btw. It seems inconsequential.

What result do you get from?:

Code: Select all

LANG=C pactl info | grep '^Server Name'
Pipewire in Bullseye is said to be experimental (and an ancient version) - https://wiki.debian.org/PipeWire#Debian_11 although a more recent version is available in Backports. It is default in Testing/Sid.

Is your audio working correctly? Suggest not to worry if it is.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!


Theuthr
Posts: 9
Joined: 2017-08-26 00:14

Re: [Resolved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#9 Post by Theuthr »

For sunrat
Server Name: pulseaudio

Audio OK Display port --> Monitor speakers OK
Audio Jacks out OK

Tried FreewheelinFrank's suggestion but that did not fix it for me.

I don't have .xinitrc or .xsession and the cmd;

dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY

did nothing (as a std user.) User is a member of adm group at present.

Because problem not resolved, for me, I will start a new topic and add more info

As this is my first Debian install it might contain info that helps others.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: [Resolved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#10 Post by sunrat »

Theuthr wrote: 2023-02-05 18:47Because problem not resolved, for me, I will start a new topic and add more info
You don't seem to have a problem. Your audio is working. You are using PulseAudio which is the default in Bullseye, not PipeWire. I also get the same informational message for which you started the topic, it is unimportant.

You could mask the pipewire service if you like. It won't do anything noticeable as it is unused, or get rid of that message however..
As root or sudo:

Code: Select all

systemctl mask pipewire.service
You can reverse it with unmask.

- Edited to correct previously written "pulseaudio service" to "pipewire service" :oops:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Theuthr
Posts: 9
Joined: 2017-08-26 00:14

Re: [Resolved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#11 Post by Theuthr »

True I don’t have an Audio problem. What I have not said is that I am trying to clear all the “Important” error msgs shown in gnome-logs on a new install of Debian 11.6.

You just gave me a clue though, I assume you meant “mask pipewire” and “mask pulseaudio” was just a typo, so;-

Code: Select all

$ sudo systemctl mask pipewire.service
	Unit pipewire.service does not exist, proceeding anyway.      
	Created symlink /etc/systemd/system/pipewire.service → /dev/null.
If it only exists in ‘user’ space try;-

Code: Select all

$ systemctl --user mask pipewire.service
	Created symlink /home/xxx/.config/systemd/user/pipewire.service → /dev/null. 
and

Code: Select all

$ systemctl --user mask pipewire.socket
All pipe wire error msgs now cleared. Means MY problem appears to be solved.

Not sure why pipewire programs installed if not required, at least I would expect them to be inactive.

Could I have stopped some current audio function that I have not used yet in this Debian version?

Anyway thanks a lot for members time.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: [Resolved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#12 Post by sunrat »

Theuthr wrote: 2023-02-09 14:11I assume you meant “mask pipewire” and “mask pulseaudio” was just a typo,...
Ooops, fixed in above post. Glad you got the gist.
Not sure why pipewire programs installed if not required, at least I would expect them to be inactive.
Could I have stopped some current audio function that I have not used yet in this Debian version?
Anyway thanks a lot for members time.
I'm sure it must have some purpose but I have NFI what it is. The ways of Debian are sometimes dark and mysterious. :mrgreen:
Happy we could help.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Theuthr
Posts: 9
Joined: 2017-08-26 00:14

Re: [Resolved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#13 Post by Theuthr »

Pipewire;-

Code: Select all

$ systemctl --all --user
returns
pipewire.service loaded active running Multimedia Service
pipewire.socket loaded active running Multimedia System

pulseaudio.service loaded active running Sound Service
pulseaudio.socket loaded active running Sound System

there is also a pipewire-pulse in /usr/bin/ (Shared library)

So it looks as if they might play together ?

I thought pipewire might have arrived with vlc which I loaded, but when I purged vlc all the pipewire stuff was still there.

Perhaps someone else might find these disconnected jottings of some help

Thanks again for your quick replies.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: [Resolved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#14 Post by sunrat »

Theuthr wrote: 2023-02-10 00:23 Pipewire;-

Code: Select all

$ systemctl --all --user
returns
pipewire.service loaded active running Multimedia Service
pipewire.socket loaded active running Multimedia System

pulseaudio.service loaded active running Sound Service
pulseaudio.socket loaded active running Sound System

there is also a pipewire-pulse in /usr/bin/ (Shared library)
Masking a service prevents it from starting but will not also stop it. You need to specifically do systemctl stop whatever.service or reboot.

pipewire-pulse replaces pulse in a pure Pipewire setup. It is a bridge sink for applications which don't have a direct PW output option. Pulseaudio does not run or need to be installed for it to work.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

lindi
Debian Developer
Debian Developer
Posts: 408
Joined: 2022-07-12 14:10
Has thanked: 1 time
Been thanked: 77 times

Re: [Solved]pipewire: Failed to receive portal pid: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get PID of n>

#15 Post by lindi »

Isn't pipewire used in Debian 11 for screen sharing? How else would chromium access the window of a wayland application to be shared?

Post Reply