You are not logged in.
Hello,
I created a second user account on my machine just to browse the web, everything is working fine except when I try to watch a video ( no sound ).
This is what firefox says when I open up a video:
2015-11-30 10:12:13: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/liblgpllibs.so could not be stored
2015-11-30 10:12:13: basic_code_modules.cc:70: ERROR: Module /usr/lib/libsystemd.so.0 could not be stored
2015-11-30 10:12:13: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/components/libdbusservice.so could not be stored
2015-11-30 10:12:13: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/components/libmozgnome.so could not be stored
2015-11-30 10:12:13: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/browser/components/libbrowsercomps.so could not be stored
[fresh] [warning] failed to parse configuration file /home/web_user/.config/freshwrapper.conf, trying /etc/freshwrapper.conf
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
NOT SANDBOXED
Vector smash protection is enabled.
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Any ideas on how to solve this? It seems that the user I created does not have permission to use the audio card, but how can I give it to him?
Offline
Are you using alsa directly or pulseaudio?
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I'm using pulseaudio.
Offline
I would check Firefox volume on pavucontrol.
Offline
-Try running "pavucontrol" in a Terminal as the second user and check if the volumes are up.
-Add your second user to the groups video and audio using sudo gpasswd -a "user" "group"
Offline
I've already tried the group thing, but it doesn't work.
From pavucontrol there's nothing I can do, strangely even if firefox is playing a video it doesn't appear as a playback stream.
Offline
https://bbs.archlinux.org/viewtopic.php?id=152824 > Did you re-login / reboot after adding your second user to the group video /audio?
If there is nothing important in your user directory, try removing firefox's config files and start firefox again.
Offline
Yes I did re-login, but did not help.
Offline
Do other applications running on your second account have access to sound?
Offline
What is the output of
loginctl show-session $XDG_SESSION_IDOffline
Offline
You will have more luck if you use the module-native-protocol-tcp of pulseaudio and then on the environment of your firefox user point it to use the port where module-native-protocol-tcp is listening.
Most probably you will want to script things so you launch firefox from your user account so it is easier to find out on which port module-native-protocol-tcp is listening. This will require you to fiddle with the sudoers config file so you can su to your ff user and launch firefox and only firefox without asking for password.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline