Ubuntu 10.04 alsamixer cannot open mixer: No such file or directory – solved

In a headless server running Ubuntu 10.04 desktop edition, when trying to launch alsamixer (from terminal) I’ve got an error: alsamixer cannot open mixer: No such file or directory

Using sudo alsamixer is working, therefore I have a clue that this is due to wrong permissions. To check that, issue:

ls /dev/mixer -l

and the result should looks like:

crw-rw---- 1 root audio 14, 0 2011-01-20 22:52 /dev/mixer

then check if your username belong also to this group (audio) with

groups

If your username don’t belong also in the audio group, you should add your user as a member of it, like

sudo usermod -a -G audio your_login_name 

Substitute your_login_name with your real login name, logout, login back and alsamixer should work.

– UPDATE –

The above works also in Ubuntu server 12.04 LTS, except that the directory is no longer /dev/mixer but /dev/snd. It’s content belong to audio group.


This entry was posted in En, IT stuff, Linux, Software and tagged , , . Bookmark the permalink.

2 Responses to Ubuntu 10.04 alsamixer cannot open mixer: No such file or directory – solved

  1. Wayno says:

    Yup. Not in audio group! thank you kind sir.

    I also have a Linux help blog: http://www.pkill-9.com — interested in reciprocal links?

    Wayno

    • admin says:

      I’ve checked your blog and I like it.

      I don’t know much about reciprocal links, but I do really like your site. :)

      MC

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*


nine − 5 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>