You are not logged in.
Pages: 1
When trying to start an application that uses pulse I keep running into the following error:
Failed to create secure directory (/run/user/40445/pulse): No such file or directory
This makes sense because the directory /run/user/40445/ does not have Pulse in it. I was wondering why this is. How can I add this directory?
Note: user 40445 is a regular user without root access and the application being run is the Carla Simulator (although the problem should not be specific to this application).
Offline
Failed to create secure directory (/run/user/40445/pulse): No such file or directory
https://wiki.archlinux.org/index.php/Pu … errors_bug
the application being run is the Carla Simulator
How did you install it?
the problem should not be specific to this application
Why do you think that? Are any other programs affected?
Jin, Jîyan, Azadî
Offline
I installed Carla by simply downloading their precompiled repo. I tried the workarounds listed on the link you included, but I do not have sudo access or permission to edit /etc/pulse/daemon.conf. Could my problem possibly be because I do not have permission to use Pulse audio? Would this explain why no such directory exists in /run/user/UID?
Last edited by stephanehk123 (2020-12-14 20:03:10)
Offline
This directory should exist with a valid dbus/systemd session, how do you log in and start X? if you are using startx make sure your xinitrc is properly set up not the blue boxes.
Offline
I simply use ssh -X to log in. I do not understand why I need a custom ~/.xinitrc file or what new commands I would need to put in there.
Last edited by stephanehk123 (2020-12-14 23:24:22)
Offline
... and you want to do what exactly? Should the audio come out of your local speakers? Then you'd need to configure the client library to connect to your local pulse
or do you "just" wonder about the message? The message is pretty simple, it wants to connect to a pulse server for the running user but there isn't one running, if this is a remote system you ssh -X into, why do you care about this message and would you want the audio to be transfered to your local machine?
Are you even on Arch Linux?
Last edited by V1del (2020-12-14 23:34:35)
Offline
I do not really care about the audio, however, the application keeps on crashing and that is the only error message printed. Is this just an exception or something fatal? I am not at all familiar with Pulseaudio.
Offline
If the program is developed in any sensible way this fact should not be fatal, but has nothing do with pulseaudio per se. What does "keep crashing " mean? Do you get a coredump? https://wiki.archlinux.org/index.php/Co … _core_dump
What you "need" to fix the message is a valid dbus session you can enforce create one with e.g.
dbus-run-session $insertyourcarlastartupcommandbut I doubt that that is what you want and I don't think you have the relevantly appropriate permissions and should take this up with whomever administrates the system.
Last edited by V1del (2020-12-17 14:07:08)
Offline
Pages: 1