Bug 57281 - libpulseaudio fails to connect if XDG_RUNTIME_DIR is unset
Summary: libpulseaudio fails to connect if XDG_RUNTIME_DIR is unset
Status: RESOLVED NOTABUG
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: clients (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-19 15:49 UTC by Florian Pritz
Modified: 2012-11-19 16:37 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Florian Pritz 2012-11-19 15:49:18 UTC
If XDG_RUNTIME_DIR is unset mpd, pavucontrol and most certainly everything using pulse fails to connect to the server.

This is the case if mpd is started via the systemd unit file. Even if it is configured to be run under my user.

Reproduce:
unset XDG_RUNTIME_DIR; pavucontrol

This is probably related to #57280.
Comment 1 Florian Pritz 2012-11-19 16:37:05 UTC
Turns out this is mostly intended behavior as XDG_RUNTIME_DIR is bound to user sessions and won't survive a full logout.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.