F20: No sound unless root ??

Rick Stevens ricks at alldigital.com
Tue Feb 3 19:26:40 UTC 2015


On 02/02/2015 05:22 PM, sean darcy wrote:
> On 02/02/2015 03:23 PM, Joonas Sarajärvi wrote:
>> 2015-02-02 22:18 GMT+02:00 sean darcy <seandarcy2 at gmail.com>:
>>> On 02/02/2015 03:10 PM, sean darcy wrote:
>>>>
>>>> I'm trying to play some sound as a user. But pulseaudio can't find any
>>>> outputs:
>>>>
>>>> $ aplay -l
>>>> aplay: device_list:268: no soundcards found...
>>>>
>>>> But, as root, aplay sees the integrated sound card:
>>>>
>>>
>>
>> How are you logged in in the system? My impression is that sound
>> devices in fedora are set up to be available to the user who is
>> physically present.
>>
>> -Joonas
>>
>
> This should be remote user. I want to use it as a sound server from
> anywhere in the house.
>
> This should be common use case. What's the trick to making it work, or
> does someone need to go the the basement each time ?

The desktop install of Fedora should permit whomever is logged in at
the console to play audio. If you don't have a user logged in at the
console, then pulse is probably not even running since it's spawned
by the X session startup.

You can run pulse at boot as the root user to make it act like a sound
server, but you'll need to configure it to use various sinks as outputs.
Have a look at "man pulse-daemon.conf", "man default.pa" and
"man pulse-cli-syntax" for details on how to set that up.

If you want a media server (e.g. DLNA), then there are a number of
packages available such as minidlna and mediatomb (both available from
the repos).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-   Errors have occurred. We won't tell you where or why.  We have   -
-                         lazy programmers.                          -
----------------------------------------------------------------------


More information about the users mailing list