The GUI for setting root User Logon in Ubuntu 13.04 is similar to that for using root in Ubuntu 12.10.
Related reading: Set the root user logon GUI in Ubuntu 12.10
First switch to the root user, sudo su root
1. First set a root password, passwd root
2. Back up Lighttpd.
Cp-p/etc/lightdm. conf/etc/lightdm. conf. bak
3. Edit lightdm. conf.
Gedit/etc/lightdm. conf
5. Add:
Greeter-show-manual-login = true
After modification:
[SeatDefaults]
Greeter-session = unity-greeter
User-session = ubuntu
Greeter-show-manual-login = true
Restart logon. You can enter root.
NOTE: If there is no sound after the root user logs on, check again as follows:
The root cause of this problem is that pulseaudio is not started after root logon.
Login as root, then:
Add root to the pulse-access group:
Usermod-a-G pulse-access root
Start pulseaudio
Pulseaudio -- start -- log-target = syslog
My lightdm. conf is as follows:
[SeatDefaults]
Autologin-guest = false # logon from guest is not allowed
Autologin-user = root # automatically log on as root
Autologin-user-timeout = 0
Autologin-session = lightdm-autologin
User-session = ubuntu
Greeter-session = unity-greeter
Greeter-show-manual-login = true # manually enter the user name and password for logging on to the system