public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* Sound works as user but not as root
@  Linux for blind general discussion
   ` Linux for blind general discussion
   ` Linux for blind general discussion
  0 siblings, 2 replies; 8+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

Both the commands "spd-conf --test-pulse" and "spd-conf --test-alsa
play sound when run as user but fail as root.
This could be why I've had so much trouble with Fenrir.
Running spd-say also only works as user.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Sound works as user but not as root
   Sound works as user but not as root Linux for blind general discussion
@  ` Linux for blind general discussion
   ` Linux for blind general discussion
  1 sibling, 0 replies; 8+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: blinux-list

Howdy,

yea fenrir is running as root (if you did not any special setup). so 
also speech-dispatcher runs as root.
if you are using pulse you need to stream the sound that is played as 
root to the user or run pulse systemwide.
an other option is using alsa.
i tried to wrote down some solutions here:
https://wiki.linux-a11y.org/doku.php?id=fenrir_user_manual&s[]=fenrir#no_sound_at_all

sadly this is not an fenrir but an audio configuration issue so i cannot 
work arround to it.

cheers chrys.
Am 27.08.2017 um 21:21 schrieb Linux for blind general discussion:
> Both the commands "spd-conf --test-pulse" and "spd-conf --test-alsa
> play sound when run as user but fail as root.
> This could be why I've had so much trouble with Fenrir.
> Running spd-say also only works as user.
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Sound works as user but not as root
   Sound works as user but not as root Linux for blind general discussion
   ` Linux for blind general discussion
@  ` Linux for blind general discussion
     ` Linux for blind general discussion
     ` Linux for blind general discussion
  1 sibling, 2 replies; 8+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

I believe pulseaudio considers this a feature, not a bug.

For me it denotes yet another reason why I hate pulse.

Janina

Linux for blind general discussion writes:
> Both the commands "spd-conf --test-pulse" and "spd-conf --test-alsa
> play sound when run as user but fail as root.
> This could be why I've had so much trouble with Fenrir.
> Running spd-say also only works as user.
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list

-- 

Janina Sajka,	Phone:	+1.443.300.2200
			sip:janina@asterisk.rednote.net
		Email:	janina@rednote.net

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:	http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures	http://www.w3.org/wai/apa

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Sound works as user but not as root
   ` Linux for blind general discussion
@    ` Linux for blind general discussion
     ` Linux for blind general discussion
  1 sibling, 0 replies; 8+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: blinux-list

Why does the exact same thing happen when I test alsa?
That doesn't suggest a pulseaudio problem to me.

I've read the manual; I'm not sure how to set up a system-wide anything.
How do I get sound (and speech-dispatcher) as root?

On 8/28/17, Linux for blind general discussion <blinux-list@redhat.com> wrote:
> I believe pulseaudio considers this a feature, not a bug.
>
> For me it denotes yet another reason why I hate pulse.
>
> Janina
>
> Linux for blind general discussion writes:
>> Both the commands "spd-conf --test-pulse" and "spd-conf --test-alsa
>> play sound when run as user but fail as root.
>> This could be why I've had so much trouble with Fenrir.
>> Running spd-say also only works as user.
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>
> --
>
> Janina Sajka,	Phone:	+1.443.300.2200
> 			sip:janina@asterisk.rednote.net
> 		Email:	janina@rednote.net
>
> Linux Foundation Fellow
> Executive Chair, Accessibility Workgroup:	http://a11y.org
>
> The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
> Chair, Accessible Platform Architectures	http://www.w3.org/wai/apa
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Sound works as user but not as root
   ` Linux for blind general discussion
     ` Linux for blind general discussion
@    ` Linux for blind general discussion
       ` Linux for blind general discussion
  1 sibling, 1 reply; 8+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: blinux-list

Howdy,

I cannot see any constructive here.
its not that far away i had similar problems with ALSA or ESD.
so "i hate that" is not usefull lol
problems like this are solvable. anything else is just stupid rant...

there are 2 possible solutions:
1. stream the "root" sound to the user. (see fenrirs 
"configure_pulse.sh" script)
2. run pulse system wide (ALSA does the same here caused by design, what 
it doesn't make it more secure by design....)

cheers chrys

Am 28.08.2017 um 13:53 schrieb Linux for blind general discussion:
> I believe pulseaudio considers this a feature, not a bug.
>
> For me it denotes yet another reason why I hate pulse.
>
> Janina
>
> Linux for blind general discussion writes:
>> Both the commands "spd-conf --test-pulse" and "spd-conf --test-alsa
>> play sound when run as user but fail as root.
>> This could be why I've had so much trouble with Fenrir.
>> Running spd-say also only works as user.
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Sound works as user but not as root
     ` Linux for blind general discussion
@      ` Linux for blind general discussion
         ` Linux for blind general discussion
  0 siblings, 1 reply; 8+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

Has anyone figured out the pulseaudio controls terminology yet?  I 
started running some of the pulseaudio control programs and couldn't 
figure out what to do with what and what to leave alone.

On Tue, 29 Aug 2017, Linux for blind general discussion wrote:

> Date: Mon, 28 Aug 2017 18:22:38
> From: Linux for blind general discussion <blinux-list@redhat.com>
> To: blinux-list@redhat.com
> Subject: Re: Sound works as user but not as root
> 
> Howdy,
>
> I cannot see any constructive here.
> its not that far away i had similar problems with ALSA or ESD.
> so "i hate that" is not usefull lol
> problems like this are solvable. anything else is just stupid rant...
>
> there are 2 possible solutions:
> 1. stream the "root" sound to the user. (see fenrirs "configure_pulse.sh" 
> script)
> 2. run pulse system wide (ALSA does the same here caused by design, what it 
> doesn't make it more secure by design....)
>
> cheers chrys
>
> Am 28.08.2017 um 13:53 schrieb Linux for blind general discussion:
>> I believe pulseaudio considers this a feature, not a bug.
>> 
>> For me it denotes yet another reason why I hate pulse.
>> 
>> Janina
>> 
>> Linux for blind general discussion writes:
>>> Both the commands "spd-conf --test-pulse" and "spd-conf --test-alsa
>>> play sound when run as user but fail as root.
>>> This could be why I've had so much trouble with Fenrir.
>>> Running spd-say also only works as user.
>>> 
>>> _______________________________________________
>>> Blinux-list mailing list
>>> Blinux-list@redhat.com
>>> https://www.redhat.com/mailman/listinfo/blinux-list
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>

-- 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Sound works as user but not as root
       ` Linux for blind general discussion
@        ` Linux for blind general discussion
           ` Linux for blind general discussion
  0 siblings, 1 reply; 8+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: blinux-list

Howdy,
what do you mean by terminology? i try to help here i read the 
documentation.
what is the need?

cheers chrys

Am 29.08.2017 um 01:28 schrieb Linux for blind general discussion:
> Has anyone figured out the pulseaudio controls terminology yet?  I 
> started running some of the pulseaudio control programs and couldn't 
> figure out what to do with what and what to leave alone.
>
> On Tue, 29 Aug 2017, Linux for blind general discussion wrote:
>
>> Date: Mon, 28 Aug 2017 18:22:38
>> From: Linux for blind general discussion <blinux-list@redhat.com>
>> To: blinux-list@redhat.com
>> Subject: Re: Sound works as user but not as root
>>
>> Howdy,
>>
>> I cannot see any constructive here.
>> its not that far away i had similar problems with ALSA or ESD.
>> so "i hate that" is not usefull lol
>> problems like this are solvable. anything else is just stupid rant...
>>
>> there are 2 possible solutions:
>> 1. stream the "root" sound to the user. (see fenrirs 
>> "configure_pulse.sh" script)
>> 2. run pulse system wide (ALSA does the same here caused by design, 
>> what it doesn't make it more secure by design....)
>>
>> cheers chrys
>>
>> Am 28.08.2017 um 13:53 schrieb Linux for blind general discussion:
>>> I believe pulseaudio considers this a feature, not a bug.
>>>
>>> For me it denotes yet another reason why I hate pulse.
>>>
>>> Janina
>>>
>>> Linux for blind general discussion writes:
>>>> Both the commands "spd-conf --test-pulse" and "spd-conf --test-alsa
>>>> play sound when run as user but fail as root.
>>>> This could be why I've had so much trouble with Fenrir.
>>>> Running spd-say also only works as user.
>>>>
>>>> _______________________________________________
>>>> Blinux-list mailing list
>>>> Blinux-list@redhat.com
>>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>>
>> _______________________________________________
>> Blinux-list mailing list
>> Blinux-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/blinux-list
>>
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Sound works as user but not as root
         ` Linux for blind general discussion
@          ` Linux for blind general discussion
  0 siblings, 0 replies; 8+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

Have you ever run rexima or amixer or alsamixer?  Also, have you ever 
run pacmd?  The list commands inside pacmd provide lots of information 
and lots of complexity as compared to rexima or amixer.  I suppose 
rexima or amixer list comparison for devices sinks and the like appear 
lots less complex.  What would to my mind make pacmd lots safer to use 
would be a test control a user could use to get a 5 second test of a 
modification they had made.  If the user did like the modification they 
could run a save command for that modification but if the modification 
turned out to mess something up it would only last for 5 seconds in the 
test run.  Unfortunately with alsa the speakertest program is a separate 
program and I've not yet attempted a modification inside rexima or 
amixer and then tried background those programs and running speakertest 
yet.  I don't know if I'd get useable results from doing so or if it 
wouldn't work with the installed hardware.

On Tue, 29 Aug 2017, Linux for blind general discussion wrote:

> Date: Mon, 28 Aug 2017 19:34:30
> From: Linux for blind general discussion <blinux-list@redhat.com>
> To: blinux-list@redhat.com
> Subject: Re: Sound works as user but not as root
> 
> Howdy,
> what do you mean by terminology? i try to help here i read the 
> documentation.
> what is the need?
>
> cheers chrys
>
> Am 29.08.2017 um 01:28 schrieb Linux for blind general discussion:
>> Has anyone figured out the pulseaudio controls terminology yet?  I 
>> started running some of the pulseaudio control programs and couldn't 
>> figure out what to do with what and what to leave alone.
>>
>> On Tue, 29 Aug 2017, Linux for blind general discussion wrote:
>>
>>> Date: Mon, 28 Aug 2017 18:22:38
>>> From: Linux for blind general discussion <blinux-list@redhat.com>
>>> To: blinux-list@redhat.com
>>> Subject: Re: Sound works as user but not as root
>>>
>>> Howdy,
>>>
>>> I cannot see any constructive here.
>>> its not that far away i had similar problems with ALSA or ESD.
>>> so "i hate that" is not usefull lol
>>> problems like this are solvable. anything else is just stupid rant...
>>>
>>> there are 2 possible solutions:
>>> 1. stream the "root" sound to the user. (see fenrirs 
>>> "configure_pulse.sh" script)
>>> 2. run pulse system wide (ALSA does the same here caused by design, 
>>> what it doesn't make it more secure by design....)
>>>
>>> cheers chrys
>>>
>>> Am 28.08.2017 um 13:53 schrieb Linux for blind general discussion:
>>>> I believe pulseaudio considers this a feature, not a bug.
>>>>
>>>> For me it denotes yet another reason why I hate pulse.
>>>>
>>>> Janina
>>>>
>>>> Linux for blind general discussion writes:
>>>>> Both the commands "spd-conf --test-pulse" and "spd-conf --test-alsa
>>>>> play sound when run as user but fail as root.
>>>>> This could be why I've had so much trouble with Fenrir.
>>>>> Running spd-say also only works as user.
>>>>>
>>>>> _______________________________________________
>>>>> Blinux-list mailing list
>>>>> Blinux-list@redhat.com
>>>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>>
>>>
>>> _______________________________________________
>>> Blinux-list mailing list
>>> Blinux-list@redhat.com
>>> https://www.redhat.com/mailman/listinfo/blinux-list
>>>
>>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list

-- 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Sound works as user but not as root Linux for blind general discussion
 ` Linux for blind general discussion
 ` Linux for blind general discussion
   ` Linux for blind general discussion
   ` Linux for blind general discussion
     ` Linux for blind general discussion
       ` Linux for blind general discussion
         ` Linux for blind general discussion

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).