Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam + Pulseaudio: Failed to connect to the context. Error: Connection refused #12406

Closed
pstn opened this issue Jan 15, 2016 · 5 comments
Closed
Assignees
Labels

Comments

@pstn
Copy link
Contributor

pstn commented Jan 15, 2016

I have no sound in steam or any games started with it. There is a
Failed to connect to the context. Error: Connection refused
error in my steam output but I can't find out what exactly is wrong.

Here is my system config. On top of that I'm using the libc++ workaround.

edit: Linked the right steam log.

@vcunat
Copy link
Member

vcunat commented Jan 15, 2016

/cc @abbradar.

@abbradar
Copy link
Member

Have you removed my other patch which added libstdc++ to LD_PRELOAD? Steam shouldn't have LD_PRELOAD errors in logs my itself, even with updated libstdc++.

@abbradar abbradar self-assigned this Jan 15, 2016
@abbradar abbradar added the 0.kind: bug Something is broken label Jan 15, 2016
@pstn
Copy link
Contributor Author

pstn commented Jan 15, 2016

Whoopsies, I attached the wrong log. Sorry for that. Fixed

@pstn
Copy link
Contributor Author

pstn commented Jan 20, 2016

After some research with @abbradar we found out, that exporting PULSE_SERVER="unix:/run/user/1000/pulse/native" fixes my issue. This is strange because xprop --root already had a PULSE_SERVER variable set with this value (and the cookie but adding this to the environment variable doesn't change anything).

We will investigate the matter further, but are grateful for any input on how pulseaudio finds its sockets.

@pstn
Copy link
Contributor Author

pstn commented Jan 23, 2016

Fixed. Thanks @abbradar

@pstn pstn closed this as completed Jan 23, 2016
abbradar added a commit that referenced this issue Jan 23, 2016
Login mode can cause hidden problems, e.g. #12406. Generally we don't want
to read user's .bash_profile when we don't start an interactive shell inside
a chroot.
coreyoconnor pushed a commit to coreyoconnor/nixpkgs that referenced this issue May 20, 2016
abbradar added a commit that referenced this issue May 20, 2016
Fixes #12406 for `.env`

(cherry picked from commit ca38376)
adrianpk added a commit to adrianpk/nixpkgs that referenced this issue May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants