Skip to content

run: More accurately match PulseAudio's logic for finding its socket - #4059

Merged
alexlarsson merged 1 commit into
flatpak:masterfrom
smcv:legacy-pulseaudio
Jan 12, 2021
Merged

alexlarsson merged 1 commit into
flatpak:masterfrom
smcv:legacy-pulseaudio

Conversation

@smcv

@smcv smcv commented Jan 7, 2021

Copy link
Copy Markdown
Collaborator

Includes #4057.

@smcv

smcv commented Jan 7, 2021

Copy link
Copy Markdown
Collaborator Author

Tested successfully on a Debian 10 virtual machine that has been modified to boot with sysvinit instead of systemd. Not tested on Slackware or Void Linux.

@smcv

smcv commented Jan 8, 2021

Copy link
Copy Markdown
Collaborator Author

Reviewed-by: @RyuzakiKK (for the copy in pressure-vessel).

On systems with no XDG_RUNTIME_DIR, PulseAudio falls back to creating
a temporary directory in /tmp, then creating a symlink in
legacy directory ~/.pulse or its more modern replacement ~/.config/pulse.
The symlink is named according to the machine ID, falling back to the
hostname.

Resolves: flatpak#4058
Might-resolve: flatpak#2169
Signed-off-by: Simon McVittie <[email protected]>
@alexlarsson

Copy link
Copy Markdown
Member

Rebased it on master with merged #4057.

@alexlarsson
alexlarsson merged commit fe95ef6 into flatpak:master Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doesn't find PulseAudio socket on systems without an XDG_RUNTIME_DIR Spotify: PulseAudio: Unable to connect: Connection refused

2 participants