To control these messages, you have to use the MPV_VERBOSE environment variable see ENVIRONMENT VARIABLES for details.Ĭompletely silences the output of ao_sndio, which uses the log prefix. Some messages are printed before the command line is parsed and are therefore not affected by -msg-level.
![pulseaudio unable to connect connection refused pulseaudio unable to connect connection refused](https://forum.garudalinux.org/uploads/default/original/2X/1/13ad24c65ca7aa1e9879eb596826a389629bf309.png)
This also affects -log-file, and in certain cases libmpv API logging. You can use the module names printed in the output (prefixed to each line in ) to limit the output to interesting modules. Run mpv with -msg-level=all=trace to see all messages mpv outputs. The verbosity changes from this option are applied in order from left to right, and each item can override a previous one.
![pulseaudio unable to connect connection refused pulseaudio unable to connect connection refused](https://idyllictux.files.wordpress.com/2008/10/screenshot-sound-preferences-1.png)
The all module changes the verbosity of all the modules. Since mpv is more verbose here its difference playing via pulse - or trying to:Ĭontrol verbosity directly for each module. I did press no keys waiting for the root via su mpg123 or mpv to play.
#Pulseaudio unable to connect connection refused driver
Failed to initialize audio driver 'oss'Ĭould not open/initialize audio device -> no sound.Īnd here the errors trying as sudo -u guest:Ĭode: Select all time su -l guest -c "mpg123 /sound/CLAUDE-DEBUSSY_CLAIR-DE-LUNE.mp3"įree software (LGPL) without any warranty but with best time su -l guest -c "mpv /sound/CLAUDE-DEBUSSY_CLAIR-DE-LUNE.mp3"īe aware at some time I quit the playing as guest via pressing "q" in mpg123 or mpv, and mpv even lists the time in song I did so. Can't open audio device /dev/dsp: No such file or directory Segmentation mpv /mnt/sda2/sound/notification_-15dB.mp3ĪLSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. XDG_RUNTIME_DIR (/var/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g.
![pulseaudio unable to connect connection refused pulseaudio unable to connect connection refused](https://user-images.githubusercontent.com/54485853/103258207-df2b3580-4959-11eb-9b95-81238ac6fc2e.png)
Version 1.26.3 written and copyright by Michael Hipp and othersįree software (LGPL) without any warranty but with best wishes High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 Code: Select all mpg123 /mnt/sda2/sound/notification_-15dB.mp3