You are not logged in.

#1 2020-12-14 00:51:01

stephanehk123
Member
Registered: 2020-12-14
Posts: 4

Pulse directory not in /run/user/UID

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

#2 2020-12-14 18:23:10

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Pulse directory not in /run/user/UID

stephanehk123 wrote:

Failed to create secure directory (/run/user/40445/pulse): No such file or directory

https://wiki.archlinux.org/index.php/Pu … errors_bug

stephanehk123 wrote:

the application being run is the Carla Simulator

How did you install it?

stephanehk123 wrote:

the problem should not be specific to this application

Why do you think that? Are any other programs affected?


Jin, Jîyan, Azadî

Offline

#3 2020-12-14 20:02:52

stephanehk123
Member
Registered: 2020-12-14
Posts: 4

Re: Pulse directory not in /run/user/UID

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

#4 2020-12-14 21:27:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,354

Re: Pulse directory not in /run/user/UID

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

#5 2020-12-14 23:19:17

stephanehk123
Member
Registered: 2020-12-14
Posts: 4

Re: Pulse directory not in /run/user/UID

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

#6 2020-12-14 23:28:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,354

Re: Pulse directory not in /run/user/UID

... 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

#7 2020-12-15 00:10:08

stephanehk123
Member
Registered: 2020-12-14
Posts: 4

Re: Pulse directory not in /run/user/UID

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

#8 2020-12-17 14:02:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,354

Re: Pulse directory not in /run/user/UID

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 $insertyourcarlastartupcommand

but 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

Board footer

Powered by FluxBB