Ubuntu System no sound solution

Source: Internet
Author: User

It seems that there is a software to put the video, there is no sound. Behind the web search for a simple and brutal method, the effect is obvious, change the authority directly after the sound.

-----------------------------------------------Porter Split Line--------------------------------------------------

Today, I suddenly get the system no sound, find the problem:
The root cause is that the user loses access to the audio device. You can use the command
ls -la /dev/snd
To view the usage rights of the audio device. For example, under my system , the output
Total 0
Drwxr-xr-x 2 root root 180 2008-05-14 08:53.
Drwxr-xr-x root root 4580 2008-05-15 13:01..
CRW-RW----+ 1 root root, 8 2008-05-14 08:53 controlC0
CRW-RW----+ 1 root root, 7 2008-05-14 08:53 hwc0d2
CRW-RW----+ 1 root root, 6 2008-05-14 08:54 pcmc0d0c
CRW-RW----+ 1 root root, 5 2008-05-14 14:04 pcmc0d0p
CRW-RW----+ 1 root root, 4 2008-05-14 08:53 pcmc0d1p
CRW-RW----+ 1 root root, 3 2008-05-14 08:53 seq
CRW-RW----+ 1 root root, 2 2008-05-14 08:53 timer

This means that only users of the root and audio groups can use the audio device. That's why
Under root , Volume Control works fine and cannot be used by other users.  may be
Some error actions remove the user  from the audio group and are unable to use a sound device.

The solution is
sudo chmod-r a+rwx/dev/snd
This will allow all users to access the audio device.
A more appropriate approach is to
sudo usermod-a-G audiousrname.
Note: The first command I used solves the problem, bingo!

Refer
http://blog.csdn.net/hecssy/article/details/2816887
2. http://forum.ubuntu.org.cn/viewtopic.php?f=42&t=154789&start=0
Original source: http://blog.sina.com.cn/s/blog_6cbd708301011yyb.html

Ubuntu System no sound solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.