Audio for root not working
Hi,
I've a strange audio behaviour.
On a plain debian install I can use commands like
"play /path/to/some/audio.ogg" or equivalents with aplay.
On debian edu workstation audio works fine as normal user,
but as root doesn't work, with the following error:
---------------------------------------
No protocol specified
xcb_connection_has_error() returned true
No protocol specified
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
play FAIL sox: Sorry, there is no default audio device configured
-----------------------------------------
using "play" as normal user works
Any idea?
Regards
Giorgio
P.S: I really need to play sound as root to setup
school bell.
Giorgio Pioda - Sysadmin SPSE-Tenero
Cell +41 79 629 20 63
Uff. +41 91 735 62 48
Reply to: