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...