On Sun, 27 Jun 2021 08:56:05 +0900 Masaru Nomiya <nom...@galaxy.dti.ne.jp> said:

> Hello,
> 
> I rebooted, but no sounds from e.
> 
> In the Message; 
> 
>   Subject    : Re: [e-users] How can I get system sounds?
>   Message-ID : <20210626234417.9f9757fe0a5a34e230529...@rasterman.com>
>   Date & Time: Sat, 26 Jun 2021 23:44:17 +0100
> 
> [CH] == Carsten Haitzler <ras...@rasterman.com> has written:
> 
> [...]
> MN> > But, it's a mystery for me.
> MN> > Why the pulseaudio's settings problem is specific to me .... ?
> 
> CH>  I don't know. All I can think of was pulseaduio not running (as
> CH>  your user - not as root or some other user). All Enlightenment
> CH>  does is talk to the pulseaudio daemon using libpluse - like you
> CH>  use xlib to talk to the xserver.
> 
> I can fully understand wha you mean, I think.
> 
> But, pulsedaemon does always run just after booting.
> Because,

does it run as you, or root? below seems to imply pulse is running as you.

> 1. After booting, I can always hear the switching on sound of mu USB
>   DAC.
> 
> 2. I always begin  the PC operation with starting music via audacious.

when you play audio... is pulseaudio using cpu? it's > 0% cpu?

> ....
> 
> One question.
> 
> As a root, accessing to pulseaudio is always denied ;
> 
> # aplay /home/masaru/wav/Track\ 2.wav 
> XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000!
> (This could e.g. happen if you try to connect to a non-root PulseAudio as a
> root user, over the native protocol. Don't do that.) ALSA lib pulse.c:243:
> (pulse_connect) PulseAudio: Unable to connect: Access denied

oh... this is just aplay's pulse support not liking $XDG_RUNTIME_DIR because you
have inherited that environment variable from the user and that points to the
user (UID 1000) runtime dir. the runtime dir is the "freedesktop standards"
directory to put sockets and other "only used at runtime" files that do not
need to stay after a user has logged out or the system restarts. so this is
where some temporary data and socket and such files goe. it's normally in some
tmpfs or ramdisk so it consumes ram/ to put stuff here, so don't put large
files that stay around unless you like to allocate that ram for that.

> aplay: main:831: audio open error: Connection refused
> 
> Is this phenomena within your expectations?

yes. :) explained above.

> Thanks.
> 
> ---
> ┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
> ┃\/彡
> ┗━━┛ "Bill! You married with Computer.
>           Not with Me!"
>          "No..., with money."
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to