Ubuntu root logon and sound problems
1. sudo su root, and then enter the password
2. gedit/etc/lightdm. conf (you can back up it in advance ).
[Seatdefaults]
// Add ubuntu14.04 for Automatic Root Login
# Autologin-Guest = true
Autologin-user = root
Autologin-user-Timeout = 2
Autologin-session = lightdm-autologin
// Add Automatic Root Login
Greeter-session = unity-greeter
User-session = Ubuntu
Greeter-show-manual-login = true # manually enter the user name and password for logging on to the system
Allow-Guest = false # logon from guest is not allowed
Questions about sound failure
1. gedit/etc/profile
Then addPulseaudio -- start -- log-target = Syslog
2. Other Methods
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.