Can't run pavucontrol or alsamixer

Can't run pavucontrol or alsamixer

Postby petedan10 » Apr 12th, '16, 15:54

I made a new installation of Mageia 5, and trying to setup the sound I ended up unable to run pavucontrol or alsamixer. I think I messed up when I ran these tools as root.

I tried to reinstall and while sound works I still can't access those tools. Here is the output from the command line, first as user:

Code: Select all
pulseaudio & pavucontrol
[1] 22548
W: [pulseaudio] core-util.c: Failed to open configuration file '/home/petedan/.config/pulse//daemon.conf': Permission denied
W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied
Failed to create secure directory (/run/user/1000/pulse): Permission denied

(pavucontrol:22549): Gtk-CRITICAL **: gtk_main_quit: assertion 'main_loops != NULL' failed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Failed to create secure directory (/run/user/1000/pulse): Permission denied

(pavucontrol:22549): Gtk-CRITICAL **: gtk_main_quit: assertion 'main_loops != NULL' failed
[1]+  Exit 1                  pulseaudio


Code: Select all
pulseaudio -k
W: [pulseaudio] core-util.c: Failed to open configuration file '/home/petedan/.config/pulse//daemon.conf': Permission denied
W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied



Code: Select all
alsamixer
Failed to create secure directory (/run/user/1000/pulse): Permission denied
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

cannot open mixer: Connection refused


and as root:

Code: Select all
[root@localhost petedan]# systemctl status sound.target
● sound.target - Sound Card
   Loaded: loaded (/usr/lib/systemd/system/sound.target; static)
   Active: active since Tue 2016-04-12 13:54:15 EEST; 2h 31min ago
     Docs: man:systemd.special(7)
[root@localhost petedan]# ps auxwww | grep pulse
root     23102  0.0  0.0  12500  2184 pts/3    S+   16:25   0:00 grep --color pulse


Is there anything I can do or should I go for a completely new installation?
petedan10
 
Posts: 69
Joined: Jun 27th, '15, 10:23

Re: Can't run pavucontrol or alsamixer

Postby pete910 » Apr 13th, '16, 12:08

Looks to be a permissions problem.

open console and do

Code: Select all
ll /home/petedan/.config | grep pulse


Post output but it should match your user and group.

Heres mine to give you an idea

Code: Select all
drwx------ 2 pete live  4096 Jul 19  2015 pulse/
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: Can't run pavucontrol or alsamixer

Postby petedan10 » May 1st, '16, 04:36

The output was identical to yours. Since my post I deleted the installation but I managed to replicate the issue even using the livecd. It happens when I have vlc and pavucontrol open at the same time and changing audio settings on both while vlc plays a video. Not something I should normally be doing, and the irony is I was trying to find some workaround for some other audio issue.
petedan10
 
Posts: 69
Joined: Jun 27th, '15, 10:23


Return to Sound

Who is online

Users browsing this forum: No registered users and 1 guest