[gfwp@ticino.com: Audio for root not working]
Well strace says that /tmp/user/0/pulse-whatever/native
is not created
Regards
Giorgio
----- Forwarded message from Giorgio Pioda <gfwp@ticino.com> -----
Date: Tue, 10 Sep 2013 17:07:04 +0200
From: Giorgio Pioda <gfwp@ticino.com>
To: debian-edu@lists.debian.org
Subject: Audio for root not working
User-Agent: Mutt/1.5.21 (2010-09-15)
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
----- End forwarded message -----
--
Giorgio Pioda - Sysadmin SPSE-Tenero
Cell +41 79 629 20 63
Uff. +41 91 735 62 48
Reply to: