On Sat 01 Jul 2017 at 16:00:12 (+0000), Curt wrote: > On 2017-07-01, David Wright <deb...@lionunicorn.co.uk> wrote: > > > > Secondly, most of the error messages involved alsa rather > > than the CD player. How does root get on with playing > > sound files from other sources? > > > > Actually, upon further reflection, the root error message from his > original post was: > > 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.) > > which might mean the incriminated environment variable is being inherited > from his > user shell (if he used 'su' maybe). > > So, in order obviate that, he should--well, you tell me.
# mplayer --noconfig=all --ao=alsa cdda:// ↑↑↑↑↑↑↑↑↑ should deal with that. Without that parameter, I (mplayer2) get an extra line of output: AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400) AO: [pulse] Init failed: Connection refused ←-------- AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Cheers, David.