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

Cannot locate PulseAudio cookie #150

Open
znawcaphotona opened this issue Oct 7, 2023 · 2 comments
Open

Cannot locate PulseAudio cookie #150

znawcaphotona opened this issue Oct 7, 2023 · 2 comments

Comments

@znawcaphotona
Copy link

znawcaphotona commented Oct 7, 2023

Hi,
I have problem using ego on Debian 12 when trying to run any app (I want to use it for linphone)

root@host:~# ego ./Linphone-5.1.2.AppImage
error: Error preparing PulseAudio: Cannot locate PulseAudio cookie (tried $PULSE_COOKIE, ~/.config/pulse/cookie, ~/.pulse-cookie)
@intgr
Copy link
Owner

intgr commented Oct 8, 2023

Hi! Are you logged in to the graphical environment as root? Or did you log in with an ordinary user and then use sudo or something else to become root?

Some things that might help debugging:

  • Please run ego -vvv ./Linphone-5.1.2.AppImage and post all the logs.
  • What's the value of $XDG_RUNTIME_DIR?
  • Run ls -la $XDG_RUNTIME_DIR/.pulse and post output
  • ps aux |grep pulseaudio

@anzix
Copy link

anzix commented Nov 27, 2024

I had the same thing, it turned out that the ~/.config/pulse directory was accessible only to the root user. I fixed it with the command sudo chown -R 1000:$(whoami) pulse. And then the ego command started working.

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

No branches or pull requests

3 participants