Solution for Ubuntu 12.04 without sound after root login

Source: Internet
Author: User

For the sake of security, the sound system is disabled by default for Ubuntu as the root user.
If you want to enable it easily, because pulseaudio is not started after root login. So start it first.
Add root to the pulse and pulse-access groups:
Sudo usermod-a-g pulse-access Root
Gpasswd-a root pulse
Gpasswd-a root pulse-Access
Then:
Edit the/etc/default/pulseaudio File

CP-P/etc/default/pulseaudio. Bak

Vim/etc/default/pulseaudio
Modify the following two items:
Pulseaudio_system_start = 1

Disallow_module_loading = 0

Change to 1 and 0, indicating that the system environment is allowed and the module can be dynamically loaded.
Restart the computer and the sound will come out.

 

After the problem is solved, you can use root to log on after restarting, and the wireless network will not be connected. The solution is to disconnect the wireless network and reconnect it once, I can solve this problem. If not, try again...

Related Article

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.